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

XYMultiRasterText Class Reference

#include <xymrtext.h>

Inheritance diagram for XYMultiRasterText:

Inheritance graph
[legend]
Collaboration diagram for XYMultiRasterText:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYMultiRasterText (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)
 XYMultiRasterText (const char *text, XYCoordinate x, XYCoordinate y, xybool visible=xytrue)
 XYMultiRasterText (const char *text, long color, int size, Typeface font, Style style, Alignment alignment, Orientation orientation, xybool underline=xyfalse, xybool visible=xytrue)
 XYMultiRasterText (long color, int size, Typeface font, Style style, Alignment alignment, Orientation orientation, xybool underline=xyfalse, xybool visible=xytrue)
virtual void text (const char *s)
virtual char * text (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 Methods

virtual void splitText ()

Private Attributes

char ** _mtexts
int _ntexts

Constructor & Destructor Documentation

XYMultiRasterText::XYMultiRasterText 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 16 of file xymrtext.cpp.

References splitText().

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

Definition at line 35 of file xymrtext.cpp.

References splitText().

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

Definition at line 44 of file xymrtext.cpp.

References splitText().

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

Definition at line 61 of file xymrtext.cpp.


Member Function Documentation

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

Reimplemented from XYRasterText.

Definition at line 221 of file xymrtext.cpp.

References xyfalse.

Referenced by draw().

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

Reimplemented from XYRasterText.

Definition at line 113 of file xymrtext.cpp.

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

void XYMultiRasterText::draw void    [virtual]
 

Reimplemented from XYRasterText.

Definition at line 108 of file xymrtext.cpp.

void XYMultiRasterText::splitText   [private, virtual]
 

Definition at line 75 of file xymrtext.cpp.

References _mtexts, and _ntexts.

Referenced by text(), and XYMultiRasterText().

char * XYMultiRasterText::text void    const [virtual]
 

Reimplemented from XYText.

Definition at line 103 of file xymrtext.cpp.

References XYText::text().

void XYMultiRasterText::text const char *    s [virtual]
 

Reimplemented from XYText.

Definition at line 96 of file xymrtext.cpp.

References splitText(), and XYText::text().


Member Data Documentation

char** XYMultiRasterText::_mtexts [private]
 

Definition at line 81 of file xymrtext.h.

Referenced by draw(), and splitText().

int XYMultiRasterText::_ntexts [private]
 

Definition at line 82 of file xymrtext.h.

Referenced by draw(), and splitText().


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