 |
Gorgon Game Engine
|
virtual void drawin(TextureTarget &target, const SizeController &controller, const Geometry::Rectanglef &r, RGBAf color) const override final
This function should draw this drawable inside the given rectangle according to the given controller.
Definition: EmptyImage.h:53
virtual EmptyImage & CreateAnimation(Gorgon::Animation::ControllerBase &timer) const override
This function should create a new animation with the given controller and if owner parameter is set t...
Definition: EmptyImage.h:36
virtual Geometry::Size getsize() const override final
Should return the exact size of this object.
Definition: EmptyImage.h:75
This class allows control over a sizable object.
Definition: Graphics.h:161
static EmptyImage & Instance()
Returns the instance for empty image. Only one instance is enough.
Definition: EmptyImage.h:50
virtual EmptyImage & MoveOutProvider() override
This function moves this animation provider into a new provider.
Definition: EmptyImage.h:20
virtual void draw(TextureTarget &target, const Geometry::Pointf &p1, const Geometry::Pointf &p2, const Geometry::Pointf &p3, const Geometry::Pointf &p4, RGBAf color) const override final
This function should draw the object inside the given quad.
Definition: EmptyImage.h:71
Controllers are required to progress animations.
Definition: Animation.h:65
int GetDuration() const override
Returns the duration of the animation if it is a known apriori.
Definition: EmptyImage.h:32
Represents a four channel 32 bit float per channel color information.
Definition: Color.h:373
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a 2D geometric size.
Definition: Size.h:23
Rectangular drawable animation.
Definition: Animations.h:19
This class is an empty image that will not draw anything if drawn on a layer.
Definition: EmptyImage.h:15
virtual ~EmptyImage()
Definition: EmptyImage.h:18
This interface defines a class that can be used as a common target for texture based drawing.
Definition: TextureTargets.h:12
This class represents a 2D point.
Definition: Point.h:32
virtual Geometry::Size calculatesize(const Geometry::Size &area) const override final
This function should return the size of the object when it is requested to be drawn in the given area...
Definition: EmptyImage.h:57
virtual bool Progress(unsigned &leftover) override
This function should progress the animation.
Definition: EmptyImage.h:28
This class provides rectangular animations.
Definition: Animations.h:48
@ Graphics
Definition: Template.h:164
virtual Geometry::Size calculatesize(const SizeController &controller, const Geometry::Size &s) const override final
This function should return the size of the object when it is requested to be drawn in the given area...
Definition: EmptyImage.h:62
virtual void draw(TextureTarget &target, const Geometry::Pointf &p1, const Geometry::Pointf &p2, const Geometry::Pointf &p3, const Geometry::Pointf &p4, const Geometry::Pointf &tex1, const Geometry::Pointf &tex2, const Geometry::Pointf &tex3, const Geometry::Pointf &tex4, RGBAf color) const override final
This method should draw to object inside the given quad with the given texture coordinates.
Definition: EmptyImage.h:67
virtual EmptyImage & CreateAnimation(bool create=true) const override
This function should create and animation and depending on the create parameter, it should create its...
Definition: EmptyImage.h:41
Represents a rectangle in a 2D space.
Definition: Rectangle.h:19
ControllerBase * controller
Controller of this animation.
Definition: Animation.h:388
Geometry::Size GetSize() const override
Definition: EmptyImage.h:45
void DeleteAnimation() const override
Deletes this animation.
Definition: EmptyImage.h:24
virtual void SetController(Gorgon::Animation::ControllerBase &) override
Sets the controller to the given controller.
Definition: EmptyImage.h:26