37 #ifndef H_OGF_RENDERER_CONTEXT_OVERLAY_H
38 #define H_OGF_RENDERER_CONTEXT_OVERLAY_H
149 float x1,y1,x2,y2,x3,y3,x4,y4,R;
154 vector<Primitive> primitives_;
A display list that memorizes simple graphic primitives to be displayed over the 3D rendering window.
void segment(vec2 p1, vec2 p2, Color color, double thickness=1.0)
Adds a segment to the display list.
void fillquad(vec2 p1, vec2 p2, vec2 p3, vec2 p4, Color color)
Adds a filled triangle to the display list.
void fillrect(vec2 p1, vec2 p2, Color color)
Adds a filled rectangle to the display list.
void rect(vec2 p1, vec2 p2, Color color, double thickness=1.0)
Adds a rectangle to the display list.
void circle(vec2 p1, double R, Color color, double thickness=1.0)
Adds a circle to the display list.
void fillcircle(vec2 p1, double R, Color color)
Adds a filled circle to the display list.
void clear()
Removes all primitives to be displayed.
void playback()
Plays back this overlay to the current ImGui context.
void filltriangle(vec2 p1, vec2 p2, vec2 p3, Color color)
Adds a filled triangle to the display list.
Global Graphite namespace.
Definitions common to all include files in the renderer library.