|
| | MemoryImageSurface (MemoryImageObject &image, PixelFormat format, const Blend *blend, size_t bufferSize, uint8_t *imageData) |
| |
| Type | getType () const override |
| |
| | ImageSurface (ImageObject &image, PixelFormat format, size_t bufferSize) |
| |
| Stat | stat () const override |
| |
| Size | getSize () const override |
| |
| PixelFormat | getPixelFormat () const override |
| |
| bool | setAddrWindow (const Rect &rect) override |
| |
| uint8_t * | getBuffer (uint16_t minBytes, uint16_t &available) override |
| |
| void | commit (uint16_t length) override |
| |
| bool | blockFill (const void *data, uint16_t length, uint32_t repeat) override |
| |
| bool | writeDataBuffer (SharedBuffer &data, size_t offset, uint16_t length) override |
| |
| bool | setPixel (PackedColor color, Point pt) override |
| |
| bool | writePixels (const void *data, uint16_t length) override |
| |
| int | readDataBuffer (ReadBuffer &buffer, ReadStatus *status, ReadCallback callback, void *param) override |
| | Read some pixels. More...
|
| |
| void | reset () override |
| | Reset surface ready for more commands. More...
|
| |
| bool | present (PresentCallback callback, void *param) override |
| | Present surface to display device. More...
|
| |
| bool | fillRect (PackedColor color, const Rect &rect) override |
| |
| void | write (MetaWriter &meta) const override |
| |
| void | write (MetaWriter &meta) const override |
| |
| bool | writePixel (PackedColor color) |
| |
| bool | writePixel (Color color) |
| |
| virtual int | readDataBuffer (ReadStatusBuffer &buffer, ReadCallback callback=nullptr, void *param=nullptr) |
| |
| virtual bool | render (const Object &object, const Rect &location, std::unique_ptr< Renderer > &renderer) |
| | Start rendering an object. More...
|
| |
| bool | render (const Object &object, const Rect &location) |
| | Render an object in one cycle. More...
|
| |
| bool | execute (std::unique_ptr< Renderer > &renderer) |
| | Execute a renderer. More...
|
| |
| uint16_t | width () const |
| |
| uint16_t | height () const |
| |
| bool | blockFill (PackedColor color, uint32_t repeat) |
| |
| bool | clear () |
| |
| bool | fillSmallRect (const Brush &brush, const Rect &location, const Rect &rect) |
| | Fill a small rectangle using a non-transparent brush. More...
|
| |
| bool | drawHLine (PackedColor color, uint16_t x0, uint16_t x1, uint16_t y, uint16_t w) |
| | Draw a simple horizontal line using a filled rectangle. More...
|
| |
| bool | drawVLine (PackedColor color, uint16_t x, uint16_t y0, uint16_t y1, uint16_t w) |
| | Draw a simple vertical line using a filled rectangle. More...
|
| |
| virtual Type | type () const override |
| |
| | Asset () |
| |
| | Asset (ID id) |
| |
| | Asset () |
| |
| | Asset (ID id) |
| |
| bool | operator== (ID id) const |
| |
| ID | id () const |
| |
| virtual Type | type () const =0 |
| |
| virtual String | getTypeStr () const |
| |
| Asset * | getNext () const |
| |
| bool | insertAfter (Asset *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 |
| |
Image surface using RAM as backing store.
Useful for sprites, etc.