Vuo
1.2.3
|
VuoImageText interface.
Functions | |
VuoRectangle | VuoImage_getTextRectangle (VuoText text, VuoFont font) |
Returns a rectangle (in points) that fully encloses the specified text when rendered with the specified font . | |
VuoImage | VuoImage_makeText (VuoText text, VuoFont font, float backingScaleFactor) |
Creates an image containing the specified text. | |
VuoRectangle VuoImage_getTextRectangle | ( | VuoText | text, |
VuoFont | font | ||
) |
Returns a rectangle (in points) that fully encloses the specified text
when rendered with the specified font
.
Depending on the font's design (e.g., if the font is monospace), the rectangle may be larger than the actual glyphs.