29#include <Overlay/OgreFont.h>
40void SaveImage(Ogre::TexturePtr TextureToSave, Ogre::String filename);
55void WriteToTexture(
const Ogre::String& str, Ogre::TexturePtr destTexture, Ogre::Box destRectangle, Ogre::Font* font,
const Ogre::ColourValue& color,
int fontSize = 15,
int fontDPI = 400,
char justify =
'l',
bool wordwrap =
true);
Central state/object manager and communications hub.
void SaveImage(Ogre::TexturePtr TextureToSave, Ogre::String filename)
Saves a texture to the disk.
void WriteToTexture(const Ogre::String &str, Ogre::TexturePtr destTexture, Ogre::Box destRectangle, Ogre::Font *font, const Ogre::ColourValue &color, int fontSize=15, int fontDPI=400, char justify='l', bool wordwrap=true)
Writes a string onto a texture.