Package: cairo
Function cairo-glyph-allocate
Lambda Listcairo-glyph-allocate (num) ArgumentsReturn Value The newly allocated array of cairo-glyph-t glyphs that should be freed using the cairo-glyph-free function. Details Allocates an array of cairo-glyph-t instances.
This function is only useful in implementations of cairo-user-scaled-font-text-to-glyphs-func-t where the user needs to
allocate an array of glyphs that cairo will free. For all other uses, user
can use their own allocation method for glyphs. This function returns NULL if num is not positive, or if out of memory. That means, the NULL return value signals out-of-memory only if num was positive. | See also |
2021-12-12