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 |
Public Member Functions inherited from Graphics::AssetTemplate< AssetType::Pen > | |
| virtual Type | type () const override |
| Asset () | |
| Asset (ID id) | |
Public Member Functions inherited from Graphics::Asset | |
| Asset () | |
| Asset (ID id) | |
| bool | operator== (ID id) const |
| ID | id () const |
| virtual Type | type () const =0 |
| virtual String | getTypeStr () const |
Public Member Functions inherited from LinkedObjectTemplate< Asset > | |
| Asset * | getNext () const |
| bool | insertAfter (Asset *object) |
| Iterator | begin () const |
| Iterator | end () const |
| Iterator | cbegin () const |
| Iterator | cend () const |
Public Member Functions inherited from LinkedObject | |
| virtual | ~LinkedObject () |
| virtual LinkedObject * | next () const |
| bool | insertAfter (LinkedObject *object) |
| bool | operator== (const LinkedObject &other) const |
| bool | operator!= (const LinkedObject &other) const |
Public Member Functions inherited from Graphics::Pen | |
| 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 |
Public Member Functions inherited from Graphics::Brush | |
| 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 | |
Public Types inherited from Graphics::Asset | |
| enum | Type { Type::XX } |
| using | List = LinkedObjectListTemplate< Asset > |
| using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
| using | ID = AssetID |
Public Types inherited from LinkedObjectTemplate< Asset > | |
| using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
| using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
Public Types inherited from Graphics::Brush | |
| enum | Kind : uint8_t { Kind::XX } |
Public Attributes inherited from Graphics::Pen | |
| uint16_t | width {1} |
Static Public Attributes inherited from Graphics::AssetTemplate< AssetType::Pen > | |
| 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:
Public Member Functions inherited from
1.8.17