Go to the documentation of this file.
84 drawInfo i = {{p.
x-radius, p.
y-radius, p.
x+radius, p.
y+radius}, c, lineWidth};
94 drawInfo i = {{p.
x-radius, p.
y-radius, p.
x+radius, p.
y+radius}, c, 0};
121 drawInfo i = {{p.
x-radius, p.
y-radius, p.
x+radius, p.
y+radius}, c, lineWidth};
139 drawInfo i = {{p.
x-radius, p.
y-radius, p.
x+radius, p.
y+radius}, c, 0};
186 lineInfo i = {start, end, c, lineWidth,
false};
195 lineInfo i = {start, end, c, lineWidth,
true};
205 textInfo i = {std::string(textString), location, c,
height, std::string((typeface==0)?
"Helvetica":typeface), align, base,
viewport};
void DrawLine(point start, point end, float lineWidth, rgbColor c)
A color; r/g/b are between 0...1.
std::vector< textInfo > backgroundText
void FillSquare(point p, float radius, rgbColor c)
void SetNumViewports(uint8_t v)
void FillTriangle(point p1, point p2, point p3, rgbColor c)
void FillLineSegments(const std::vector< point > &points, float lineWidth, rgbColor c)
std::vector< data > backgroundDrawCommands
void SetViewport(uint8_t v)
void FillNGon(point p, float radius, int sides, float rotation, rgbColor c)
void FrameNGon(point p, float radius, float width, int sides, float rotation, rgbColor c)
bool PointInRect(const point &p, const rect &r)
bool BackgroundNeedsRedraw() const
std::vector< data > drawCommands
void FrameSquare(point p, float radius, rgbColor c, float lineWidth)
void FrameCircle(rect r, rgbColor c, float lineWidth)
std::vector< textInfo > text
void DrawArrow(point start, point end, float lineWidth, rgbColor c)
void FillCircle(rect r, rgbColor c)
void FrameRect(rect r, rgbColor c, float lineWidth)
void FrameTriangle(point p1, point p2, point p3, float lineWidth, rgbColor c)
std::vector< segments > lineSegments
void DrawLineSegments(const std::vector< point > &points, float lineWidth, rgbColor c)
void DrawText(const char *text, point location, rgbColor c, float height, const char *typeface=0)
void FillRect(rect r, rgbColor c)
std::vector< segments > backgroundLineSegments