LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ImpPathForDragAndCreate Class Reference
Collaboration diagram for ImpPathForDragAndCreate:

Public Member Functions

 ImpPathForDragAndCreate (SdrPathObj &rSdrPathObject)
bool beginPathDrag (SdrDragStat const &rDrag) const
bool movePathDrag (SdrDragStat &rDrag) const
bool endPathDrag (SdrDragStat const &rDrag)
OUString getSpecialDragComment (const SdrDragStat &rDrag) const
basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
void BegCreate (SdrDragStat &rStat)
bool MovCreate (SdrDragStat &rStat)
bool EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd)
bool BckCreate (SdrDragStat const &rStat)
void BrkCreate (SdrDragStat &rStat)
PointerStyle GetCreatePointer () const
bool IsCreating () const
basegfx::B2DPolyPolygon TakeObjectPolyPolygon (const SdrDragStat &rDrag) const
basegfx::B2DPolyPolygon getModifiedPolyPolygon () const

Static Public Member Functions

static bool IsClosed (SdrObjKind eKind)
static bool IsFreeHand (SdrObjKind eKind)
static bool IsBezier (SdrObjKind eKind)
static basegfx::B2DPolyPolygon TakeDragPolyPolygon (const SdrDragStat &rDrag)

Private Attributes

XPolyPolygon aPathPolygon
SdrObjKind meObjectKind
std::unique_ptr< ImpSdrPathDragData > mpSdrPathDragData
bool mbCreating

Detailed Description

Definition at line 497 of file svdopath.cxx.

Constructor & Destructor Documentation

◆ ImpPathForDragAndCreate()

ImpPathForDragAndCreate::ImpPathForDragAndCreate ( SdrPathObj rSdrPathObject)

Definition at line 536 of file svdopath.cxx.

Member Function Documentation

◆ BckCreate()

bool ImpPathForDragAndCreate::BckCreate ( SdrDragStat const &  rStat)

◆ BegCreate()

void ImpPathForDragAndCreate::BegCreate ( SdrDragStat rStat)

◆ beginPathDrag()

bool ImpPathForDragAndCreate::beginPathDrag ( SdrDragStat const &  rDrag) const

◆ BrkCreate()

void ImpPathForDragAndCreate::BrkCreate ( SdrDragStat rStat)

Definition at line 1513 of file svdopath.cxx.

References aPathPolygon, XPolyPolygon::Clear(), mbCreating, and SdrDragStat::SetUser().

Referenced by SdrPathObj::BrkCreate().

◆ EndCreate()

bool ImpPathForDragAndCreate::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 

◆ endPathDrag()

bool ImpPathForDragAndCreate::endPathDrag ( SdrDragStat const &  rDrag)

◆ GetCreatePointer()

PointerStyle ImpPathForDragAndCreate::GetCreatePointer ( ) const

◆ getModifiedPolyPolygon()

basegfx::B2DPolyPolygon ImpPathForDragAndCreate::getModifiedPolyPolygon ( ) const

Definition at line 533 of file svdopath.cxx.

References aPathPolygon, and XPolyPolygon::getB2DPolyPolygon().

Referenced by SdrPathObj::applySpecialDrag().

◆ getSpecialDragComment()

OUString ImpPathForDragAndCreate::getSpecialDragComment ( const SdrDragStat rDrag) const

◆ getSpecialDragPoly()

basegfx::B2DPolyPolygon ImpPathForDragAndCreate::getSpecialDragPoly ( const SdrDragStat rDrag) const

◆ IsBezier()

static bool ImpPathForDragAndCreate::IsBezier ( SdrObjKind  eKind)

Definition at line 527 of file svdopath.cxx.

References PathFill, and PathLine.

Referenced by EndCreate(), and MovCreate().

◆ IsClosed()

static bool ImpPathForDragAndCreate::IsClosed ( SdrObjKind  eKind)

Definition at line 525 of file svdopath.cxx.

References FreehandFill, PathFill, PathPoly, and Polygon.

Referenced by getSpecialDragComment().

◆ IsCreating()

bool ImpPathForDragAndCreate::IsCreating ( ) const

Definition at line 528 of file svdopath.cxx.

References mbCreating.

◆ IsFreeHand()

static bool ImpPathForDragAndCreate::IsFreeHand ( SdrObjKind  eKind)

Definition at line 526 of file svdopath.cxx.

References FreehandFill, and FreehandLine.

Referenced by BegCreate(), EndCreate(), getSpecialDragComment(), and MovCreate().

◆ MovCreate()

bool ImpPathForDragAndCreate::MovCreate ( SdrDragStat rStat)

◆ movePathDrag()

bool ImpPathForDragAndCreate::movePathDrag ( SdrDragStat rDrag) const

◆ TakeDragPolyPolygon()

basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeDragPolyPolygon ( const SdrDragStat rDrag)

◆ TakeObjectPolyPolygon()

basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeObjectPolyPolygon ( const SdrDragStat rDrag) const

Member Data Documentation

◆ aPathPolygon

XPolyPolygon ImpPathForDragAndCreate::aPathPolygon

◆ mbCreating

bool ImpPathForDragAndCreate::mbCreating

Definition at line 504 of file svdopath.cxx.

Referenced by BegCreate(), BrkCreate(), EndCreate(), and IsCreating().

◆ meObjectKind

SdrObjKind ImpPathForDragAndCreate::meObjectKind

Definition at line 501 of file svdopath.cxx.

Referenced by BegCreate(), endPathDrag(), GetCreatePointer(), and getSpecialDragComment().

◆ mpSdrPathDragData

std::unique_ptr<ImpSdrPathDragData> ImpPathForDragAndCreate::mpSdrPathDragData

◆ mrSdrPathObject

SdrPathObj& ImpPathForDragAndCreate::mrSdrPathObject

Definition at line 499 of file svdopath.cxx.

Referenced by beginPathDrag(), endPathDrag(), getSpecialDragComment(), and movePathDrag().

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