Specialization of a path that only contains linear pieces. More...
#include <gfxPath.h>
Inheritance diagram for gfxFlattenedPath:
Collaboration diagram for gfxFlattenedPath:Public Member Functions | |
| virtual | ~gfxFlattenedPath () |
| gfxFloat | GetLength () |
| Returns calculated total length of path. | |
| gfxPoint | FindPoint (gfxPoint aOffset, gfxFloat *aAngle=0L) |
| Returns a point a certain distance along the path. | |
Protected Member Functions | |
| gfxFlattenedPath (cairo_path_t *aPath) | |
Friends | |
| class | gfxContext |
Specialization of a path that only contains linear pieces.
Can be created from the existing path of a gfxContext.
| gfxFlattenedPath::gfxFlattenedPath | ( | cairo_path_t * | aPath | ) | [protected] |
| virtual gfxFlattenedPath::~gfxFlattenedPath | ( | ) | [virtual] |
Returns a point a certain distance along the path.
Return is first or last point of the path if the requested length offset is outside the range for the path.
| aOffset | offset inpath parameter space (x=length, y=normal offset) | |
| aAngle | optional - output tangent |
| gfxFloat gfxFlattenedPath::GetLength | ( | ) |
Returns calculated total length of path.
friend class gfxContext [friend] |
Reimplemented from gfxPath.
1.7.1