Method Cairo.Context()->text_path()
- Method
text_path
void
text_path(string
|zero
text
)- Description
Adds closed paths for text to the current path. The generated path if filled, achieves an effect similar to that of show_text().
Text conversion and positioning is done similar to show_text().
Like show_text(), After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for chaining multiple calls to to text_path() without having to set current point in between.
- Parameter
text
a string of text, or 0