LibreOffice Module svx (master) 1
|
#include <svdhdl.hxx>
Public Member Functions | |
SdrHdlColor (const Point &rRef, Color aCol, const Size &rSize, bool bLuminance) | |
virtual | ~SdrHdlColor () override |
bool | IsUseLuminance () const |
const Color & | GetColor () 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::OverlayObjectList & | getOverlayObjectList () const |
void | SetHdlList (SdrHdlList *pList) |
SdrHdlKind | GetKind () const |
void | Touch () |
const Point & | GetPos () const |
void | SetPos (const Point &rPnt) |
SdrPageView * | GetPageView () const |
void | SetPageView (SdrPageView *pNewPV) |
SdrObject * | GetObj () 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 |
Definition at line 255 of file svdhdl.hxx.
|
explicit |
Definition at line 1113 of file svdhdl.cxx.
References aMarkerColor, GetLuminance(), and IsUseLuminance().
|
overridevirtual |
Definition at line 1125 of file svdhdl.cxx.
|
overrideprivatevirtual |
Reimplemented from SdrHdl.
Definition at line 1129 of file svdhdl.cxx.
References aMarkerColor, SdrHdl::aPos, SdrMarkView::areMarkHandlesHidden(), CreateColorDropper(), SdrPageWindow::GetObjectContact(), SdrPageWindow::GetOverlayManager(), SdrPageView::GetPageWindow(), SdrPageWindow::GetPaintWindow(), SdrHdl::GetRidOfIAObject(), SdrPaintView::GetSdrPageView(), BitmapEx::GetSizePixel(), SdrHdlList::GetView(), Size::Height(), SdrHdl::insertNewlyCreatedOverlayObjectForSdrHdl(), SdrPaintWindow::OutputToWindow(), SdrPageView::PageWindowCount(), SdrHdl::pHdlList, Size::Width(), Point::X(), and Point::Y().
Definition at line 1176 of file svdhdl.cxx.
References aMarkerSize, COL_GRAY(), COL_LIGHTGRAY(), Color::GetBlue(), Color::GetGreen(), Color::GetRed(), Size::Height(), and Size::Width().
Referenced by CreateB2dIAObject().
|
inline |
Definition at line 282 of file svdhdl.hxx.
Referenced by SdrHdlGradient::FromIAOToItem().
Definition at line 1216 of file svdhdl.cxx.
References Color::GetLuminance().
Referenced by SdrHdlColor(), and SetColor().
|
inline |
Definition at line 280 of file svdhdl.hxx.
Referenced by SdrHdlColor(), and SetColor().
void SdrHdlColor::SetColor | ( | Color | aNew, |
bool | bCallLink = false |
||
) |
Definition at line 1223 of file svdhdl.cxx.
References aColorChangeHdl, aMarkerColor, Link< typename Arg, typename Ret >::Call(), GetLuminance(), IsUseLuminance(), and SdrHdl::Touch().
Referenced by SdrHdlGradient::FromIAOToItem().
|
inline |
Definition at line 287 of file svdhdl.hxx.
void SdrHdlColor::SetSize | ( | const Size & | rNew | ) |
Definition at line 1242 of file svdhdl.cxx.
References aMarkerSize, and SdrHdl::Touch().
|
private |
Definition at line 264 of file svdhdl.hxx.
Referenced by SetColor().
|
private |
Definition at line 261 of file svdhdl.hxx.
Referenced by CreateB2dIAObject(), SdrHdlColor(), and SetColor().
|
private |
Definition at line 258 of file svdhdl.hxx.
Referenced by CreateColorDropper(), and SetSize().
|
private |
Definition at line 267 of file svdhdl.hxx.