LibreOffice Module basegfx (master) 1
Public Member Functions | Private Attributes | List of all members
basegfx::B2DCubicBezierHelper Class Reference

#include <b2dbeziertools.hxx>

Public Member Functions

 B2DCubicBezierHelper (const B2DCubicBezier &rBase, sal_uInt32 nDivisions=9)
 
double getLength () const
 
double distanceToRelative (double fDistance) const
 

Private Attributes

::std::vector< double > maLengthArray
 
sal_uInt32 mnEdgeCount
 

Detailed Description

Definition at line 37 of file b2dbeziertools.hxx.

Constructor & Destructor Documentation

◆ B2DCubicBezierHelper()

basegfx::B2DCubicBezierHelper::B2DCubicBezierHelper ( const B2DCubicBezier rBase,
sal_uInt32  nDivisions = 9 
)
explicit

Member Function Documentation

◆ distanceToRelative()

double basegfx::B2DCubicBezierHelper::distanceToRelative ( double  fDistance) const

◆ getLength()

double basegfx::B2DCubicBezierHelper::getLength ( ) const
inline

Definition at line 46 of file b2dbeziertools.hxx.

Referenced by basegfx::utils::applyLineDashing(), and distanceToRelative().

Member Data Documentation

◆ maLengthArray

::std::vector< double > basegfx::B2DCubicBezierHelper::maLengthArray
private

Definition at line 40 of file b2dbeziertools.hxx.

Referenced by B2DCubicBezierHelper(), and distanceToRelative().

◆ mnEdgeCount

sal_uInt32 basegfx::B2DCubicBezierHelper::mnEdgeCount
private

Definition at line 41 of file b2dbeziertools.hxx.

Referenced by B2DCubicBezierHelper(), and distanceToRelative().


The documentation for this class was generated from the following files: