This class outputs Postscript graphics commands to file. More...
#include "../include/Postscript.h"
Public Member Functions | |
| int | init () |
| int | setParam (const char *str) |
| int | open () |
| int | getDevice (String &str) |
| int | resize (float rwidth, float rheight) |
| int | manage () |
| int | unmanage () |
| int | addCallback (const char *event, Listener *list, const void *data) |
| int | doCallback (const char *ev_str, const char *ev_data) |
| void | callback (const char *ev_str, const char *ev_data, const void *data) |
| int | close () |
| int | setFocus () |
| int | unsetFocus () |
| int | update () |
| int | clear () |
| int | clearRect (Rect &rect) |
| int | setTitle (const char *str) |
| int | setIcon (bool val) |
| int | setFixed (bool val) |
| int | setInverse (bool val) |
| bool | getInverse () |
| int | setBackground (const char *str) |
| int | setSize (float rwidth, float rheight) |
| int | getSize (float &width, float &height) |
| float | getWidth () |
| float | getHeight () |
| int | setOffset (float rx, float ry) |
| int | getOffset (float &x, float &y) |
| int | getCoords (Rect &rect) |
| Rect | getCoords () |
| int | allocColor (float red, float grn, float blu) |
| int | setColor (int type, int ind) |
| int | outputColor (int color) |
| int | setLineWidth (int type, float width) |
| int | setLineStyle (int type, int style) |
| int | setFillStyle (int type, int style) |
| int | drawLine (int type, float x1, float y1, float x2, float y2) |
| int | drawLine (int type, Points &pts) |
| int | drawFill (int type, Points &pts) |
| int | setImageAlign (int h, int v) |
| int | drawImage (Image &image, float x, float y) |
| int | drawImage (Image &image, int color, float x, float y) |
| int | getImage (Image &image) |
| int | setFont (const char *name) |
| int | setTextAlign (int h, int v) |
| int | drawText (Point &pt, const char *str) |
| Rect | getClip () |
| int | setClip (float x1, float y1, float x2, float y2) |
| int | setClip (Rect rect) |
| int | setCursor (int type) |
| int | copyFrame (int dest, int src) |
| int | displayFrame (int ind) |
| int | clearFrame (int ind) |
| int | newFrame (int ind) |
| int | newFrame () |
| bool | isLooping () |
| int | getFrame () |
| int | setFrame (int ind) |
| int | deleteFrame (int ind) |
| int | incFrame (int step) |
| int | getNumFrames () |
| int | message (const char *str) |
| int | bell (int len) |
This class outputs Postscript graphics commands to file.
1.6.1