Graphics::ImageBrush Class Reference
Brush using pixels from image. More...
#include <Asset.h>
Inheritance diagram for Graphics::ImageBrush:
Collaboration diagram for Graphics::ImageBrush:
Public Member Functions | |
ImageBrush (BrushStyle style, ImageObject &image) | |
ImageBrush (AssetID id, BrushStyle style, ImageObject &image) | |
PixelFormat | getPixelFormat () const override |
size_t | readPixels (const Location &loc, PixelFormat format, void *buffer, uint16_t width) const override |
String | getTypeStr () const override |
void | write (MetaWriter &meta) const override |
![]() | |
TextureBrush (BrushStyle style) | |
TextureBrush (AssetID id, BrushStyle style) | |
![]() | |
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 |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
enum | Type { Type::XX } |
using | List = LinkedObjectListTemplate< Asset > |
using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
using | ID = AssetID |
![]() | |
using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
![]() | |
static constexpr Asset::Type | assetType |
![]() | |
BrushStyle | style |
Detailed Description
Brush using pixels from image.
Constructor & Destructor Documentation
◆ ImageBrush() [1/2]
|
inline |
◆ ImageBrush() [2/2]
|
inline |
Member Function Documentation
◆ getPixelFormat()
|
overridevirtual |
Reimplemented from Graphics::TextureBrush.
◆ getTypeStr()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
◆ readPixels()
|
overridevirtual |
Implements Graphics::TextureBrush.
◆ write()
|
overridevirtual |
Reimplemented from Graphics::TextureBrush.
The documentation for this class was generated from the following file: