[cairo] UserFontFace vs FtFontFace management (cairomm)

Behdad Esfahbod behdad at behdad.org
Tue Dec 9 08:30:36 PST 2008


Murray Cumming wrote:
> On Mon, 2008-12-08 at 09:48 -0600, Jonathon Jongsma wrote:
>> If we stored the 
>> wrapper object in the user_data of the C object, we could actually
>> return the exactly same 
>> wrapper in this case.
> 
> Do all cairo types have *_set_user_data() functions, such as this?:
> http://www.cairographics.org/manual/cairo-scaled-font.html#cairo-scaled-font-set-user-data

They all do.

> Are they used for anything other than language bindings?

There are uses for them out of language bindings too, but the primary reason
they were added was language bindings.

behdad


More information about the cairo mailing list