[cairo] Antialiasing and round, bevelled widgets (was: Cairo developers conference call...)

Jon Smirl jonsmirl at gmail.com
Tue Oct 19 09:43:05 PDT 2004


On Tue, 19 Oct 2004 12:11:54 -0400, Carl Worth <cworth at cworth.org> wrote:
> Not unless I'm misunderstanding you. The 0.5 positioning just comes from
> the simple fact that the stroked path extends on both sides of the
> path. Therefore, to light up a single row of pixels, a path of width 1.0
> must be centered within those pixels[*]. But any particular pixel can be
> lit up in this fashion.

Given this logic, should the entire drawing grid be offset 0.5 pixels
with a global transform? Then a normal user wouldn't see this. Fonts
would need to be backed up 0.5 since they assume 0.0 is the top of the
pixel.


-- 
Jon Smirl
jonsmirl at gmail.com



More information about the cairo mailing list