19#include <AUI/Image/IDrawable.h>
20#include <AUI/Common/SharedPtrTypes.h>
21#include <AUI/Image/AImage.h>
22#include <AUI/Render/IRenderer.h>
27 std::variant<_<ITexture>,
_<AImage>> mStorage;
31 virtual ~AImageDrawable();
35 AImage
rasterize(glm::ivec2 imageSize)
override;
glm::ivec2 getSizeHint() override
Definition ImageDrawable.cpp:31
AImage rasterize(glm::ivec2 imageSize) override
Converts possibly vector drawable to a raster image.
Definition ImageDrawable.cpp:53
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 de...
Definition ImageDrawable.cpp:36
An abstract image that determines itself how it is displayed. Essentially an abstraction from vector ...
Definition IDrawable.h:28
Base class for rendering.
Definition IRenderer.h:149
An std::weak_ptr with AUI extensions.
Definition SharedPtrTypes.h:178
Definition IDrawable.h:43