UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
XGOps Class Reference
Inheritance diagram for XGOps:
XGEnv XDO XDR HorScale VerScale XSR

Public Member Functions

 XGOps (const XDO &xdo)
 
virtual void draw_line (int x1, int y1, int x2, int y2)
 
virtual void draw_rect1 (int x1, int y1, int w, int h)
 
virtual void draw_rect2 (int x1, int y1, int x2, int y2)
 
virtual void draw_point (int x, int y)
 
virtual void fill_rect1 (int x1, int y1, int w, int h)
 
virtual void fill_rect2 (int x1, int y1, int x2, int y2)
 
int text_width (const char *szText) const
 
int text_width (int n) const
 
int text_height () const
 
int text_shape (TextShape ts, int x, int y, int attachment, const char *szText) const
 
virtual void draw_text (int x, int y, int attachment, const char *szText) const
 
- Public Member Functions inherited from XGEnv
 XGEnv (const XDO &xdo)
 
 XGEnv (const XGEnv &xgenv)
 
virtual Drawable wid () const
 
virtual void x_error (int rc) const
 
virtual void set_line_width (int width)
 
virtual void set_line_style (int style)
 
virtual void set_foreground (ColorPixel pix)
 
virtual void set_background (ColorPixel pix)
 
virtual void set_function (int func)
 
virtual void set_font (const char *szFontName)
 
virtual void set_gc_as (const XGEnv &xgenv)
 
int get_line_width () const
 
int get_line_style () const
 
ColorPixel get_foreground () const
 
ColorPixel get_background () const
 
int get_function () const
 
void changed ()
 
virtual void use_pixmap (Pixmap pix_id)
 
virtual Pixmap get_pixmap () const
 
virtual Logic prepare_pixmap ()
 
virtual void reset_pixmap ()
 
virtual void flush_pixmap ()
 
- Public Member Functions inherited from XDO
 XDO (const XDO &xdo)
 
 XDO (Display *display, ScreenNo screen, Window window)
 
 XDO (Display *display, Window window)
 
ColorPixel white () const
 
ColorPixel black () const
 
ColorPixel color (const char *szColorName) const
 
int get_win_width () const
 
int get_win_height () const
 
virtual Drawable true_wid () const
 
virtual void get_true_win_size (int &w, int &h) const
 
virtual void get_win_size (int &w, int &h) const
 
virtual void flush () const
 
virtual void expose ()
 

Additional Inherited Members

- Public Attributes inherited from XGEnv
XFontStruct * fontInfo
 
GC gc
 
- Public Attributes inherited from XDO
Display * dpy
 
ScreenNo scrno
 
int depth
 
Window window_id
 
Pixmap pixmap_id
 
- Protected Member Functions inherited from XGEnv
void setup_font ()
 

The documentation for this class was generated from the following file: