set_funcs


Description:

[ Version ( since = "0.9.2" ) ]
public void set_funcs (owned FontFuncs klass)

Replaces the font-functions structure attached to a font, updating the font's user-data with font-data and the destroy callback.

Parameters:

klass

The font-functions structure.

destroy

The function to call when font_data is not needed anymore

font

Font to work upon

font_data

Data to attach to font