Go to the documentation of this file.
19 #ifndef OST_GFX_PRIMITIVES_HH
20 #define OST_GFX_PRIMITIVES_HH
30 namespace ost {
namespace gfx {
48 void SetFill(
const Color& color,
bool fill=
true);
49 void SetOutline(
const Color& color,
bool line=
true,
float width=1.0);
50 void SetFillColor(
const Color& color);
51 void SetOutlineColor(
const Color& color);
52 const Color& GetFillColor()
const;
53 const Color& GetOutlineColor()
const;
55 bool HasOutline()
const;
56 float GetLineWidth()
const;
58 void SetLineWidth(
float width);