Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XYRasterText Class Reference

#include <xyrtext.h>

Inheritance diagram for XYRasterText:

Inheritance graph
[legend]
Collaboration diagram for XYRasterText:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TextSize { xytiny = 8, xysmall = 10, xystandard = 12, xylarge = 18 }

Public Methods

 XYRasterText (const char *text, XYCoordinate x, XYCoordinate y, long color, int size, Typeface font, Style style, Alignment alignment, Orientation orientation, xybool underline=xyfalse, xybool visible=xytrue)
 XYRasterText (const char *text, XYCoordinate x, XYCoordinate y, xybool visible=xytrue)
 XYRasterText (const char *text, long color, int size, Typeface font, Style style, Alignment alignment, Orientation orientation, xybool underline=xyfalse, xybool visible=xytrue)
 XYRasterText (long color, int size, Typeface font, Style style, Alignment alignment, Orientation orientation, xybool underline=xyfalse, xybool visible=xytrue)
virtual ~XYRasterText (void)
virtual void size (int s)
virtual int size (void) const
virtual void draw (void)
virtual void draw (int xmin, int ymin, int xmax, int ymax) const
virtual void boundingBox (int &bxmin, int &bymin, int &bxmax, int &bymax) const

Private Attributes

int _size

Member Enumeration Documentation

enum XYRasterText::TextSize
 

Enumeration values:
xytiny 
xysmall 
xystandard 
xylarge 

Definition at line 19 of file xyrtext.h.


Constructor & Destructor Documentation

XYRasterText::XYRasterText const char *    text,
XYCoordinate    x,
XYCoordinate    y,
long    color,
int    size,
Typeface    font,
Style    style,
Alignment    alignment,
Orientation    orientation,
xybool    underline = xyfalse,
xybool    visible = xytrue
 

Definition at line 15 of file xyrtext.cpp.

XYRasterText::XYRasterText const char *    text,
XYCoordinate    x,
XYCoordinate    y,
xybool    visible = xytrue
 

Definition at line 32 of file xyrtext.cpp.

XYRasterText::XYRasterText const char *    text,
long    color,
int    size,
Typeface    font,
Style    style,
Alignment    alignment,
Orientation    orientation,
xybool    underline = xyfalse,
xybool    visible = xytrue
 

Definition at line 41 of file xyrtext.cpp.

XYRasterText::XYRasterText long    color,
int    size,
Typeface    font,
Style    style,
Alignment    alignment,
Orientation    orientation,
xybool    underline = xyfalse,
xybool    visible = xytrue
 

Definition at line 56 of file xyrtext.cpp.

XYRasterText::~XYRasterText void    [virtual]
 

Definition at line 70 of file xyrtext.cpp.


Member Function Documentation

void XYRasterText::boundingBox int &    bxmin,
int &    bymin,
int &    bxmax,
int &    bymax
const [virtual]
 

Implements XYText.

Reimplemented in XYMultiRasterText.

Definition at line 302 of file xyrtext.cpp.

References xyfalse.

Referenced by draw().

void XYRasterText::draw int    xmin,
int    ymin,
int    xmax,
int    ymax
const [virtual]
 

Implements XYText.

Reimplemented in XYMultiRasterText.

Definition at line 112 of file xyrtext.cpp.

References XYText::align(), boundingBox(), cdActiveCanvas(), XYText::color(), XYText::font(), XYText::horizontal, XYText::orientation(), XYObject::position(), size(), XYText::style(), XYText::text(), XYText::underline(), XYText::vertBotTop, XYText::vertTopBot, XYObject::visible(), and xyfalse.

void XYRasterText::draw void    [virtual]
 

Implements XYText.

Reimplemented in XYMultiRasterText.

Definition at line 107 of file xyrtext.cpp.

int XYRasterText::size void    const [virtual]
 

Definition at line 84 of file xyrtext.cpp.

References _size.

Referenced by draw(), and XYMultiRasterText::draw().

void XYRasterText::size int    s [virtual]
 

Definition at line 79 of file xyrtext.cpp.

References _size.


Member Data Documentation

int XYRasterText::_size [private]
 

Definition at line 94 of file xyrtext.h.

Referenced by size().


The documentation for this class was generated from the following files:
XY
Tecgraf / PUC-Rio - Computer Graphics Technology Group