KHTML
WebCore::Path Class Reference
#include <Path.h>
Public Member Functions | |
| 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 |
| String | debugString () const |
| bool | isEmpty () const |
| float | length () |
| void | moveTo (const FloatPoint &) |
| float | normalAngleAtLength (float length, bool &ok) |
| Path & | operator= (const Path &) |
| Path (const Path &) | |
| 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 |
| ~Path () | |
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 &topLeftRadius, const FloatSize &topRightRadius, const FloatSize &bottomLeftRadius, const FloatSize &bottomRightRadius) |
| static Path | createRoundedRectangle (const FloatRect &, const FloatSize &roundingRadii) |
Detailed Description
Definition at line 83 of file Path.h.
Constructor & Destructor Documentation
| Path::Path | ( | ) |
Definition at line 44 of file PathQt.cpp.
| Path::~Path | ( | ) |
Definition at line 49 of file PathQt.cpp.
| Path::Path | ( | const Path & | other | ) |
Definition at line 54 of file PathQt.cpp.
Member Function Documentation
| void Path::addArc | ( | const FloatPoint & | p, | |
| float | radius, | |||
| float | startAngle, | |||
| float | endAngle, | |||
| bool | anticlockwise | |||
| ) |
Definition at line 125 of file PathQt.cpp.
| void Path::addArcTo | ( | const FloatPoint & | p1, | |
| const FloatPoint & | p2, | |||
| float | radius | |||
| ) |
Definition at line 112 of file PathQt.cpp.
| void Path::addBezierCurveTo | ( | const FloatPoint & | controlPoint1, | |
| const FloatPoint & | controlPoint2, | |||
| const FloatPoint & | p | |||
| ) |
Definition at line 107 of file PathQt.cpp.
| void Path::addEllipse | ( | const FloatRect & | r | ) |
Definition at line 174 of file PathQt.cpp.
| void Path::addLineTo | ( | const FloatPoint & | p | ) |
Definition at line 97 of file PathQt.cpp.
| void Path::addQuadCurveTo | ( | const FloatPoint & | controlPoint, | |
| const FloatPoint & | point | |||
| ) |
Definition at line 102 of file PathQt.cpp.
| void Path::addRect | ( | const FloatRect & | r | ) |
Definition at line 169 of file PathQt.cpp.
| void Path::apply | ( | void * | info, | |
| PathApplierFunction | function | |||
| ) | const |
Definition at line 224 of file PathQt.cpp.
| FloatRect Path::boundingRect | ( | ) | const |
Definition at line 87 of file PathQt.cpp.
| void Path::clear | ( | ) |
Definition at line 179 of file PathQt.cpp.
| void Path::closeSubpath | ( | ) |
Definition at line 119 of file PathQt.cpp.
| bool Path::contains | ( | const FloatPoint & | point, | |
| WindRule | rule = RULE_NONZERO | |||
| ) | const |
Definition at line 69 of file PathQt.cpp.
| Path Path::createCircle | ( | const FloatPoint & | center, | |
| float | r | |||
| ) | [static] |
| Path Path::createEllipse | ( | const FloatPoint & | center, | |
| float | rx, | |||
| float | ry | |||
| ) | [static] |
| Path Path::createLine | ( | const FloatPoint & | start, | |
| const FloatPoint & | end | |||
| ) | [static] |
| String Path::debugString | ( | ) | const |
Definition at line 189 of file PathQt.cpp.
| bool Path::isEmpty | ( | ) | const |
Definition at line 184 of file PathQt.cpp.
| void Path::moveTo | ( | const FloatPoint & | point | ) |
Definition at line 92 of file PathQt.cpp.
| float Path::normalAngleAtLength | ( | float | length, | |
| bool & | ok | |||
| ) |
Definition at line 59 of file PathQt.cpp.
| PlatformPath* WebCore::Path::platformPath | ( | ) | const [inline] |
| FloatPoint Path::pointAtLength | ( | float | length, | |
| bool & | ok | |||
| ) |
| void WebCore::Path::setWindingRule | ( | WindRule | rule | ) | [inline] |
| void Path::transform | ( | const AffineTransform & | transform | ) |
Definition at line 266 of file PathQt.cpp.
| void 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.2 API Reference