|
SDL_ttf++
C++wrapperfortheSDL_ttflibrary.
|
Renders a font as blended. More...
#include <RenderModes.h>
Public Member Functions | |
| Blended (const Color &color) | |
| Surface | render (const Font &font, char c) const |
| template<int Encoding> | |
| Surface | render (const Font &font, const string &text) const |
Renders a font as blended.
Definition at line 173 of file RenderModes.h.
| sdl::ttf::Blended::Blended | ( | const Color & | color | ) | [inline] |
Constructs a Blended font renderer with the specified color mask.
| color | The color mask for the Font. |
Definition at line 179 of file RenderModes.h.
| Surface sdl::ttf::Blended::render | ( | const Font & | font, |
| char | c | ||
| ) | const [inline] |
Returns a Surface containing c rendered in font.
| font | The Font to use. |
| c | The character to render. |
Definition at line 189 of file RenderModes.h.
| Surface sdl::ttf::Blended::render< UNICODE > | ( | const Font & | font, |
| const string & | text | ||
| ) | const [inline] |
Returns a Surface containg text rendered in font.
| Encoding | The string encoding. |
| font | The font to use. |
| text | The string to render. |
Definition at line 204 of file RenderModes.h.