[cairo] Regarding setting the origin of surface...

swati upadhyaya swatiupadhyaya at gmail.com
Tue Jan 3 10:34:58 PST 2012

I am using
*unsigned char *data*,

                                                         *int width*,
                                                         *int height*,
                                                         *int stride*);

to create the surface.... But I want to set the origin of this surface
to some coordinate(x ,y) and I am not able to do it. Its mentioned in
document that its start from top left.. But for my thing I have to set
this start of surface somewhere from the middle.

Please let me know how to do thi as I didnt find any thing to shift the origin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120104/7af8fe46/attachment.htm>

More information about the cairo mailing list