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

#include <svdhdl.hxx>

Inheritance diagram for SdrCropViewHdl:
[legend]
Collaboration diagram for SdrCropViewHdl:
[legend]

Public Member Functions

 SdrCropViewHdl (basegfx::B2DHomMatrix aObjectTransform, Graphic aGraphic, double fCropLeft, double fCropTop, double fCropRight, double fCropBottom)
 
- Public Member Functions inherited from SdrHdl
 SdrHdl ()
 
 SdrHdl (const Point &rPnt, SdrHdlKind eNewKind)
 
virtual ~SdrHdl ()
 
const sdr::overlay::OverlayObjectListgetOverlayObjectList () const
 
void SetHdlList (SdrHdlList *pList)
 
SdrHdlKind GetKind () const
 
void Touch ()
 
const PointGetPos () const
 
void SetPos (const Point &rPnt)
 
SdrPageViewGetPageView () const
 
void SetPageView (SdrPageView *pNewPV)
 
SdrObjectGetObj () const
 
void SetObj (SdrObject *pNewObj)
 
bool IsSelected () const
 
void SetSelected (bool bJa=true)
 
void Set1PixMore (bool bJa=true)
 
void SetRotationAngle (Degree100 n)
 
bool IsCornerHdl () const
 
bool IsVertexHdl () const
 
void SetObjHdlNum (sal_uInt32 nNum)
 
sal_uInt32 GetObjHdlNum () const
 
void SetPolyNum (sal_uInt32 nNum)
 
sal_uInt32 GetPolyNum () const
 
void SetPointNum (sal_uInt32 nNum)
 
sal_uInt32 GetPointNum () const
 
void SetPlusHdl (bool bOn)
 
bool IsPlusHdl () const
 
void SetSourceHdlNum (sal_uInt32 nNum)
 
sal_uInt32 GetSourceHdlNum () const
 
virtual PointerStyle GetPointer () const
 
bool IsHdlHit (const Point &rPnt) const
 
virtual bool IsFocusHdl () const
 
void SetMoveOutside (bool bMoveOutside)
 
virtual void onMouseEnter (const MouseEvent &rMEvt)
 is called when the mouse enters the area of this handle. More...
 
virtual void onHelpRequest ()
 is called when help is requested for the area of this handle More...
 
virtual void onMouseLeave ()
 is called when the mouse leaves the area of this handle. More...
 

Private Member Functions

virtual void CreateB2dIAObject () override
 

Private Attributes

basegfx::B2DHomMatrix maObjectTransform
 
Graphic maGraphic
 
double mfCropLeft
 
double mfCropTop
 
double mfCropRight
 
double mfCropBottom
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrHdl
static BitmapEx createGluePointBitmap ()
 
- Protected Member Functions inherited from SdrHdl
virtual void CreateB2dIAObject ()
 
void GetRidOfIAObject ()
 
std::unique_ptr< sdr::overlay::OverlayObjectCreateOverlayObject (const basegfx::B2DPoint &rPos, BitmapColorIndex eColIndex, BitmapMarkerKind eKindOfMarker, Point aMoveOutsideOffset=Point())
 
void insertNewlyCreatedOverlayObjectForSdrHdl (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
 
- Static Protected Member Functions inherited from SdrHdl
static BitmapMarkerKind GetNextBigger (BitmapMarkerKind eKnd)
 
- Protected Attributes inherited from SdrHdl
SdrObjectpObj
 
SdrPageViewpPV
 
SdrHdlListpHdlList
 
sdr::overlay::OverlayObjectList maOverlayGroup
 
Point aPos
 
SdrHdlKind eKind
 
Degree100 nRotationAngle
 
sal_uInt32 nObjHdlNum
 
sal_uInt32 nPolyNum
 
sal_uInt32 nPPntNum
 
sal_uInt32 nSourceHdlNum
 
bool bSelect: 1
 
bool b1PixMore: 1
 
bool bPlusHdl: 1
 
bool mbMoveOutside
 

Detailed Description

Definition at line 508 of file svdhdl.hxx.

Constructor & Destructor Documentation

◆ SdrCropViewHdl()

SdrCropViewHdl::SdrCropViewHdl ( basegfx::B2DHomMatrix  aObjectTransform,
Graphic  aGraphic,
double  fCropLeft,
double  fCropTop,
double  fCropRight,
double  fCropBottom 
)

Definition at line 2466 of file svdhdl.cxx.

References maGraphic.

Member Function Documentation

◆ CreateB2dIAObject()

void SdrCropViewHdl::CreateB2dIAObject ( )
overrideprivatevirtual

Reimplemented from SdrHdl.

Definition at line 2503 of file svdhdl.cxx.

References basegfx::B2DPolyPolygon::append(), SdrMarkView::areMarkHandlesHidden(), basegfx::utils::createPolygonFromRect(), basegfx::B2DHomMatrix::decompose(), basegfx::Range2D< typename TYPE, typename TRAITS >::equal(), basegfx::Tuple2D< typename TYPE >::equalZero(), basegfx::fTools::equalZero(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), SvtOptionsDrawinglayer::getHilightColor(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), SdrPageWindow::GetObjectContact(), SdrPageWindow::GetOverlayManager(), SdrPageView::GetPageWindow(), SdrPageWindow::GetPaintWindow(), SdrHdl::GetRidOfIAObject(), SdrPaintView::GetSdrPageView(), SdrHdlList::GetView(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), SdrHdl::insertNewlyCreatedOverlayObjectForSdrHdl(), basegfx::Range2D< typename TYPE, typename TRAITS >::intersect(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), maGraphic, maObjectTransform, mfCropBottom, mfCropLeft, mfCropRight, mfCropTop, SdrPaintWindow::OutputToWindow(), SdrPageView::PageWindowCount(), SdrHdl::pHdlList, basegfx::B2DHomMatrix::scale(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), basegfx::B2DRange::transform(), basegfx::B2DPolygon::transform(), basegfx::B2DPolyPolygon::transform(), and basegfx::B2DHomMatrix::translate().

Member Data Documentation

◆ maGraphic

Graphic SdrCropViewHdl::maGraphic
private

Definition at line 512 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().

◆ maObjectTransform

basegfx::B2DHomMatrix SdrCropViewHdl::maObjectTransform
private

Definition at line 511 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().

◆ mfCropBottom

double SdrCropViewHdl::mfCropBottom
private

Definition at line 516 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().

◆ mfCropLeft

double SdrCropViewHdl::mfCropLeft
private

Definition at line 513 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().

◆ mfCropRight

double SdrCropViewHdl::mfCropRight
private

Definition at line 515 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().

◆ mfCropTop

double SdrCropViewHdl::mfCropTop
private

Definition at line 514 of file svdhdl.hxx.

Referenced by CreateB2dIAObject().


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