#include <b2dbeziertools.hxx>

Public Member Functions | |
| B2DCubicBezierHelper (const B2DCubicBezier &rBase, sal_uInt32 nDivisions=9) | |
| double | getLength () const |
| double | distanceToRelative (double fDistance) const |
| double | relativeToDistance (double fRelative) const |
Private Attributes | |
| ::std::vector< double > | maLengthArray |
| sal_uInt32 | mnEdgeCount |
Definition at line 46 of file b2dbeziertools.hxx.
| basegfx::B2DCubicBezierHelper::B2DCubicBezierHelper | ( | const B2DCubicBezier & | rBase, | |
| sal_uInt32 | nDivisions = 9 | |||
| ) |
| double basegfx::B2DCubicBezierHelper::getLength | ( | ) | const [inline] |
Definition at line 55 of file b2dbeziertools.hxx.
References maLengthArray.
Referenced by basegfx::tools::applyLineDashing(), distanceToRelative(), and relativeToDistance().
| double basegfx::B2DCubicBezierHelper::distanceToRelative | ( | double | fDistance | ) | const |
Definition at line 96 of file b2dbeziertools.cxx.
References getLength(), maLengthArray, mnEdgeCount, and basegfx::fTools::moreOrEqual().
Referenced by basegfx::tools::applyLineDashing(), basegfx::tools::getPositionAbsolute(), and basegfx::tools::getSnippetAbsolute().
| double basegfx::B2DCubicBezierHelper::relativeToDistance | ( | double | fRelative | ) | const |
Definition at line 128 of file b2dbeziertools.cxx.
References getLength(), maLengthArray, mnEdgeCount, and basegfx::fTools::moreOrEqual().
::std::vector< double > basegfx::B2DCubicBezierHelper::maLengthArray [private] |
Definition at line 49 of file b2dbeziertools.hxx.
Referenced by B2DCubicBezierHelper(), distanceToRelative(), getLength(), and relativeToDistance().
sal_uInt32 basegfx::B2DCubicBezierHelper::mnEdgeCount [private] |
Definition at line 50 of file b2dbeziertools.hxx.
Referenced by B2DCubicBezierHelper(), distanceToRelative(), and relativeToDistance().
1.5.6