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

#include <svdhdl.hxx>

Inheritance diagram for SdrHdlColor:
Collaboration diagram for SdrHdlColor:

Public Member Functions

 SdrHdlColor (const Point &rRef, Color aCol, const Size &rSize, bool bLuminance)
virtual ~SdrHdlColor () override
bool IsUseLuminance () const
const ColorGetColor () const
void SetColor (Color aNew, bool bCallLink=false)
void SetSize (const Size &rNew)
void SetColorChangeHdl (const Link< SdrHdlColor *, void > &rLink)
- 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 SVX_DLLPRIVATE void CreateB2dIAObject () override
SVX_DLLPRIVATE BitmapEx CreateColorDropper (Color aCol)

Static Private Member Functions

static SVX_DLLPRIVATE Color GetLuminance (const Color &rCol)

Private Attributes

Size aMarkerSize
Color aMarkerColor
Link< SdrHdlColor *, void > aColorChangeHdl
bool bUseLuminance: 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
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 255 of file svdhdl.hxx.

Constructor & Destructor Documentation

◆ SdrHdlColor()

SdrHdlColor::SdrHdlColor ( const Point rRef,
Color  aCol,
const Size rSize,
bool  bLuminance 

Definition at line 1113 of file svdhdl.cxx.

References aMarkerColor, GetLuminance(), and IsUseLuminance().

◆ ~SdrHdlColor()

SdrHdlColor::~SdrHdlColor ( )

Definition at line 1125 of file svdhdl.cxx.

Member Function Documentation

◆ CreateB2dIAObject()

void SdrHdlColor::CreateB2dIAObject ( )

◆ CreateColorDropper()

BitmapEx SdrHdlColor::CreateColorDropper ( Color  aCol)

◆ GetColor()

const Color & SdrHdlColor::GetColor ( ) const

Definition at line 282 of file svdhdl.hxx.

Referenced by SdrHdlGradient::FromIAOToItem().

◆ GetLuminance()

Color SdrHdlColor::GetLuminance ( const Color rCol)

Definition at line 1216 of file svdhdl.cxx.

References Color::GetLuminance().

Referenced by SdrHdlColor(), and SetColor().

◆ IsUseLuminance()

bool SdrHdlColor::IsUseLuminance ( ) const

Definition at line 280 of file svdhdl.hxx.

Referenced by SdrHdlColor(), and SetColor().

◆ SetColor()

void SdrHdlColor::SetColor ( Color  aNew,
bool  bCallLink = false 

◆ SetColorChangeHdl()

void SdrHdlColor::SetColorChangeHdl ( const Link< SdrHdlColor *, void > &  rLink)

Definition at line 287 of file svdhdl.hxx.

◆ SetSize()

void SdrHdlColor::SetSize ( const Size rNew)

Definition at line 1242 of file svdhdl.cxx.

References aMarkerSize, and SdrHdl::Touch().

Member Data Documentation

◆ aColorChangeHdl

Link<SdrHdlColor*,void> SdrHdlColor::aColorChangeHdl

Definition at line 264 of file svdhdl.hxx.

Referenced by SetColor().

◆ aMarkerColor

Color SdrHdlColor::aMarkerColor

Definition at line 261 of file svdhdl.hxx.

Referenced by CreateB2dIAObject(), SdrHdlColor(), and SetColor().

◆ aMarkerSize

Size SdrHdlColor::aMarkerSize

Definition at line 258 of file svdhdl.hxx.

Referenced by CreateColorDropper(), and SetSize().

◆ bUseLuminance

bool SdrHdlColor::bUseLuminance

Definition at line 267 of file svdhdl.hxx.

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