RigsofRods
Soft-body Physics Simulation
Functions
WriteTextToTexture.cpp File Reference
#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>
+ Include dependency graph for WriteTextToTexture.cpp:

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)
 

Function Documentation

◆ SaveImage()

void SaveImage ( TexturePtr  TextureToSave,
String  filename 
)

Definition at line 36 of file WriteTextToTexture.cpp.

◆ WriteToTexture()

void WriteToTexture ( const String &  str,
TexturePtr  destTexture,
Ogre::Box  destRectangle,
Ogre::Font *  Reffont,
const ColourValue &  color,
int  fontSize,
int  fontDPI,
char  justify,
bool  wordwrap 
)

Definition at line 52 of file WriteTextToTexture.cpp.

+ Here is the caller graph for this function: