6#include <WXP/GeomBox.h> 
    8#include <WXP/Listener.h> 
   10#include <WXP/Points.h> 
   12#include <WXP/String.h> 
   58      int setParam( 
const char *str );
 
   60      int getDevice( 
String &str );
 
   61      int resize(
float rwidth, 
float rheight);
 
   64      int addCallback( 
const char *event, 
Listener *list, 
const void *data );
 
   65      int doCallback( 
const char *ev_str, 
const char *ev_data );
 
   66      void callback( 
const char *ev_str, 
const char *ev_data, 
const void *data );
 
   72      int clearRect( 
Rect &rect );
 
   73      int setTitle(
const char *str);
 
   74      int setIcon(
bool val);
 
   75      int setFixed(
bool val);
 
   76      int setInverse(
bool val);
 
   78      int setBackground(
const char *str);
 
   79      int setSize(
float rwidth, 
float rheight);
 
   80      int getSize(
float &width, 
float &height);
 
   81      inline float getWidth(){ 
return width; };
 
   82      inline float getHeight(){ 
return height; };
 
   83      int setOffset(
float rx, 
float ry);
 
   84      int getOffset(
float &x, 
float &y);
 
   85      int getCoords( 
Rect &rect );
 
   87      int allocColor( 
float red, 
float grn, 
float blu );
 
   88      int setColor( 
int type, 
int ind );
 
   89      int outputColor( 
int color );
 
   90      int setLineWidth( 
int type, 
float width );
 
   91      int setLineStyle( 
int type, 
int style );
 
   92      int setFillStyle( 
int type, 
int style );
 
   93      int drawLine( 
int type, 
float x1, 
float y1, 
float x2, 
float y2 );
 
   94      int drawLine( 
int type, 
Points &pts );
 
   95      int drawFill( 
int type, 
Points &pts );
 
   96      int setImageAlign( 
int h, 
int v );
 
   97      int drawImage( 
Image &image, 
float x, 
float y );
 
   98      int drawImage( 
Image &image, 
int color, 
float x, 
float y );
 
   99      int getImage( 
Image &image );
 
  100      int setFont( 
const char *name );
 
  101      int setTextAlign( 
int h, 
int v );
 
  102      int drawText( 
Point &pt, 
const char *str );
 
  104      int setClip( 
float x1, 
float y1, 
float x2, 
float y2 );
 
  105      int setClip( 
Rect rect );
 
  106      int setCursor( 
int type );
 
  107      int copyFrame( 
int dest, 
int src );
 
  108      int displayFrame( 
int ind );
 
  109      int clearFrame( 
int ind );
 
  110      int newFrame( 
int ind );
 
  114      int setFrame( 
int ind );
 
  115      int deleteFrame( 
int ind );
 
  116      int incFrame( 
int step );
 
  118      int message( 
const char *str );
 
This virtual class defines methods for output to generic device.
Definition Device.h:19
 
This class accesses files.
Definition File.h:15
 
This structure sets size and location of a geometric box.
Definition GeomBox.h:5
 
This class plots to HPGL printers.
Definition Hpgl.h:15
 
This class defines an image.
Definition Image.h:19
 
This virtual class defines the callback method for use with plotting.
Definition Listener.h:11
 
This class creates an array a 2D points (x, y)
Definition Points.h:8
 
This is a variable length string class.
Definition String.h:5
 
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
 
This struct sets a 3D point (x, y, z)
Definition Point.h:5
 
This structure defines rectangle coordinates.
Definition Rect.h:5