Graphics::PenAsset Class Reference
#include <Asset.h>
Inheritance diagram for Graphics::PenAsset:
Collaboration diagram for Graphics::PenAsset:
Public Member Functions | |
template<typename... ParamTypes> | |
PenAsset (AssetID id, ParamTypes... params) | |
void | write (MetaWriter &meta) const override |
![]() | |
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 |
![]() | |
Pen ()=default | |
Pen (const Pen &other) | |
Pen (const Brush &brush, uint16_t width=1) | |
Pen (Color color, uint16_t width=1) | |
Pen (const Pen &other, PixelFormat format) | |
Pen (const TextureBrush &brush, uint16_t width=1) | |
void | write (MetaWriter &meta) const |
![]() | |
Brush () | |
Brush (Color color) | |
Brush (const Brush &other) | |
Brush (const Brush &other, PixelFormat format) | |
Brush (PackedColor color) | |
Brush (const TextureBrush *brush) | |
void | setColor (Color color) |
void | setPixelFormat (PixelFormat format) |
Kind | getKind () const |
operator bool () const | |
bool | isSolid () const |
bool | isTransparent () const |
bool | operator== (Color color) const |
bool | operator!= (Color color) const |
bool | operator== (const Brush &other) const |
bool | operator!= (const Brush &other) const |
Color | getColor () const |
PackedColor | getPackedColor () const |
PackedColor | getPackedColor (PixelFormat format) const |
PackedColor | getPackedColor (Point pt) const |
const TextureBrush & | getObject () const |
bool | setPixel (Surface &surface, const Location &loc) const |
uint16_t | setPixels (Surface &surface, const Location &loc, uint16_t pixelCount) const |
uint16_t | writePixel (const Location &loc, void *buffer) const |
uint16_t | writePixels (const Location &loc, void *buffer, uint16_t pixelCount) const |
String | getTypeStr () const |
void | write (MetaWriter &meta) 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 & > |
![]() | |
enum | Kind : uint8_t { Kind::XX } |
![]() | |
uint16_t | width {1} |
![]() | |
static constexpr Asset::Type | assetType |
Constructor & Destructor Documentation
◆ PenAsset()
template<typename... ParamTypes>
|
inline |
Member Function Documentation
◆ write()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
The documentation for this class was generated from the following file: