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

#include <svdhdl.hxx>

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

Public Member Functions

 SdrHdlGradient (const Point &rRef1, const Point &rRef2, bool bGrad)
 
virtual ~SdrHdlGradient () override
 
bool IsGradient () const
 
void SetColorHandles (SdrHdlColor *pL1, SdrHdlColor *pL2)
 
SdrHdlColorGetColorHdl1 () const
 
SdrHdlColorGetColorHdl2 () const
 
const PointGet2ndPos () const
 
void Set2ndPos (const Point &rPnt)
 
 DECL_LINK (ColorChangeHdl, SdrHdlColor *, void)
 
void FromIAOToItem (SdrObject *pObj, bool bSetItemOnObject, bool bUndo)
 
bool IsMoveSingleHandle () const
 
void SetMoveSingleHandle (bool bNew)
 
bool IsMoveFirstHandle () const
 
void SetMoveFirstHandle (bool bNew)
 
- 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

SdrHdlColorpColHdl1
 
SdrHdlColorpColHdl2
 
Point a2ndPos
 
bool bGradient: 1
 
bool bMoveSingleHandle: 1
 
bool bMoveFirstHandle: 1
 

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 291 of file svdhdl.hxx.

Constructor & Destructor Documentation

◆ SdrHdlGradient()

SdrHdlGradient::SdrHdlGradient ( const Point rRef1,
const Point rRef2,
bool  bGrad 
)

Definition at line 1254 of file svdhdl.cxx.

References Transparence.

◆ ~SdrHdlGradient()

SdrHdlGradient::~SdrHdlGradient ( )
overridevirtual

Definition at line 1265 of file svdhdl.cxx.

Member Function Documentation

◆ CreateB2dIAObject()

void SdrHdlGradient::CreateB2dIAObject ( )
overrideprivatevirtual

◆ DECL_LINK()

SdrHdlGradient::DECL_LINK ( ColorChangeHdl  ,
SdrHdlColor ,
void   
)

◆ FromIAOToItem()

void SdrHdlGradient::FromIAOToItem ( SdrObject pObj,
bool  bSetItemOnObject,
bool  bUndo 
)

◆ Get2ndPos()

const Point & SdrHdlGradient::Get2ndPos ( ) const
inline

Definition at line 322 of file svdhdl.hxx.

References a2ndPos.

Referenced by SdrDragGradient::BeginSdrDrag(), SdrDragGradient::EndSdrDrag(), and FromIAOToItem().

◆ GetColorHdl1()

SdrHdlColor * SdrHdlGradient::GetColorHdl1 ( ) const
inline

◆ GetColorHdl2()

SdrHdlColor * SdrHdlGradient::GetColorHdl2 ( ) const
inline

◆ IsGradient()

bool SdrHdlGradient::IsGradient ( ) const
inline

Definition at line 315 of file svdhdl.hxx.

References bGradient.

Referenced by CreateB2dIAObject(), and FromIAOToItem().

◆ IsMoveFirstHandle()

bool SdrHdlGradient::IsMoveFirstHandle ( ) const
inline

Definition at line 334 of file svdhdl.hxx.

References bMoveFirstHandle.

Referenced by SdrDragGradient::MoveSdrDrag().

◆ IsMoveSingleHandle()

bool SdrHdlGradient::IsMoveSingleHandle ( ) const
inline

Definition at line 332 of file svdhdl.hxx.

References bMoveSingleHandle.

Referenced by SdrDragGradient::MoveSdrDrag().

◆ Set2ndPos()

void SdrHdlGradient::Set2ndPos ( const Point rPnt)

◆ SetColorHandles()

void SdrHdlGradient::SetColorHandles ( SdrHdlColor pL1,
SdrHdlColor pL2 
)
inline

Definition at line 318 of file svdhdl.hxx.

References pColHdl1, and pColHdl2.

◆ SetMoveFirstHandle()

void SdrHdlGradient::SetMoveFirstHandle ( bool  bNew)
inline

Definition at line 335 of file svdhdl.hxx.

References bMoveFirstHandle.

Referenced by SdrDragGradient::BeginSdrDrag().

◆ SetMoveSingleHandle()

void SdrHdlGradient::SetMoveSingleHandle ( bool  bNew)
inline

Definition at line 333 of file svdhdl.hxx.

References bMoveSingleHandle.

Referenced by SdrDragGradient::BeginSdrDrag().

Member Data Documentation

◆ a2ndPos

Point SdrHdlGradient::a2ndPos
private

Definition at line 299 of file svdhdl.hxx.

Referenced by CreateB2dIAObject(), Get2ndPos(), and Set2ndPos().

◆ bGradient

bool SdrHdlGradient::bGradient
private

Definition at line 302 of file svdhdl.hxx.

Referenced by IsGradient().

◆ bMoveFirstHandle

bool SdrHdlGradient::bMoveFirstHandle
private

Definition at line 306 of file svdhdl.hxx.

Referenced by FromIAOToItem(), IsMoveFirstHandle(), and SetMoveFirstHandle().

◆ bMoveSingleHandle

bool SdrHdlGradient::bMoveSingleHandle
private

Definition at line 305 of file svdhdl.hxx.

Referenced by FromIAOToItem(), IsMoveSingleHandle(), and SetMoveSingleHandle().

◆ pColHdl1

SdrHdlColor* SdrHdlGradient::pColHdl1
private

Definition at line 295 of file svdhdl.hxx.

Referenced by FromIAOToItem(), GetColorHdl1(), and SetColorHandles().

◆ pColHdl2

SdrHdlColor* SdrHdlGradient::pColHdl2
private

Definition at line 296 of file svdhdl.hxx.

Referenced by FromIAOToItem(), GetColorHdl2(), and SetColorHandles().


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