[cairo] size of canvas

Behdad Esfahbod behdad at behdad.org
Tue Jul 24 10:29:07 PDT 2007


On Tue, 2007-07-24 at 10:23 -0400, Tamas K Papp wrote:
> Given a context (or a surface), is it possible to find its size?  Eg
> if I created a pdf surface of size width x height, and a context on
> it, could I recover its size solely from the context?

Not currently, no.

> Thanks,
> 
> Tamas

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list