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() [1/2]

XOBitmap::XOBitmap ( const XOBitmap rXBmp)
privatedelete

◆ XOBitmap() [2/2]

XOBitmap::XOBitmap ( const BitmapEx rBitmap)

Definition at line 45 of file xattrbmp.cxx.

◆ ~XOBitmap()

XOBitmap::~XOBitmap ( )

Definition at line 51 of file xattrbmp.cxx.

Member Function Documentation

◆ Array2Bitmap()

void XOBitmap::Array2Bitmap ( )

convert array, fore- and background color into a bitmap

Definition at line 103 of file xattrbmp.cxx.

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

Referenced by GetGraphicObject().

◆ Bitmap2Array()

void XOBitmap::Bitmap2Array ( )

Definition at line 68 of file xattrbmp.cxx.

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

◆ GetBackgroundColor()

const Color & XOBitmap::GetBackgroundColor ( ) const
inline

Definition at line 54 of file xbitmap.hxx.

◆ GetBitmap()

BitmapEx XOBitmap::GetBitmap ( ) const

Definition at line 55 of file xattrbmp.cxx.

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

Referenced by Bitmap2Array().

◆ GetGraphicObject()

const GraphicObject & XOBitmap::GetGraphicObject ( ) const
private

Definition at line 60 of file xattrbmp.cxx.

References Array2Bitmap(), bGraphicDirty, and xGraphicObject.

Referenced by GetBitmap().

◆ operator=()

XOBitmap & XOBitmap::operator= ( const XOBitmap rXOBitmap)
privatedelete

◆ SetBackgroundColor()

void XOBitmap::SetBackgroundColor ( const Color rColor)
inline

Definition at line 51 of file xbitmap.hxx.

◆ SetPixelColor()

void XOBitmap::SetPixelColor ( const Color rColor)
inline

Definition at line 50 of file xbitmap.hxx.

Member Data Documentation

◆ aBckgrColor

Color XOBitmap::aBckgrColor
private

Definition at line 34 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

◆ aPixelColor

Color XOBitmap::aPixelColor
private

Definition at line 33 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

◆ bGraphicDirty

bool XOBitmap::bGraphicDirty
private

Definition at line 35 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and GetGraphicObject().

◆ pPixelArray

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

Definition at line 32 of file xbitmap.hxx.

Referenced by Array2Bitmap(), and Bitmap2Array().

◆ xGraphicObject

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: