RigsofRods
Soft-body Physics Simulation
Functions
WriteTextToTexture.h File Reference
#include "Application.h"
#include <OgreFont.h>
#include <Overlay/OgreFont.h>
+ Include dependency graph for WriteTextToTexture.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SaveImage (Ogre::TexturePtr TextureToSave, Ogre::String filename)
 Saves a texture to the disk. More...
 
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. More...
 

Detailed Description

Author
Copied from the ogre wiki: http://www.ogre3d.org/tikiwiki/tiki-index.php?page=HowTo%3A+Write+text+on+texture

Definition in file WriteTextToTexture.h.