#include <textrenderer.h>
Used by the TextParticle, the Text and FlashText objects and the Preview in the color dialog.
Definition at line 32 of file textrenderer.h.
Static Public Member Functions | |
static void | renderText (gcn::Graphics *graphics, const std::string &text, int x, int y, gcn::Graphics::Alignment align, const gcn::Color &color, gcn::Font *font, bool outline=false, bool shadow=false, int alpha=255) |
Renders a specified text. |
static void TextRenderer::renderText | ( | gcn::Graphics * | graphics, | |
const std::string & | text, | |||
int | x, | |||
int | y, | |||
gcn::Graphics::Alignment | align, | |||
const gcn::Color & | color, | |||
gcn::Font * | font, | |||
bool | outline = false , |
|||
bool | shadow = false , |
|||
int | alpha = 255 | |||
) | [inline, static] |