How to get the width and Height of cairo surfaces who's backend is not Image
Vicky Tux <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAJosQWPwz-EDbsbCjiJkDkb+FjdY_oj2OmiOrF=S7QAcMf3o6w@mail.gmail.com> |
---------- Forwarded message ---------- From: Vicky Tux <[email protected]> Date: Thu, Dec 15, 2011 at 2:51 PM Subject: How to get the width and Height of cairo surfaces who's backend is not Image To: [email protected] Hi All, I'm a new user to cairo. I would like to know how to get the width and height of the cairo surface who's backend is not pixman(image surface). We can obviously pass the width,height or backend surface to target functions, but I feel it will reduce the readability. As per my cairo source understanding there is not such function to get width & height of non pixman surfaces. Was my question valid..? Thanks & Regards, Vicky. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo