# OEDrawText¶

void OEDrawText(OEImageBase &image, const std::string &text,
const OEFont &font, double padding=5.0)


Draws the given text to the image respecting the font alignment.

text
The text that is going to be rendered into the given image.
font
The OEFont object that encapsulates properties that determine the display style of text.