[cairo] cairo_surface_*_user_data in language bindings

Daniel Keep daniel.keep.lists at gmail.com
Fri May 5 06:48:00 PDT 2006


Hi there.

I'm currently working on a D (http://www.digitalmars.com/d/) language
binding for cairo, and wanted to ask a question about the
get/set_user_data functions.

Basically: are these ever *required* for use of the api?  For example,
does one of the backends ask the programmer to place extra information
in a surface using these functions?

If the answer is "no", then I can cheat and just implement them using
hashes and boxes (which also means I don't have to worry about the GC) :)

Thanks,

	-- Daniel

-- 

v1sw5+8Yhw5ln4+5pr6OFma8u6+7Lw4Tm6+7l6+7D
a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP    http://hackerkey.com/



More information about the cairo mailing list