#include <ddgtext.h>
Class diagram for ddgText:
Public Members | |||
ddgText (unsigned int x = 0, unsigned int y = 0, unsigned int w = 640, unsigned int h = 480) | |||
Create a text object at a given canvas location. | |||
bool | init (ddgContext *ctx) | ||
Initialize the font data. | |||
void | printf (char *str, ...) | ||
Store a string in the Text object. | |||
bool | draw ( ddgContext *ctx ) | ||
Render the string. | |||
bool | blend | ||
Blend texture with background. | |||
ddgColor4 | background | ||
Background color default black. |