[cairo] How to get the width and Height of cairo surfaces who's backend is not Image

Vicky Tux ssseintr2 at gmail.com
Fri Dec 16 00:42:36 PST 2011


---------- Forwarded message ----------
From: Vicky Tux <ssseintr2 at gmail.com>
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: cairo-request at cairographics.org


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111216/438ad5b7/attachment.htm>


More information about the cairo mailing list