[cairo] API request: obtain the trapezoids that are outsideofthe surface

Keith Packard keithp at keithp.com
Fri Aug 27 09:15:27 PDT 2004


Around 17 o'clock on Aug 27, Jost Boekemeier wrote:

> But it indeed calculates integers(!), so to compensate the loss of
> precision it must use some tricks which require knowledge about pixel
> positions. 

Tesselation of curves is necessarily specific to the pixel resolution of 
the output device if you want to improve the accuracy of the rendering on 
higher resolution devices.

Even tesselation of intersecting polygons involves the coordinate space 
available in the output device to represent the primitive polygons, in 
at least the X case, that coordinate space is represented as fractional 
pixel positions.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040827/df0f13ce/attachment.pgp


More information about the cairo mailing list