LibreOffice Module drawinglayer (master) 1
|
DiscreteShadow data class. More...
#include <discreteshadowprimitive2d.hxx>
Public Member Functions | |
DiscreteShadow (const BitmapEx &rBitmapEx) | |
constructor More... | |
const BitmapEx & | getBitmapEx () const |
data read access More... | |
bool | operator== (const DiscreteShadow &rCompare) const |
compare operator More... | |
const BitmapEx & | getTopLeft () const |
helper accesses which create on-demand needed segments More... | |
const BitmapEx & | getTop () const |
const BitmapEx & | getTopRight () const |
const BitmapEx & | getRight () const |
const BitmapEx & | getBottomRight () const |
const BitmapEx & | getBottom () const |
const BitmapEx & | getBottomLeft () const |
const BitmapEx & | getLeft () const |
Private Attributes | |
BitmapEx | maBitmapEx |
the original shadow BitmapEx in a special form More... | |
BitmapEx | maTopLeft |
buffered extracted parts of CombinedShadow for easier usage More... | |
BitmapEx | maTop |
BitmapEx | maTopRight |
BitmapEx | maRight |
BitmapEx | maBottomRight |
BitmapEx | maBottom |
BitmapEx | maBottomLeft |
BitmapEx | maLeft |
DiscreteShadow data class.
Definition at line 36 of file discreteshadowprimitive2d.hxx.
|
explicit |
constructor
Definition at line 32 of file discreteshadowprimitive2d.cxx.
References getBitmapEx(), BitmapEx::GetSizePixel(), Size::Height(), BitmapEx::Invert(), maBitmapEx, and Size::Width().
|
inline |
data read access
Definition at line 57 of file discreteshadowprimitive2d.hxx.
Referenced by DiscreteShadow(), getBottom(), getBottomLeft(), getBottomRight(), getLeft(), getRight(), getTop(), getTopLeft(), getTopRight(), and operator==().
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottom | ( | ) | const |
Definition at line 110 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maBottom, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottomLeft | ( | ) | const |
Definition at line 123 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maBottomLeft, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottomRight | ( | ) | const |
Definition at line 97 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maBottomRight, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getLeft | ( | ) | const |
Definition at line 136 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maLeft, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getRight | ( | ) | const |
Definition at line 84 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maRight, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getTop | ( | ) | const |
Definition at line 58 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maTop, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getTopLeft | ( | ) | const |
helper accesses which create on-demand needed segments
Definition at line 45 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maTopLeft, and Width.
const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getTopRight | ( | ) | const |
Definition at line 71 of file discreteshadowprimitive2d.cxx.
References BitmapEx::Crop(), getBitmapEx(), BitmapEx::IsEmpty(), maTopRight, and Width.
|
inline |
compare operator
Definition at line 60 of file discreteshadowprimitive2d.hxx.
References getBitmapEx().
|
private |
the original shadow BitmapEx in a special form
Definition at line 40 of file discreteshadowprimitive2d.hxx.
Referenced by DiscreteShadow().
|
private |
Definition at line 48 of file discreteshadowprimitive2d.hxx.
Referenced by getBottom().
|
private |
Definition at line 49 of file discreteshadowprimitive2d.hxx.
Referenced by getBottomLeft().
|
private |
Definition at line 47 of file discreteshadowprimitive2d.hxx.
Referenced by getBottomRight().
|
private |
Definition at line 50 of file discreteshadowprimitive2d.hxx.
Referenced by getLeft().
|
private |
Definition at line 46 of file discreteshadowprimitive2d.hxx.
Referenced by getRight().
|
private |
Definition at line 44 of file discreteshadowprimitive2d.hxx.
Referenced by getTop().
|
private |
buffered extracted parts of CombinedShadow for easier usage
Definition at line 43 of file discreteshadowprimitive2d.hxx.
Referenced by getTopLeft().
|
private |
Definition at line 45 of file discreteshadowprimitive2d.hxx.
Referenced by getTopRight().