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

Public Member Functions

 XSR (const XDO &xdo, Scaler *p_hor, Scaler *p_ver)
 
void geometry_sync ()
 
Scalerhor ()
 
Scalerver ()
 
void draw_scaled_line (float h1, float v1, float h2, float v2)
 
void draw_scaled_point (float h, float v)
 
- Public Member Functions inherited from XDR
 XDR (const XDO &xdo)
 
virtual void set_width (int w)
 
virtual void set_height (int h)
 
virtual void set_sizes (int w, int h)
 
virtual void set_xy (int x, int y)
 
virtual int get_width () const
 
virtual int get_height () const
 
virtual int get_x () const
 
virtual int get_y () const
 
virtual Logic is_inside (int x, int y) const
 
virtual Logic force_inside (int &x, int &y) const
 
void set_cs (int cs)
 
int get_cs () const
 
virtual void fill_background ()
 
void cs_out (int u, int v, int &x, int &y)
 
void cs_in (int x, int y, int &u, int &v)
 
virtual void draw_line (int u1, int v1, int u2, int v2)
 
virtual void draw_rect1 (int u1, int v1, int w, int h)
 
virtual void draw_rect2 (int u1, int v1, int u2, int v2)
 
virtual void draw_point (int u, int v)
 
virtual void fill_rect1 (int u1, int v1, int w, int h)
 
virtual void fill_rect2 (int u1, int v1, int u2, int v2)
 
virtual void expose ()
 
- Public Member Functions inherited from XGOps
 XGOps (const XDO &xdo)
 
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
 

Protected Attributes

ScalerpVer
 
ScalerpHor
 
- Protected Attributes inherited from XDR
int width
 
int height
 
int x_left
 
int y_top
 
int cs_mask
 

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: