[cairo] How to simulate a LineDDA of Windows GDI?

vdgame vdgame at 163.com
Sun Feb 12 17:51:59 PST 2006


How to simulate a LineDDA of Windows GDI?

The LineDDA function determines which pixels should be highlighted for a line defined by the specified starting and ending points.

The LineDDA function passes the coordinates for each point along the line, except for the line's ending point, to the application-defined callback function. In addition to passing the coordinates of a point, this function passes any existing application-defined data. 

The coordinates passed to the callback function match pixels on a video display only if the default transformations and mapping modes are used. 
 
thx!
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060213/44307528/attachment.html


More information about the cairo mailing list