2017-01-16 20:40:45 -05:00
|
|
|
#pragma once
|
|
|
|
#include "starlight/_global.h"
|
|
|
|
|
|
|
|
#include "starlight/gfx/Drawable.h"
|
|
|
|
|
|
|
|
namespace starlight {
|
|
|
|
namespace gfx {
|
|
|
|
class DrawableTest : public Drawable {
|
|
|
|
public:
|
|
|
|
DrawableTest() { }
|
|
|
|
~DrawableTest() override { }
|
|
|
|
|
2017-05-03 00:52:46 -04:00
|
|
|
void Draw(const Vector2& position, const Vector2& origin = Vector2::zero, OptRef<VRect> sampleRect = nullptr, OptRef<Color> color = nullptr, float rotation = 0, const Vector2& scale = Vector2::one, BlendMode mode = BlendMode::Normal) override;
|
|
|
|
void Draw(const VRect& rect, OptRef<VRect> sampleRect = nullptr, OptRef<Color> color = nullptr, BlendMode mode = BlendMode::Normal) override;
|
2017-01-16 20:40:45 -05:00
|
|
|
|
|
|
|
Vector2 Size() override { return Vector2::zero; }
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|