[cairo] Workaround to create_layout memory leak

Jeffrey Britton jeffb0098 at gmail.com
Wed Jan 11 12:46:39 PST 2012


I can create the layout just once and then use
layout.context_changed() when the context changes, like for a window resize.
This avoid the memory leak.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120111/e39b8c6f/attachment.htm>


More information about the cairo mailing list