|
From: <pl...@pi...> - 2007-11-24 00:56:09
|
On Sat, 24 Nov 2007 01:24:09 +0100, Allin Cottrell <cot...@wf...> wrote: > On Fri, 23 Nov 2007, Allin Cottrell wrote: > >> On Thu, 22 Nov 2007, Ethan A Merritt wrote: > >> > Where did the magic number 20 come from? >> >> The cairo code seems to deal in units of 1/20 of a pixel... > > Found the source: > > gp_cairo.h: #define GP_CAIRO_SCALE 20 > > See also plot->oversampling_scale in gp_cairo.c. > > Allin Cottrell > So you should probalby be using the named const not a number. Nice work. Peter. |