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:
[legend]

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

SdrPathObjmrSdrPathObject
 
XPolyPolygon aPathPolygon
 
SdrObjKind const meObjectKind
 
std::unique_ptr< ImpSdrPathDragDatampSdrPathDragData
 
bool mbCreating
 

Detailed Description

Definition at line 494 of file svdopath.cxx.

Constructor & Destructor Documentation

ImpPathForDragAndCreate::ImpPathForDragAndCreate ( SdrPathObj rSdrPathObject)
explicit

Definition at line 533 of file svdopath.cxx.

Member Function Documentation

bool ImpPathForDragAndCreate::BckCreate ( SdrDragStat const &  rStat)
void ImpPathForDragAndCreate::BegCreate ( SdrDragStat rStat)
bool ImpPathForDragAndCreate::beginPathDrag ( SdrDragStat const &  rDrag) const
void ImpPathForDragAndCreate::BrkCreate ( SdrDragStat rStat)

Definition at line 1511 of file svdopath.cxx.

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

Referenced by SdrPathObj::BrkCreate().

bool ImpPathForDragAndCreate::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 
)
bool ImpPathForDragAndCreate::endPathDrag ( SdrDragStat const &  rDrag)
PointerStyle ImpPathForDragAndCreate::GetCreatePointer ( ) const
basegfx::B2DPolyPolygon ImpPathForDragAndCreate::getModifiedPolyPolygon ( ) const
inline

Definition at line 530 of file svdopath.cxx.

References XPolyPolygon::getB2DPolyPolygon().

Referenced by SdrPathObj::applySpecialDrag().

OUString ImpPathForDragAndCreate::getSpecialDragComment ( const SdrDragStat rDrag) const
basegfx::B2DPolyPolygon ImpPathForDragAndCreate::getSpecialDragPoly ( const SdrDragStat rDrag) const
static bool ImpPathForDragAndCreate::IsBezier ( SdrObjKind  eKind)
inlinestatic

Definition at line 524 of file svdopath.cxx.

References OBJ_PATHFILL, and OBJ_PATHLINE.

Referenced by EndCreate(), and MovCreate().

static bool ImpPathForDragAndCreate::IsClosed ( SdrObjKind  eKind)
inlinestatic

Definition at line 522 of file svdopath.cxx.

References OBJ_FREEFILL, OBJ_PATHFILL, OBJ_PATHPOLY, OBJ_POLY, and OBJ_SPLNFILL.

Referenced by getSpecialDragComment().

bool ImpPathForDragAndCreate::IsCreating ( ) const
inline

Definition at line 525 of file svdopath.cxx.

References mbCreating.

static bool ImpPathForDragAndCreate::IsFreeHand ( SdrObjKind  eKind)
inlinestatic

Definition at line 523 of file svdopath.cxx.

References OBJ_FREEFILL, and OBJ_FREELINE.

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

bool ImpPathForDragAndCreate::MovCreate ( SdrDragStat rStat)
bool ImpPathForDragAndCreate::movePathDrag ( SdrDragStat rDrag) const
basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeDragPolyPolygon ( const SdrDragStat rDrag)
static
basegfx::B2DPolyPolygon ImpPathForDragAndCreate::TakeObjectPolyPolygon ( const SdrDragStat rDrag) const

Member Data Documentation

XPolyPolygon ImpPathForDragAndCreate::aPathPolygon
private
bool ImpPathForDragAndCreate::mbCreating
private

Definition at line 501 of file svdopath.cxx.

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

SdrObjKind const ImpPathForDragAndCreate::meObjectKind
private

Definition at line 498 of file svdopath.cxx.

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

std::unique_ptr<ImpSdrPathDragData> ImpPathForDragAndCreate::mpSdrPathDragData
private
SdrPathObj& ImpPathForDragAndCreate::mrSdrPathObject
private

Definition at line 496 of file svdopath.cxx.

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


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