11 #define BAD_DID ((Drawable)BadValue)
26 XFontStruct* fontInfo;
33 virtual Drawable wid ()
const;
36 virtual void x_error (
int rc)
const;
39 virtual void set_line_width (
int width);
40 virtual void set_line_style (
int style);
41 virtual void set_foreground (ColorPixel pix);
42 virtual void set_background (ColorPixel pix);
43 virtual void set_function (
int func);
44 virtual void set_font (
const char* szFontName);
45 virtual void set_gc_as (
const XGEnv& xgenv);
48 int get_line_width ()
const;
49 int get_line_style ()
const;
50 ColorPixel get_foreground ()
const;
51 ColorPixel get_background ()
const;
52 int get_function ()
const;
58 virtual void use_pixmap (Pixmap pix_id);
59 virtual Pixmap get_pixmap ()
const;
60 virtual Logic prepare_pixmap ();
61 virtual void reset_pixmap ();
62 virtual void flush_pixmap ();