LibreOffice Module vcl (master) 1
|
Intended to be used to feed into CreateFromData to create a BitmapEx. More...
#include <RawBitmap.hxx>
Public Member Functions | |
RawBitmap (Size const &rSize, sal_uInt8 nBitCount) | |
void | SetPixel (tools::Long nY, tools::Long nX, Color nColor) |
void | SetAlpha (tools::Long nY, tools::Long nX, sal_uInt8 nAlpha) |
Color | GetPixel (tools::Long nY, tools::Long nX) const |
void | SetPixel (tools::Long nY, tools::Long nX, BitmapColor nColor)=delete |
tools::Long | Height () const |
tools::Long | Width () const |
sal_uInt8 | GetBitCount () const |
Private Attributes | |
std::unique_ptr< sal_uInt8[]> | mpData |
Size | maSize |
sal_uInt8 | mnBitCount |
Friends | |
BitmapEx VCL_DLLPUBLIC | CreateFromData (RawBitmap &&rawBitmap) |
Copy block of image data into the bitmap. More... | |
Intended to be used to feed into CreateFromData to create a BitmapEx.
RGB data format.
Definition at line 21 of file RawBitmap.hxx.
Definition at line 29 of file RawBitmap.hxx.
References Size::getHeight(), Size::getWidth(), maSize, and nBitCount.
|
inline |
Definition at line 74 of file RawBitmap.hxx.
|
inline |
Definition at line 62 of file RawBitmap.hxx.
References ColorAlpha, maSize, and p.
|
inline |
Definition at line 72 of file RawBitmap.hxx.
References maSize.
|
inline |
Definition at line 56 of file RawBitmap.hxx.
|
delete |
|
inline |
Definition at line 47 of file RawBitmap.hxx.
References Color::GetAlpha(), Color::GetBlue(), Color::GetGreen(), Color::GetRed(), maSize, and p.
Referenced by ImportEpsGraphic(), and SetByte().
|
inline |
Definition at line 73 of file RawBitmap.hxx.
References maSize.
|
friend |
Copy block of image data into the bitmap.
Assumes that the Bitmap has been constructed with the desired size.
Definition at line 228 of file BitmapTools.cxx.
|
private |
Definition at line 25 of file RawBitmap.hxx.
|
private |
Definition at line 26 of file RawBitmap.hxx.
|
private |
Definition at line 24 of file RawBitmap.hxx.