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

#include <svddrgm1.hxx>

Inheritance diagram for SdrDragMirror:
Collaboration diagram for SdrDragMirror:

Public Member Functions

 SdrDragMirror (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 basegfx::B2DHomMatrix getCurrentTransformation () override
virtual void applyCurrentTransformationToSdrObject (SdrObject &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 void applyCurrentTransformationToPolyPolygon (basegfx::B2DPolyPolygon &rTarget)
bool getMoveOnly () const
bool getSolidDraggingActive () const

Private Member Functions

bool ImpCheckSide (const Point &rPnt) const

Private Attributes

Point aDif
tools::Long nAngle
bool bMirrored
bool bSide0

Additional Inherited Members

- Protected Member Functions inherited from SdrDragMethod
void clearSdrDragEntries ()
void addSdrDragEntry (std::unique_ptr< SdrDragEntry > pNew)
virtual void createSdrDragEntries ()
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 ()

Detailed Description

Definition at line 94 of file svddrgm1.hxx.

Constructor & Destructor Documentation

SdrDragMirror::SdrDragMirror ( SdrDragView rNewView)

Definition at line 2473 of file svddrgmt.cxx.

Member Function Documentation

void SdrDragMirror::applyCurrentTransformationToSdrObject ( SdrObject rTarget)

Reimplemented from SdrDragMethod.

Definition at line 2465 of file svddrgmt.cxx.

References bMirrored, SdrDragMethod::DragStat(), and SdrObject::Mirror().

bool SdrDragMirror::BeginSdrDrag ( )
bool SdrDragMirror::EndSdrDrag ( bool  bCopy)
basegfx::B2DHomMatrix SdrDragMirror::getCurrentTransformation ( )
OUString SdrDragMirror::GetSdrDragComment ( ) const
PointerStyle SdrDragMirror::GetSdrDragPointer ( ) const

Implements SdrDragMethod.

Definition at line 2589 of file svddrgmt.cxx.

bool SdrDragMirror::ImpCheckSide ( const Point rPnt) const

Definition at line 2481 of file svddrgmt.cxx.

References SdrDragMethod::DragStat(), GetAngle(), nAngle, and NormAngle36000().

Referenced by BeginSdrDrag(), and MoveSdrDrag().

void SdrDragMirror::MoveSdrDrag ( const Point rPnt)

Member Data Documentation

Point SdrDragMirror::aDif

Definition at line 97 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and GetSdrDragComment().

bool SdrDragMirror::bMirrored
bool SdrDragMirror::bSide0

Definition at line 100 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

tools::Long SdrDragMirror::nAngle

Definition at line 98 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and ImpCheckSide().

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