CanvasOrthoText Class Reference
#include <canvasorthotext.h>
List of all members.
Detailed Description
- Author:
- James Fuller,,, <james>
Constructor & Destructor Documentation
CanvasOrthoText::CanvasOrthoText |
( |
QCanvas * |
canvas |
) |
|
Creator
- Parameters:
-
| canvas | Where the object is represented |
CanvasOrthoText::CanvasOrthoText |
( |
QString & |
t, |
|
|
QCanvas * |
canvas | |
|
) |
| | |
Creator with string
- Parameters:
-
| t | String to display |
| canvas | Where the object is represented |
CanvasOrthoText::CanvasOrthoText |
( |
QString & |
t, |
|
|
QFont |
font, |
|
|
QCanvas * |
canvas | |
|
) |
| | |
Constructor with string and font
- Parameters:
-
| t | String |
| font | Font |
| canvas | Where the object is represented |
CanvasOrthoText::~CanvasOrthoText |
( |
|
) |
|
Member Function Documentation
QRect CanvasOrthoText::boundingRect |
( |
|
) |
const [virtual] |
Determine the bounding rect of the strnig at that orientation
- Returns:
- QRect
void CanvasOrthoText::draw |
( |
QPainter & |
painter |
) |
[virtual] |
Draws the string onto the canvas
- Parameters:
-
int CanvasOrthoText::height |
( |
|
) |
|
Determine the height of the string at the orientation
- Returns:
- int
int CanvasOrthoText::rtti |
( |
void |
|
) |
const [virtual] |
Unique representation of class derived from ScheditItem
- Parameters:
-
- Returns:
- int
Reimplemented in ScheditAnnotate.
void CanvasOrthoText::setShadow |
( |
bool |
bFlag |
) |
|
Specifies if the string is to display a shadow
- Parameters:
-
void CanvasOrthoText::setupPainter |
( |
QPainter & |
painter |
) |
[virtual] |
Copies specified parameters from object to canvas
- Parameters:
-
void CanvasOrthoText::setVertical |
( |
bool |
bFlag |
) |
|
Specifies if the string to be displayed vertically
- Parameters:
-
bool CanvasOrthoText::shadow |
( |
void |
|
) |
|
Determines if the string is to show a shadow
- Parameters:
-
bool CanvasOrthoText::vertical |
( |
void |
|
) |
|
Determines if the string is to be displayed vertically
- Parameters:
-
- Returns:
- bool
int CanvasOrthoText::width |
( |
|
) |
|
Determine the width of the displayed string at the orientation
- Returns:
The documentation for this class was generated from the following files: