|
| AAnimatedDrawable (_< IAnimatedImageFactory > factory) |
|
void | draw (IRenderer &render, const IDrawable::Params ¶ms) override |
| Called when the image needs to be displayed. It is assumed that the renderer is already set to the desired state (coordinates, color, etc.) More...
|
|
glm::ivec2 | getSizeHint () override |
|
virtual AImage | rasterize (glm::ivec2 imageSize) |
| Converts possibly vector drawable to a raster image. More...
|
|
virtual bool | isDpiDependent () const |
|
_< AObject > | sharedPtr () |
|
_weak< AObject > | weakPtr () |
|
void | clearSignals () noexcept |
|
template<AAnySignal Signal, ACompatibleSlotFor< Signal > Function> |
void | connect (Signal &signal, Function &&function) |
|
void | setSignalsEnabled (bool enabled) |
|
bool | isSignalsEnabled () const noexcept |
|
template<ASignalInvokable T> |
void | operator^ (T &&t) |
|
_< AAbstractThread > | getThread () const |
|
bool | isSlotsCallsOnlyOnMyThread () const noexcept |
|
void | setSlotsCallsOnlyOnMyThread (bool slotsCallsOnlyOnMyThread) |
|
| noncopyable (const noncopyable &)=delete |
|
noncopyable & | operator= (const noncopyable &)=delete |
|
|
static API_AUI_VIEWS _< IDrawable > | fromUrl (const AUrl &url) noexcept |
| Creates a drawable from an url. More...
|
|
static void | disconnect () |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object *object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object &object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, _< Object > object, Function &&function) |
|
static void | moveToThread (aui::no_escape< AObject > object, _< AAbstractThread > thread) |
|
void | setThread (_< AAbstractThread > thread) |
| Set thread of the object.
|
|
◆ draw()
Called when the image needs to be displayed. It is assumed that the renderer is already set to the desired state (coordinates, color, etc.)
Implements IDrawable.
◆ getSizeHint()
glm::ivec2 AAnimatedDrawable::getSizeHint |
( |
| ) |
|
|
overridevirtual |
- Returns
- Size of the stored image. Can be ignored by the renderer. If the size is unknown, it can be {0, 0}
Implements IDrawable.
The documentation for this class was generated from the following files: