Method Cairo.Context()->show_glyphs()
- Method
show_glyphs
void
show_glyphs(array
(Glyph
|array
(int
|float
))glyphs
)- Description
A drawing operator that generates the shape from an array of glyphs, rendered according to the current font face, font size (font matrix), and font options.
- Parameter
glyphs
array of glyphs to show, with each glyph being represented either as a
Glypg
object or as an array of the following format:Array int
0
glyph index in the font. The exact interpretation of the glyph index depends on the font technology being used.
float
|int
1
the offset in the X direction between the origin used for drawing the string and the origin of this glyph
float
|int
2
the offset in the Y direction between the origin used for drawing the string and the origin of this glyph