LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Attributes | List of all members
drawinglayer::primitive2d::DiscreteShadow Class Reference

DiscreteShadow data class. More...

#include <discreteshadowprimitive2d.hxx>

Collaboration diagram for drawinglayer::primitive2d::DiscreteShadow:
[legend]

Public Member Functions

 DiscreteShadow (const BitmapEx &rBitmapEx)
 constructor More...
 
const BitmapExgetBitmapEx () const
 data read access More...
 
bool operator== (const DiscreteShadow &rCompare) const
 compare operator More...
 
const BitmapExgetTopLeft () const
 helper accesses which create on-demand needed segments More...
 
const BitmapExgetTop () const
 
const BitmapExgetTopRight () const
 
const BitmapExgetRight () const
 
const BitmapExgetBottomRight () const
 
const BitmapExgetBottom () const
 
const BitmapExgetBottomLeft () const
 
const BitmapExgetLeft () 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
 

Detailed Description

DiscreteShadow data class.

Definition at line 36 of file discreteshadowprimitive2d.hxx.

Constructor & Destructor Documentation

◆ DiscreteShadow()

drawinglayer::primitive2d::DiscreteShadow::DiscreteShadow ( const BitmapEx rBitmapEx)
explicit

Member Function Documentation

◆ getBitmapEx()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBitmapEx ( ) const
inline

◆ getBottom()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottom ( ) const

◆ getBottomLeft()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottomLeft ( ) const

◆ getBottomRight()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getBottomRight ( ) const

◆ getLeft()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getLeft ( ) const

◆ getRight()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getRight ( ) const

◆ getTop()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getTop ( ) const

◆ getTopLeft()

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.

◆ getTopRight()

const BitmapEx & drawinglayer::primitive2d::DiscreteShadow::getTopRight ( ) const

◆ operator==()

bool drawinglayer::primitive2d::DiscreteShadow::operator== ( const DiscreteShadow rCompare) const
inline

compare operator

Definition at line 60 of file discreteshadowprimitive2d.hxx.

References getBitmapEx().

Member Data Documentation

◆ maBitmapEx

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maBitmapEx
private

the original shadow BitmapEx in a special form

Definition at line 40 of file discreteshadowprimitive2d.hxx.

Referenced by DiscreteShadow().

◆ maBottom

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maBottom
private

Definition at line 48 of file discreteshadowprimitive2d.hxx.

Referenced by getBottom().

◆ maBottomLeft

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maBottomLeft
private

Definition at line 49 of file discreteshadowprimitive2d.hxx.

Referenced by getBottomLeft().

◆ maBottomRight

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maBottomRight
private

Definition at line 47 of file discreteshadowprimitive2d.hxx.

Referenced by getBottomRight().

◆ maLeft

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maLeft
private

Definition at line 50 of file discreteshadowprimitive2d.hxx.

Referenced by getLeft().

◆ maRight

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maRight
private

Definition at line 46 of file discreteshadowprimitive2d.hxx.

Referenced by getRight().

◆ maTop

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maTop
private

Definition at line 44 of file discreteshadowprimitive2d.hxx.

Referenced by getTop().

◆ maTopLeft

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maTopLeft
private

buffered extracted parts of CombinedShadow for easier usage

Definition at line 43 of file discreteshadowprimitive2d.hxx.

Referenced by getTopLeft().

◆ maTopRight

BitmapEx drawinglayer::primitive2d::DiscreteShadow::maTopRight
private

Definition at line 45 of file discreteshadowprimitive2d.hxx.

Referenced by getTopRight().


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