LibreOffice Module basegfx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
basegfx::BZPixelRaster Class Reference

#include <bzpixelraster.hxx>

Public Member Functions

 BZPixelRaster (sal_uInt32 nWidth, sal_uInt32 nHeight)
 
sal_uInt32 getIndexFromXY (sal_uInt32 nX, sal_uInt32 nY) const
 
sal_uInt32 getWidth () const
 
sal_uInt32 getHeight () const
 
const BPixelgetBPixel (sal_uInt32 nIndex) const
 
BPixelgetBPixel (sal_uInt32 nIndex)
 
const sal_uInt16 & getZ (sal_uInt32 nIndex) const
 
sal_uInt16 & getZ (sal_uInt32 nIndex)
 

Private Member Functions

 BZPixelRaster (const BZPixelRaster &)=delete
 
BZPixelRasteroperator= (const BZPixelRaster &)=delete
 

Private Attributes

sal_uInt32 mnWidth
 
sal_uInt32 mnHeight
 
sal_uInt32 mnCount
 
std::unique_ptr< BPixel[]> mpContent
 
std::unique_ptr< sal_uInt16[]> mpZBuffer
 

Detailed Description

Definition at line 30 of file bzpixelraster.hxx.

Constructor & Destructor Documentation

◆ BZPixelRaster() [1/2]

basegfx::BZPixelRaster::BZPixelRaster ( const BZPixelRaster )
privatedelete

◆ BZPixelRaster() [2/2]

basegfx::BZPixelRaster::BZPixelRaster ( sal_uInt32  nWidth,
sal_uInt32  nHeight 
)
inline

Definition at line 44 of file bzpixelraster.hxx.

References mnCount, and mpZBuffer.

Member Function Documentation

◆ getBPixel() [1/2]

BPixel & basegfx::BZPixelRaster::getBPixel ( sal_uInt32  nIndex)
inline

Definition at line 69 of file bzpixelraster.hxx.

References mnCount, mpContent, and nIndex.

◆ getBPixel() [2/2]

const BPixel & basegfx::BZPixelRaster::getBPixel ( sal_uInt32  nIndex) const
inline

Definition at line 62 of file bzpixelraster.hxx.

References mnCount, mpContent, and nIndex.

◆ getHeight()

sal_uInt32 basegfx::BZPixelRaster::getHeight ( ) const
inline

Definition at line 59 of file bzpixelraster.hxx.

References mnHeight.

◆ getIndexFromXY()

sal_uInt32 basegfx::BZPixelRaster::getIndexFromXY ( sal_uInt32  nX,
sal_uInt32  nY 
) const
inline

Definition at line 55 of file bzpixelraster.hxx.

References mnWidth.

◆ getWidth()

sal_uInt32 basegfx::BZPixelRaster::getWidth ( ) const
inline

Definition at line 58 of file bzpixelraster.hxx.

References mnWidth.

◆ getZ() [1/2]

sal_uInt16 & basegfx::BZPixelRaster::getZ ( sal_uInt32  nIndex)
inline

Definition at line 83 of file bzpixelraster.hxx.

References mnCount, mpZBuffer, and nIndex.

◆ getZ() [2/2]

const sal_uInt16 & basegfx::BZPixelRaster::getZ ( sal_uInt32  nIndex) const
inline

Definition at line 76 of file bzpixelraster.hxx.

References mnCount, mpZBuffer, and nIndex.

◆ operator=()

BZPixelRaster & basegfx::BZPixelRaster::operator= ( const BZPixelRaster )
privatedelete

Member Data Documentation

◆ mnCount

sal_uInt32 basegfx::BZPixelRaster::mnCount
private

Definition at line 38 of file bzpixelraster.hxx.

Referenced by BZPixelRaster(), getBPixel(), and getZ().

◆ mnHeight

sal_uInt32 basegfx::BZPixelRaster::mnHeight
private

Definition at line 37 of file bzpixelraster.hxx.

Referenced by getHeight().

◆ mnWidth

sal_uInt32 basegfx::BZPixelRaster::mnWidth
private

Definition at line 36 of file bzpixelraster.hxx.

Referenced by getIndexFromXY(), and getWidth().

◆ mpContent

std::unique_ptr<BPixel[]> basegfx::BZPixelRaster::mpContent
private

Definition at line 39 of file bzpixelraster.hxx.

Referenced by getBPixel().

◆ mpZBuffer

std::unique_ptr<sal_uInt16[]> basegfx::BZPixelRaster::mpZBuffer
private

Definition at line 40 of file bzpixelraster.hxx.

Referenced by BZPixelRaster(), and getZ().


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