31 #include <vdk/vdkobj.h>
32 #include <vdk/colors.h>
33 #include <vdk/rawpixmap.h>
57 bool setFg,setBg,setF;
59 void DrawBackground();
62 static int ConfigureEvent(GtkWidget* w, GdkEventConfigure* event,
void* o);
63 static int ExposeEvent(GtkWidget* w, GdkEventExpose* event,
void* o);
84 void DrawString(
int x,
int y,
char* text);
85 void DrawText(
int x,
int y,
char* text,
int n);
86 void DrawPoint(
int x,
int y);
87 void DrawLine(
int x,
int y,
int x1,
int y1);
88 void DrawRect(
int filled,
int x,
int y,
int w,
int h);
89 void DrawArc(
int filled,
int x,
int y,
int width,
90 int height,
int angle1,
int angle2);
91 void DrawPolygon(
int filled,GdkPoint *points, gint npoints);
92 void DrawPoints(GdkPoint *points,
int npoints);
93 void DrawSegments(GdkSegment *segs,
int nsegs);
94 void DrawLines(GdkPoint *points,
int npoints);
95 void DrawPixmap(
int x,
int y,
char *pixfile);
97 void DrawPixmap(
int x,
int y,
char ** data);