54    return static_cast<GR_DRAWMODE>( int( a ) | int( b ) );
 
 
   59    return static_cast<GR_DRAWMODE>( int( a ) & int( b ) );
 
 
   74                    wxPenStyle stype = wxPENSTYLE_SOLID );
 
   88             const COLOR4D& aColor, wxPenStyle aStyle = wxPENSTYLE_SOLID );
 
   89void GRLine( wxDC* DC, 
int x1, 
int y1, 
int x2, 
int y2, 
int width, 
const COLOR4D& Color,
 
   90             wxPenStyle aStyle = wxPENSTYLE_SOLID );
 
   92void GRLineTo( wxDC* DC, 
int x, 
int y, 
int width, 
const COLOR4D& Color );
 
  125            int aWidth, 
const COLOR4D& aColor );
 
A color representation with 4 components: red, green, blue, alpha.
 
void GRSetBrush(wxDC *DC, const COLOR4D &Color, bool fill=false)
 
void GRForceBlackPen(bool flagforce)
 
void GRResetPenAndBrush(wxDC *DC)
 
void GRLineTo(wxDC *DC, int x, int y, int width, const COLOR4D &Color)
 
GR_DRAWMODE operator|(const GR_DRAWMODE &a, const GR_DRAWMODE &b)
 
void GRRect(wxDC *DC, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, const COLOR4D &aColor)
 
void GRSFilledRect(wxDC *DC, int x1, int y1, int x2, int y2, int width, const COLOR4D &Color, const COLOR4D &BgColor)
 
GR_DRAWMODE
Drawmode. Compositing mode plus a flag or two.
 
void GRSetColorPen(wxDC *DC, const COLOR4D &Color, int width=1, wxPenStyle stype=wxPENSTYLE_SOLID)
 
void GRCircle(wxDC *aDC, const VECTOR2I &aPos, int aRadius, int aWidth, const COLOR4D &aColor)
 
GR_DRAWMODE operator~(const GR_DRAWMODE &a)
 
void GRFilledSegment(wxDC *aDC, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, const COLOR4D &aColor)
 
void GRFilledArc(wxDC *DC, const VECTOR2I &aStart, const VECTOR2I &aEnd, const VECTOR2I &aCenter, int width, const COLOR4D &Color, const COLOR4D &BgColor)
 
void GRCSegm(wxDC *aDC, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, const COLOR4D &aColor)
 
void GRMoveTo(int x, int y)
 
void GRClosedPoly(wxDC *aDC, int aPointCount, const VECTOR2I *aPoints, bool doFill, const COLOR4D &aColor)
Draw a closed polygon onto the drawing context aDC and optionally fills and/or draws a border around ...
 
void GRLine(wxDC *aDC, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, const COLOR4D &aColor, wxPenStyle aStyle=wxPENSTYLE_SOLID)
 
void GRFilledRect(wxDC *DC, const VECTOR2I &aStart, const VECTOR2I &aEnd, int aWidth, const COLOR4D &aColor, const COLOR4D &aBgColor)
 
void GRArc(wxDC *aDC, const VECTOR2I &aStart, const VECTOR2I &aEnd, const VECTOR2I &aCenter, int aWidth, const COLOR4D &aColor)
 
GR_DRAWMODE operator&(const GR_DRAWMODE &a, const GR_DRAWMODE &b)
 
void GRPoly(wxDC *DC, int n, const VECTOR2I *Points, bool Fill, int width, const COLOR4D &Color, const COLOR4D &BgColor)
Draw a new polyline and fill it if Fill, in drawing space.
 
bool GetGRForceBlackPenState(void)
 
void GRFilledCircle(wxDC *aDC, const VECTOR2I &aPos, int aRadius, int aWidth, const COLOR4D &aStrokeColor, const COLOR4D &aFillColor)
Draw a circle onto the drawing context aDC centered at the user coordinates (x,y).
 
VECTOR2< int32_t > VECTOR2I