#include <Spot.H>
Public Member Functions | |
Spot (Word *word=NULL, CoordinateFrame frame=CoordinateFrame(), double width=0) | |
Spot (const Spot &spot) | |
virtual | ~Spot () |
void | makeEmpty () |
void | placeWord (Word *word) |
Word * | getWord () |
void | setFrame (CoordinateFrame &frame) |
Move this spot to this location. | |
void | setCoordinateFrame (CoordinateFrame &frame) |
CoordinateFrame | getCoordinateFrame () |
bool | isEmpty () |
void | updateWidth () |
Get the width from the current _word. | |
double | getWidth () |
bool | willFit (double widthNeeded) |
Protected Attributes | |
Word * | _word |
CoordinateFrame | _frame |
double | _width |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Put this word in this spot. Update this spot's width with the width of the new word |
|
|
|
Move this spot to this location.
|
|
Get the width from the current _word.
|
|
|
|
|
|
|
|
|