29 #ifndef NOMLIB_SDL2_LINE_HEADERS
30 #define NOMLIB_SDL2_LINE_HEADERS
35 #include "nomlib/config.hpp"
36 #include "nomlib/math/Color.hpp"
37 #include "nomlib/math/Coords.hpp"
38 #include "nomlib/graphics/IDrawable.hpp"
39 #include "nomlib/system/make_unique.hpp"
56 virtual ~Line (
void );
64 Line ( int32 x, int32 y, int32 width, int32 height,
const Color& color );
88 #endif // include guard defined
virtual ~Line(void)
Lazy destructor with nothing to do. Please inherit me!
Color color
Rendering color (RGBA).
void draw(RenderTarget target) const
Draw a 3D line segment onto the the attached renderer.
Base interface class for grouping objects under a united front.
Coords coords
X, Y signed integer rendering coordinates.
Coordinate values (x, y, z, width, height ) wrapper.
Utility class container for RGBA colors.
Line(void)
Default constructor; construct component objects with their sane defaults.