Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgText Class Reference

Text Overlay rendering object which can be used to render 2D lines of text onto the canvas. More...

#include <ddgtext.h>

Class diagram for ddgText:

ddgUIObj ddgNode

List of all members.


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.


Detailed Description

Text Overlay rendering object which can be used to render 2D lines of text onto the canvas.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:57 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999