LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XOBitmap Class Reference

#include <xbitmap.hxx>

Collaboration diagram for XOBitmap:
[legend]

Public Member Functions

 XOBitmap (const BitmapEx &rBitmap)
 
 ~XOBitmap ()
 
void Bitmap2Array ()
 
void Array2Bitmap ()
 convert array, fore- and background color into a bitmap More...
 
void SetPixelColor (const Color &rColor)
 
void SetBackgroundColor (const Color &rColor)
 
BitmapEx GetBitmap () const
 
const ColorGetBackgroundColor () const
 

Private Member Functions

const GraphicObjectGetGraphicObject () const
 
 XOBitmap (const XOBitmap &rXBmp)=delete
 
XOBitmapoperator= (const XOBitmap &rXOBitmap)=delete
 

Private Attributes

std::unique_ptr< GraphicObjectxGraphicObject
 
std::unique_ptr< sal_uInt16[]> pPixelArray
 
Color aPixelColor
 
Color aBckgrColor
 
bool bGraphicDirty
 

Detailed Description

Definition at line 28 of file xbitmap.hxx.

Constructor & Destructor Documentation

XOBitmap::XOBitmap ( const XOBitmap rXBmp)
privatedelete
XOBitmap::XOBitmap ( const BitmapEx rBitmap)

Definition at line 48 of file xattrbmp.cxx.

XOBitmap::~XOBitmap ( )

Definition at line 54 of file xattrbmp.cxx.

Member Function Documentation

void XOBitmap::Array2Bitmap ( )

convert array, fore- and background color into a bitmap

Definition at line 106 of file xattrbmp.cxx.

References aBckgrColor, aPixelColor, bGraphicDirty, i, pPixelArray, and xGraphicObject.

Referenced by GetGraphicObject().

void XOBitmap::Bitmap2Array ( )

Definition at line 71 of file xattrbmp.cxx.

References aBckgrColor, aPixelColor, GetBitmap(), BitmapEx::GetSizePixel(), i, and pPixelArray.

const Color& XOBitmap::GetBackgroundColor ( ) const
inline

Definition at line 54 of file xbitmap.hxx.

BitmapEx XOBitmap::GetBitmap ( ) const

Definition at line 58 of file xattrbmp.cxx.

References Graphic::GetBitmapEx(), GraphicObject::GetGraphic(), and GetGraphicObject().

Referenced by Bitmap2Array().

const GraphicObject & XOBitmap::GetGraphicObject ( ) const
private

Definition at line 63 of file xattrbmp.cxx.

References Array2Bitmap(), bGraphicDirty, and xGraphicObject.

Referenced by GetBitmap().

XOBitmap& XOBitmap::operator= ( const XOBitmap rXOBitmap)
privatedelete
void XOBitmap::SetBackgroundColor ( const Color rColor)
inline

Definition at line 51 of file xbitmap.hxx.

void XOBitmap::SetPixelColor ( const Color rColor)
inline

Definition at line 50 of file xbitmap.hxx.

Member Data Documentation

Color XOBitmap::aBckgrColor
private

Definition at line 34 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

Color XOBitmap::aPixelColor
private

Definition at line 33 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

bool XOBitmap::bGraphicDirty
private

Definition at line 35 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and GetGraphicObject().

std::unique_ptr<sal_uInt16[]> XOBitmap::pPixelArray
private

Definition at line 32 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

std::unique_ptr<GraphicObject> XOBitmap::xGraphicObject
private

Definition at line 31 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and GetGraphicObject().


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