LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Attributes | List of all members
emfplushelper::EMFPPath Class Reference

#include <emfppath.hxx>

Inheritance diagram for emfplushelper::EMFPPath:
[legend]
Collaboration diagram for emfplushelper::EMFPPath:
[legend]

Public Member Functions

 EMFPPath (sal_uInt32 _nPoints, bool bLines=false)
 
virtual ~EMFPPath () override
 
void Read (SvStream &s, sal_uInt32 pathFlags)
 
::basegfx::B2DPolyPolygonGetPolygon (EmfPlusHelperData const &rR, bool bMapIt=true, bool bAddLineToCloseShape=false)
 
::basegfx::B2DPolyPolygonGetCardinalSpline (EmfPlusHelperData const &rR, float fTension, sal_uInt32 aOffset, sal_uInt32 aNumSegments)
 
::basegfx::B2DPolyPolygonGetClosedCardinalSpline (EmfPlusHelperData const &rR, float fTension)
 
- Public Member Functions inherited from emfplushelper::EMFPObject
virtual ~EMFPObject ()
 

Private Attributes

::basegfx::B2DPolyPolygon aPolygon
 
sal_uInt32 nPoints
 
std::deque< float > xPoints
 
std::deque< float > yPoints
 
std::unique_ptr< sal_uInt8[]> pPointTypes
 

Detailed Description

Definition at line 26 of file emfppath.hxx.

Constructor & Destructor Documentation

◆ EMFPPath()

emfplushelper::EMFPPath::EMFPPath ( sal_uInt32  _nPoints,
bool  bLines = false 
)

Definition at line 67 of file emfppath.cxx.

References nPoints, pPointTypes, and SAL_MAX_UINT32.

◆ ~EMFPPath()

emfplushelper::EMFPPath::~EMFPPath ( )
overridevirtual

Definition at line 80 of file emfppath.cxx.

Member Function Documentation

◆ GetCardinalSpline()

basegfx::B2DPolyPolygon & emfplushelper::EMFPPath::GetCardinalSpline ( EmfPlusHelperData const &  rR,
float  fTension,
sal_uInt32  aOffset,
sal_uInt32  aNumSegments 
)

◆ GetClosedCardinalSpline()

basegfx::B2DPolyPolygon & emfplushelper::EMFPPath::GetClosedCardinalSpline ( EmfPlusHelperData const &  rR,
float  fTension 
)

◆ GetPolygon()

basegfx::B2DPolyPolygon & emfplushelper::EMFPPath::GetPolygon ( EmfPlusHelperData const &  rR,
bool  bMapIt = true,
bool  bAddLineToCloseShape = false 
)

◆ Read()

void emfplushelper::EMFPPath::Read ( SvStream s,
sal_uInt32  pathFlags 
)

Member Data Documentation

◆ aPolygon

::basegfx::B2DPolyPolygon emfplushelper::EMFPPath::aPolygon
private

Definition at line 28 of file emfppath.hxx.

Referenced by GetCardinalSpline(), GetClosedCardinalSpline(), GetPolygon(), and Read().

◆ nPoints

sal_uInt32 emfplushelper::EMFPPath::nPoints
private

Definition at line 29 of file emfppath.hxx.

Referenced by EMFPPath(), GetCardinalSpline(), GetClosedCardinalSpline(), GetPolygon(), and Read().

◆ pPointTypes

std::unique_ptr<sal_uInt8[]> emfplushelper::EMFPPath::pPointTypes
private

Definition at line 31 of file emfppath.hxx.

Referenced by EMFPPath(), GetPolygon(), and Read().

◆ xPoints

std::deque<float> emfplushelper::EMFPPath::xPoints
private

Definition at line 30 of file emfppath.hxx.

Referenced by GetCardinalSpline(), GetClosedCardinalSpline(), GetPolygon(), and Read().

◆ yPoints

std::deque<float> emfplushelper::EMFPPath::yPoints
private

Definition at line 30 of file emfppath.hxx.

Referenced by GetCardinalSpline(), GetClosedCardinalSpline(), GetPolygon(), and Read().


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