|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_BORDERED_HPP
3 #define SHISHGL_BORDERED_HPP
14 const Color& border_color)
26 viewport.
pos += offset;
27 viewport.
size -= 2.0 * offset;
41 #endif //SHISHGL_BORDERED_HPP
void apply(Frame &viewport, const Shape2D &shape) override
Definition: Bordered.hpp:19
Definition: Shape2D.hpp:12
~Bordered() override=default
Definition: Bordered.hpp:10
IPlatform & PLATFORM()
Definition: RenderSystem.cpp:32
Definition: CoreApplication.hpp:10
Bordered(const double &border_width, const Color &border_color)
Definition: Bordered.hpp:13
virtual void draw(const Frame &viewport) const =0
Vector2< double > size
Definition: Frame.hpp:12
Vector2< double > pos
Definition: Frame.hpp:11