RigsofRods
Soft-body Physics Simulation
|
#include "WriteTextToTexture.h"
#include "Application.h"
#include <Overlay/OgreFont.h>
#include <OgreHardwarePixelBuffer.h>
#include <OgreMaterial.h>
#include <OgreTechnique.h>
#include <OgreTexture.h>
#include <OgreTextureManager.h>
#include <Overlay/OgreFontManager.h>
Go to the source code of this file.
Functions | |
void | SaveImage (TexturePtr TextureToSave, String filename) |
void | WriteToTexture (const String &str, TexturePtr destTexture, Ogre::Box destRectangle, Ogre::Font *Reffont, const ColourValue &color, int fontSize, int fontDPI, char justify, bool wordwrap) |
void SaveImage | ( | TexturePtr | TextureToSave, |
String | filename | ||
) |
Definition at line 36 of file WriteTextToTexture.cpp.
void WriteToTexture | ( | const String & | str, |
TexturePtr | destTexture, | ||
Ogre::Box | destRectangle, | ||
Ogre::Font * | Reffont, | ||
const ColourValue & | color, | ||
int | fontSize, | ||
int | fontDPI, | ||
char | justify, | ||
bool | wordwrap | ||
) |