[cairo] set/get_user_data

Keith Packard keithp at keithp.com
Wed Jul 7 14:18:08 PDT 2004


Around 18 o'clock on Jul 7, =?iso-8859-1?q?Jost=20Boekemeier?= wrote:

> For example the background color used in traditional
> X11.  With the two functions you can attach the data
> to the cairo_t and retrieve it later to translate it
> into the appropriate cairo commands. 

With only one such storage location, you run into constant battles over 
who gets to store things there (the application, the toolkit, the 
third-party rendering library, etc.

Find another place to store your data; cairo isn't responsible for it.

-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/20040707/d7c8d240/attachment.pgp


More information about the cairo mailing list