1 #ifndef JUGIMAP_DRAWING_H
2 #define JUGIMAP_DRAWING_H
virtual void Line(jugimap::Vec2f p1, jugimap::Vec2f p2)
Draw a line from the given position p1 to p2.
Definition: jmDrawing.h:49
The Layer class is the base class for layers.
Definition: jmLayers.h:27
Color in RGBA color space - integer variant.
Definition: jmColor.h:15
virtual void EllipseOutline(jugimap::Vec2f c, jugimap::Vec2f r)
Draw the outline of an ellipse defined by the given center point c and radius r.
Definition: jmDrawing.h:56
virtual ~DrawingLayer() override
Destructor.
Definition: jmDrawing.cpp:20
virtual void UpdateEngineDrawer()
Update engine objects related to this drawer.
Definition: jmDrawing.h:37
virtual void InitEngineObjects() override
Initialize all engine objects related to this layer and its content.
Definition: jmDrawing.cpp:30
virtual void Clear()
Clear this drawer (required by some engines).
Definition: jmDrawing.h:45
DrawingLayer(const std::string &_name)
Constructor.
Definition: jmDrawing.cpp:10
virtual void UpdateEngineObjects() override
Update all engine objects related to this layer and its content.
Definition: jmDrawing.cpp:36
The Drawer is the base drawer class.
Definition: jmDrawing.h:20
DrawingLayer * GetDrawingLayer()
Returns the drawing layer of this drawer.
Definition: jmDrawing.h:68
virtual void RectangleOutline(const jugimap::Rectf &rect)
Draw the outline of the given rectangle rect.
Definition: jmDrawing.h:53
The DrawingLayer is the base class for drawing geometric primitives.
Definition: jmDrawing.h:81
virtual void Dot(jugimap::Vec2f p)
Draw a dot at the given position p.
Definition: jmDrawing.h:60
Drawer * GetDrawer()
Returns the drawer of this drawing layer.
Definition: jmDrawing.h:105
void SetDrawingLayer(DrawingLayer *_drawingLayer)
Set the drawing layer of this drawer.
Definition: jmDrawing.h:64
virtual ~Drawer()
Destructor.
Definition: jmDrawing.h:25
virtual void InitEngineDrawer()
Initialize engine objects related to this drawer.
Definition: jmDrawing.h:31
virtual void SetOutlineColor(ColorRGBA _outlineColor)
Set outline color to the given *_outlineColor*.
Definition: jmDrawing.h:41