[cairo] reference counting vs garbage collection
Keith Packard
keithp at keithp.com
Mon Jan 3 13:55:08 PST 2005
Around 15 o'clock on Jan 3, =?UTF-8?B?S3Jpc3RpYW4gSMO4Z3NiZXJn?= wrote:
> Also, I don't think its a good idea to "overload" show_page in this way -
> show_page should introduce a new blank page in a paginated backend and be a
> no-op for single-page media.
As we can't re-write the page image, we really have to know when the page
is complete. So, the semantics for single-page static media (like PNG
files) appears to resemble the multi-page static media (like PS or PDF) in
that an end-of-drawing indication is required. Having the back-end
implicitly call 'copy_page' if the application hasn't already done so
seems like a reasonable way to define how the close operation works, even
if we don't expect applications to call copy_page on their own.
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050103/a4ef561d/attachment.pgp
More information about the cairo
mailing list