List of all members.
Constructor & Destructor Documentation
| HippPolyline::HippPolyline |
( |
void |
|
) |
|
| HippPolyline::~HippPolyline |
( |
void |
|
) |
|
Member Function Documentation
| void HippPolyline::addPoint |
( |
wxPoint * |
p |
) |
|
| void HippPolyline::addPoints |
( |
vector< wxPoint * > |
points |
) |
|
- Todo:
- Recode this so that points are stored in heaps to determine bounds
| bool HippPolyline::containsPoint |
( |
wxPoint |
p |
) |
const [virtual] |
| const wxRect & HippPolyline::getBounds |
( |
|
) |
const [virtual] |
| vector<wxPoint *> hipp::HippPolyline::getPoints |
( |
|
) |
[inline] |
| ShapeType hipp::HippPolyline::getShapeType |
( |
|
) |
[inline, virtual] |
| void hipp::HippPolyline::LoadObject |
( |
const xercesc::Attributes & |
attrs, |
|
|
const XMLCh *const |
localname = XMLString::transcode("polyline") | |
|
) |
| | [virtual] |
Loads the shape from a set of SVG attributes and the SVG tag name, provided by Xerces-C.
Hipp uses a Xerces-C SAX2 XML parser to traverse a .svg input file. When a known shape is encountered, LoadObject is called with the attributes that are found. The HippShape implementation checks for <title> and <desc> tags, which are universally available to shapes. This function should be overridden in derived classes to load the appropriate object.
Reimplemented from hipp::HippShape.
| void HippPolyline::move |
( |
int |
diffX, |
|
|
int |
diffY | |
|
) |
| | [virtual] |
| void HippPolyline::OnDraw |
( |
Cairo::RefPtr< Cairo::Context > |
context, |
|
|
bool |
isHaptic = true | |
|
) |
| | const [virtual] |
| bool HippPolyline::pointInPolygon |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | const |
| ostream & HippPolyline::SaveObject |
( |
ostream & |
stream |
) |
|
| void HippPolyline::simplify |
( |
|
) |
|
| void HippPolyline::zoom |
( |
double |
scaleX, |
|
|
double |
scaleY | |
|
) |
| | [virtual] |
The documentation for this class was generated from the following files: