Compute a hash for the font options object; this value will be useful when storing an object containing a #cairo_font_options_t in a hash table.

cairo_font_options_hash(options)

Arguments

options

[cairo_font_options_t *] a #cairo_font_options_t

Value

[unsigned long]

Details

Return value: the hash value for the font options object. The return value can be cast to a 32-bit type if a 32-bit hash value is needed.

Since: 1.0

C function prototype: unsigned long cairo_font_options_hash (const cairo_font_options_t *options)

See also