Interface for a raw memory pixel container.
More...
#include <icolorbuffer.hxx>
Interface for a raw memory pixel container.
Use this interface to represent a surface of raw pixel (e.g. a bitmap) to the canvas rendering framework.
Definition at line 31 of file icolorbuffer.hxx.
◆ Format
The underlying pixel format for this buffer.
Enumerator |
---|
A8R8G8B8 | |
X8R8G8B8 | |
Definition at line 34 of file icolorbuffer.hxx.
◆ ~IColorBuffer()
virtual canvas::IColorBuffer::~IColorBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ getFormat()
virtual Format canvas::IColorBuffer::getFormat |
( |
| ) |
const |
|
pure virtual |
Get format of the color buffer.
◆ getHeight()
virtual sal_uInt32 canvas::IColorBuffer::getHeight |
( |
| ) |
const |
|
pure virtual |
◆ getStride()
virtual sal_uInt32 canvas::IColorBuffer::getStride |
( |
| ) |
const |
|
pure virtual |
Offset, in bytes, between consecutive scan lines of the bitmap.
If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up. The returned value is only valid while the buffer is locked.
◆ getWidth()
virtual sal_uInt32 canvas::IColorBuffer::getWidth |
( |
| ) |
const |
|
pure virtual |
◆ lock()
virtual sal_uInt8 * canvas::IColorBuffer::lock |
( |
| ) |
const |
|
pure virtual |
Get a pointer to the raw memory bits of the pixel.
◆ unlock()
virtual void canvas::IColorBuffer::unlock |
( |
| ) |
const |
|
pure virtual |
unlock previous locked buffer
The documentation for this struct was generated from the following file: