LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SdrDragDistort Class Reference

#include <svddrgm1.hxx>

Inheritance diagram for SdrDragDistort:
Collaboration diagram for SdrDragDistort:

Public Member Functions

 SdrDragDistort (SdrDragView &rNewView)
virtual OUString GetSdrDragComment () const override
virtual bool BeginSdrDrag () override
virtual void MoveSdrDrag (const Point &rPnt) override
virtual bool EndSdrDrag (bool bCopy) override
virtual PointerStyle GetSdrDragPointer () const override
virtual void applyCurrentTransformationToSdrObject (SdrObject &rTarget) override
virtual void applyCurrentTransformationToPolyPolygon (basegfx::B2DPolyPolygon &rTarget) override
- Public Member Functions inherited from SdrDragMethod
void resetSdrDragEntries ()
basegfx::B2DRange getCurrentRange () const
 SdrDragMethod (SdrDragView &rNewView)
virtual ~SdrDragMethod ()
void Show ()
void Hide ()
bool IsShiftPressed () const
void SetShiftPressed (bool bShiftPressed)
virtual void CancelSdrDrag ()
virtual void CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact)
void destroyOverlayGeometry ()
virtual basegfx::B2DHomMatrix getCurrentTransformation ()
bool getMoveOnly () const
bool getSolidDraggingActive () const

Protected Member Functions

virtual void createSdrDragEntries () override
- Protected Member Functions inherited from SdrDragMethod
void clearSdrDragEntries ()
void addSdrDragEntry (std::unique_ptr< SdrDragEntry > pNew)
virtual void createSdrDragEntryForSdrObject (const SdrObject &rOriginal)
void insertNewlyCreatedOverlayObjectForSdrDragMethod (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
SdrDragViewgetSdrDragView ()
const SdrDragViewgetSdrDragView () const
void setMoveOnly (bool bNew)
void setSolidDraggingActive (bool bNew)
void createSdrDragEntries_SolidDrag ()
void createSdrDragEntries_PolygonDrag ()
void createSdrDragEntries_PointDrag ()
void createSdrDragEntries_GlueDrag ()
OUString ImpGetDescriptionStr (const char *pStrCacheID) const
SdrHdlGetDragHdl () const
SdrHdlKind GetDragHdlKind () const
SdrDragStatDragStat ()
const SdrDragStatDragStat () const
PointRef1 () const
PointRef2 () const
const SdrHdlListGetHdlList () const
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
bool IsDragLimit ()
const tools::RectangleGetDragLimitRect ()
const SdrMarkListGetMarkedObjectList ()
Point GetSnapPos (const Point &rPt) const
SdrSnap SnapPos (Point &rPt) const
const tools::RectangleGetMarkedRect () const
SdrPageViewGetDragPV () const
SdrObjectGetDragObj () const
bool IsDraggingPoints () const
bool IsDraggingGluePoints () const
bool DoAddConnectorOverlays ()
drawinglayer::primitive2d::Primitive2DContainer AddConnectorOverlays ()

Private Member Functions

void MovAllPoints (basegfx::B2DPolyPolygon &rTarget)

Private Attributes

tools::Rectangle aMarkRect
XPolygon aDistortedRect
sal_uInt16 nPolyPt
bool bContortionAllowed
bool bNoContortionAllowed
bool bContortion

Detailed Description

Definition at line 187 of file svddrgm1.hxx.

Constructor & Destructor Documentation

SdrDragDistort::SdrDragDistort ( SdrDragView rNewView)

Definition at line 3382 of file svddrgmt.cxx.

Member Function Documentation

void SdrDragDistort::applyCurrentTransformationToPolyPolygon ( basegfx::B2DPolyPolygon rTarget)

Reimplemented from SdrDragMethod.

Definition at line 3521 of file svddrgmt.cxx.

References MovAllPoints().

void SdrDragDistort::applyCurrentTransformationToSdrObject ( SdrObject rTarget)
bool SdrDragDistort::BeginSdrDrag ( )
void SdrDragDistort::createSdrDragEntries ( )
bool SdrDragDistort::EndSdrDrag ( bool  bCopy)
OUString SdrDragDistort::GetSdrDragComment ( ) const
PointerStyle SdrDragDistort::GetSdrDragPointer ( ) const

Implements SdrDragMethod.

Definition at line 3506 of file svddrgmt.cxx.

void SdrDragDistort::MovAllPoints ( basegfx::B2DPolyPolygon rTarget)
void SdrDragDistort::MoveSdrDrag ( const Point rPnt)

Member Data Documentation

XPolygon SdrDragDistort::aDistortedRect
tools::Rectangle SdrDragDistort::aMarkRect
bool SdrDragDistort::bContortion
bool SdrDragDistort::bContortionAllowed

Definition at line 193 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragDistort::bNoContortionAllowed

Definition at line 194 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

sal_uInt16 SdrDragDistort::nPolyPt

Definition at line 192 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

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