[cairo] Mac Tiger Core Image

Bill Spitzak spitzak at d2.com
Thu Mar 17 14:27:27 PST 2005



Carl Worth wrote:

>>We also need the ability to "adjust" the current transformation.
> 
> The user has full control over the transformation already. And the
> user can transform coordinates back and forth to see where the integer
> boundaries are in device space. So the user has all the information
> necessary in order to ask cairo to draw shapes that will align on
> device-pixel boundaries. I've written example code showing how this
> can be done (see cairo-demo/png/snapping.c).

You are right. I'm sorry, I completely spaced when writing that. We had 
even discussed this before and you convinced me that the program can do 
far better by just examining and replacing the CTM.



More information about the cairo mailing list