LibreOffice Module vcl (master)  1
Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
BitmapInfoAccess Class Reference

#include <BitmapInfoAccess.hxx>

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

Public Member Functions

 BitmapInfoAccess (Bitmap &rBitmap, BitmapAccessMode nMode=BitmapAccessMode::Info)
 
virtual ~BitmapInfoAccess ()
 
bool operator! () const
 
tools::Long Width () const
 
tools::Long Height () const
 
bool IsTopDown () const
 
bool IsBottomUp () const
 
ScanlineFormat GetScanlineFormat () const
 
sal_uInt32 GetScanlineSize () const
 
sal_uInt16 GetBitCount () const
 
BitmapColor GetBestMatchingColor (const BitmapColor &rBitmapColor)
 
bool HasPalette () const
 
const BitmapPaletteGetPalette () const
 
sal_uInt16 GetPaletteEntryCount () const
 
const BitmapColorGetPaletteColor (sal_uInt16 nColor) const
 
sal_uInt16 GetBestPaletteIndex (const BitmapColor &rBitmapColor) const
 
ColorMaskGetColorMask () const
 

Protected Attributes

Bitmap maBitmap
 
BitmapBuffermpBuffer
 
ColorMask maColorMask
 
BitmapAccessMode mnAccessMode
 

Private Member Functions

 BitmapInfoAccess (const BitmapInfoAccess &)=delete
 
BitmapInfoAccessoperator= (const BitmapInfoAccess &)=delete
 

Friends

class BitmapReadAccess
 

Detailed Description

Definition at line 36 of file BitmapInfoAccess.hxx.

Constructor & Destructor Documentation

BitmapInfoAccess::BitmapInfoAccess ( Bitmap rBitmap,
BitmapAccessMode  nMode = BitmapAccessMode::Info 
)
BitmapInfoAccess::~BitmapInfoAccess ( )
virtual

Definition at line 63 of file BitmapInfoAccess.cxx.

References Bitmap::ImplGetSalBitmap(), maBitmap, mnAccessMode, and mpBuffer.

BitmapInfoAccess::BitmapInfoAccess ( const BitmapInfoAccess )
privatedelete

Member Function Documentation

BitmapColor BitmapInfoAccess::GetBestMatchingColor ( const BitmapColor rBitmapColor)
inline
sal_uInt16 BitmapInfoAccess::GetBestPaletteIndex ( const BitmapColor rBitmapColor) const
sal_uInt16 BitmapInfoAccess::GetBitCount ( ) const
inline
ColorMask& BitmapInfoAccess::GetColorMask ( ) const
inline
const BitmapPalette& BitmapInfoAccess::GetPalette ( ) const
inline
const BitmapColor& BitmapInfoAccess::GetPaletteColor ( sal_uInt16  nColor) const
inline
sal_uInt16 BitmapInfoAccess::GetPaletteEntryCount ( ) const
inline
ScanlineFormat BitmapInfoAccess::GetScanlineFormat ( ) const
inline
sal_uInt32 BitmapInfoAccess::GetScanlineSize ( ) const
inline
bool BitmapInfoAccess::HasPalette ( ) const
inline
tools::Long BitmapInfoAccess::Height ( ) const
inline
bool BitmapInfoAccess::IsBottomUp ( ) const
inline

Definition at line 57 of file BitmapInfoAccess.hxx.

References IsTopDown().

bool BitmapInfoAccess::IsTopDown ( ) const
inline

Definition at line 50 of file BitmapInfoAccess.hxx.

References BitmapBuffer::mnFormat, mpBuffer, and TopDown.

Referenced by IsBottomUp().

bool BitmapInfoAccess::operator! ( ) const
inline

Definition at line 44 of file BitmapInfoAccess.hxx.

References mpBuffer.

BitmapInfoAccess& BitmapInfoAccess::operator= ( const BitmapInfoAccess )
privatedelete
tools::Long BitmapInfoAccess::Width ( ) const
inline

Friends And Related Function Documentation

friend class BitmapReadAccess
friend

Definition at line 38 of file BitmapInfoAccess.hxx.

Member Data Documentation

Bitmap BitmapInfoAccess::maBitmap
protected
ColorMask BitmapInfoAccess::maColorMask
protected
BitmapAccessMode BitmapInfoAccess::mnAccessMode
protected
BitmapBuffer* BitmapInfoAccess::mpBuffer
protected

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