49 wxColor FgColor, BgColor;
52 wxGraphicsContext * GC;
53 wxBitmap * BitmapBuffer;
61 void Rotate(
float *x,
float *y);
67 int Create (wxWindow * drawable,
int directdraw);
68 int Create (wxWindow *drawable, wxBitmap * bitmap);
71 void Init(
double sx,
double sy,
int angle=0);
72 void ChangeScale(
double sx,
double sy);
75 wxClientDC* GetWDC (
void);
76 wxBitmap * GetBitmapBuffer(
void);
77 wxWindow * GetDrawable(
void);
78 void SetBitmap(wxBitmap * bitmap,
double xs,
double ys);
79 void SetFunction (wxRasterOperationMode function);
80 void SetColor (wxColor color);
81 void SetColor (lxString color);
82 void SetColor (uint r, uint g, uint b);
83 void SetFgColor (wxColor color);
84 void SetFgColor (lxString color);
85 void SetFgColor (uint r, uint g, uint b);
86 void SetFont (wxFont font);
87 wxColor GetFgColor (
void);
117 void SetLineWidth (uint lwidth);
118 uint GetLineWidth (
void);
119 void Point (
float x,
float y);
120 void Points (wxPoint * points,
int npoints);
121 void Line (
float x1_,
float y1_,
float x2_,
float y2_);
122 void Lines (wxPoint * points,
int npoints);
123 void Spline (wxPoint * points,
int npoints);
125 void Rectangle (
bool filled,
float x,
float y,
float width,
float height);
126 void Arc (
bool filled,
int x,
int y,
int x1,
int y1,
int x2,
int y2);
127 void Circle (
bool filled,
float x,
float y,
float radius);
128 void Text (lxString str,
float x,
float y);
129 void RotatedText (lxString str,
float x,
float y,
float angle);
130 void TextOnRect (lxString str, wxRect,
unsigned int align );
131 void Polygon (
bool filled, wxPoint * points,
int npoints);
132 void Ellipse(
bool filled,
int x,
int y,
int width,
int height);
133 void EllipticArc(
bool filled,
int x,
int y,
int width,
int height,
double start,
double end);
134 void PutBitmap(wxBitmap * bitmap,
float x,
float y);
136 void FloodFill(
int x,
int y,wxColor color, wxFloodFillStyle style);
void SetBgColor(wxColor color)
void SetBgColor(uint r, uint g, uint b)
void SetBgColor(lxString color)