KHTML
khtml::Path Class Reference
#include <Path.h>
Public Member Functions | |
| Path () | |
| Path (const Path &) | |
| ~Path () | |
| void | addArc (const FloatPoint &, float radius, float startAngle, float endAngle, bool anticlockwise) |
| void | addArcTo (const FloatPoint &, const FloatPoint &, float radius) |
| void | addBezierCurveTo (const FloatPoint &controlPoint1, const FloatPoint &controlPoint2, const FloatPoint &) |
| void | addEllipse (const FloatRect &) |
| void | addLineTo (const FloatPoint &) |
| void | addQuadCurveTo (const FloatPoint &controlPoint, const FloatPoint &point) |
| void | addRect (const FloatRect &) |
| void | apply (void *info, PathApplierFunction) const |
| FloatRect | boundingRect () const |
| void | clear () |
| void | closeSubpath () |
| bool | contains (const FloatPoint &, WindRule rule=RULE_NONZERO) const |
| DOM::DOMString | debugString () const |
| bool | isEmpty () const |
| float | length () |
| void | moveTo (const FloatPoint &) |
| float | normalAngleAtLength (float length, bool &ok) |
| Path & | operator= (const Path &) |
| PlatformPath * | platformPath () const |
| FloatPoint | pointAtLength (float length, bool &ok) |
| void | setWindingRule (WindRule rule) |
| void | transform (const AffineTransform &) |
| void | translate (const FloatSize &) |
| WindRule | windingRule () const |
Static Public Member Functions | |
| static Path | createCircle (const FloatPoint ¢er, float r) |
| static Path | createEllipse (const FloatPoint ¢er, float rx, float ry) |
| static Path | createLine (const FloatPoint &, const FloatPoint &) |
| static Path | createRectangle (const FloatRect &) |
| static Path | createRoundedRectangle (const FloatRect &, const FloatSize &roundingRadii) |
| static Path | createRoundedRectangle (const FloatRect &, const FloatSize &topLeftRadius, const FloatSize &topRightRadius, const FloatSize &bottomLeftRadius, const FloatSize &bottomRightRadius) |
Detailed Description
Constructor & Destructor Documentation
| khtml::Path::Path | ( | ) |
Definition at line 44 of file PathQt.cpp.
| Path::~Path | ( | ) |
Definition at line 49 of file PathQt.cpp.
| khtml::Path::Path | ( | const Path & | other | ) |
Definition at line 54 of file PathQt.cpp.
Member Function Documentation
| void khtml::Path::addArc | ( | const FloatPoint & | p, |
| float | radius, | ||
| float | startAngle, | ||
| float | endAngle, | ||
| bool | anticlockwise | ||
| ) |
Definition at line 125 of file PathQt.cpp.
| void khtml::Path::addArcTo | ( | const FloatPoint & | p1, |
| const FloatPoint & | p2, | ||
| float | radius | ||
| ) |
Definition at line 112 of file PathQt.cpp.
| void khtml::Path::addBezierCurveTo | ( | const FloatPoint & | controlPoint1, |
| const FloatPoint & | controlPoint2, | ||
| const FloatPoint & | p | ||
| ) |
Definition at line 107 of file PathQt.cpp.
| void khtml::Path::addEllipse | ( | const FloatRect & | r | ) |
Definition at line 174 of file PathQt.cpp.
| void khtml::Path::addLineTo | ( | const FloatPoint & | p | ) |
Definition at line 97 of file PathQt.cpp.
| void khtml::Path::addQuadCurveTo | ( | const FloatPoint & | controlPoint, |
| const FloatPoint & | point | ||
| ) |
Definition at line 102 of file PathQt.cpp.
| void khtml::Path::addRect | ( | const FloatRect & | r | ) |
Definition at line 169 of file PathQt.cpp.
| void khtml::Path::apply | ( | void * | info, |
| PathApplierFunction | function | ||
| ) | const |
Definition at line 224 of file PathQt.cpp.
| FloatRect khtml::Path::boundingRect | ( | ) | const |
Definition at line 87 of file PathQt.cpp.
| void khtml::Path::clear | ( | ) |
Definition at line 179 of file PathQt.cpp.
| void khtml::Path::closeSubpath | ( | ) |
Definition at line 119 of file PathQt.cpp.
| bool khtml::Path::contains | ( | const FloatPoint & | point, |
| WindRule | rule = RULE_NONZERO |
||
| ) | const |
Definition at line 69 of file PathQt.cpp.
| Path khtml::Path::createCircle | ( | const FloatPoint & | center, |
| float | r | ||
| ) | [static] |
| Path khtml::Path::createEllipse | ( | const FloatPoint & | center, |
| float | rx, | ||
| float | ry | ||
| ) | [static] |
| Path khtml::Path::createLine | ( | const FloatPoint & | start, |
| const FloatPoint & | end | ||
| ) | [static] |
| DOM::DOMString khtml::Path::debugString | ( | ) | const |
Definition at line 189 of file PathQt.cpp.
| bool khtml::Path::isEmpty | ( | ) | const |
Definition at line 184 of file PathQt.cpp.
| void khtml::Path::moveTo | ( | const FloatPoint & | point | ) |
Definition at line 92 of file PathQt.cpp.
| float khtml::Path::normalAngleAtLength | ( | float | length, |
| bool & | ok | ||
| ) |
Definition at line 59 of file PathQt.cpp.
| PlatformPath* khtml::Path::platformPath | ( | ) | const [inline] |
| FloatPoint khtml::Path::pointAtLength | ( | float | length, |
| bool & | ok | ||
| ) |
| void khtml::Path::transform | ( | const AffineTransform & | transform | ) |
Definition at line 266 of file PathQt.cpp.
| void khtml::Path::translate | ( | const FloatSize & | size | ) |
Definition at line 80 of file PathQt.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference