#include <Object.h>
|
| MemoryImageObject (PixelFormat format, Size size) |
|
| ~MemoryImageObject () |
|
Surface * | createSurface (const Blend *blend, size_t bufferSize=0) |
|
bool | isValid () const |
|
Size | getSize () const override |
| Get target dimensions. More...
|
|
PixelFormat | getPixelFormat () const override |
| Get native pixel format. More...
|
|
Surface * | createSurface (size_t bufferSize=0) override |
| Create a surface for use with this render target. More...
|
|
| RawImageObject (IDataSourceStream *image, PixelFormat format, Size size) |
|
| RawImageObject (const FSTR::String &image, PixelFormat format, Size size) |
|
| RawImageObject (const Resource::ImageResource &image) |
|
void | write (MetaWriter &meta) const override |
|
bool | init () override |
| Initialise the object, e.g. parse header content and obtain dimensions. More...
|
|
size_t | readPixels (const Location &loc, PixelFormat format, void *buffer, uint16_t width) const override |
| Read pixels in requested format. More...
|
|
| StreamImageObject (IDataSourceStream *source, Size size) |
|
| StreamImageObject (const FSTR::String &image) |
|
| ImageObject (Size size) |
|
Renderer * | createRenderer (const Location &location) const override |
| Create a software renderer for this object. More...
|
|
Size | getSize () const |
|
uint16_t | width () const |
|
uint16_t | height () const |
|
Kind | kind () const override |
|
bool | operator== (const Object &other) const |
|
virtual String | getTypeStr () const |
|
Object * | getNext () const |
|
bool | insertAfter (Object *object) |
|
Iterator | begin () const |
|
Iterator | end () const |
|
Iterator | cbegin () const |
|
Iterator | cend () const |
|
virtual | ~LinkedObject () |
|
virtual LinkedObject * | next () const |
|
bool | insertAfter (LinkedObject *object) |
|
bool | operator== (const LinkedObject &other) const |
|
bool | operator!= (const LinkedObject &other) const |
|
virtual | ~RenderTarget () |
|
PackedColor | getColor (Color color) const |
|
◆ MemoryImageObject()
Graphics::MemoryImageObject::MemoryImageObject |
( |
PixelFormat |
format, |
|
|
Size |
size |
|
) |
| |
◆ ~MemoryImageObject()
Graphics::MemoryImageObject::~MemoryImageObject |
( |
| ) |
|
|
inline |
◆ createSurface() [1/2]
Surface* Graphics::MemoryImageObject::createSurface |
( |
const Blend * |
blend, |
|
|
size_t |
bufferSize = 0 |
|
) |
| |
◆ createSurface() [2/2]
Surface* Graphics::MemoryImageObject::createSurface |
( |
size_t |
bufferSize = 0 | ) |
|
|
inlineoverridevirtual |
Create a surface for use with this render target.
- Parameters
-
bufferSize | Size of internal command/data buffer |
- Return values
-
Surface* | The surface to use |
Caller is responsible for destroying the surface when no longer required.
Implements Graphics::RenderTarget.
◆ getPixelFormat()
PixelFormat Graphics::MemoryImageObject::getPixelFormat |
( |
| ) |
const |
|
inlineoverridevirtual |
Get native pixel format.
- Return values
-
PixelFormat | Return None if ambivalent about format (e.g. calculated pixel data) |
Reimplemented from Graphics::RawImageObject.
◆ getSize()
Size Graphics::MemoryImageObject::getSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isValid()
bool Graphics::MemoryImageObject::isValid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: