TextVisual Struct Reference
[Font and Text Services]

Inherits Visual.

Inherited by TextVisualImpl.

List of all members.

Public Methods

virtual void setText (const Char *msg)=0
virtual void setAlignment (int horiz, int vert)=0


Detailed Description

A custom Visual class specialized for text rendering.


Member Function Documentation

virtual void TextVisual::setAlignment int    horiz,
int    vert
[pure virtual]
 

Set the text alignment. The default alignment is LEFT and BOTTOM.

Parameters:
horiz  One of LEFT, CENTER, RIGHT.
vert  One of TOP, CENTER, BOTTOM.
Scripted as:
setAlignment(int, int)

virtual void TextVisual::setText const Char   msg [pure virtual]
 

Specify the text to be rendered by this visual.

Scripted as:
[w/o string] text


The documentation for this struct was generated from the following file:
  • Text/visual.h


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen