WXP::Postscript Class Reference

This class outputs Postscript graphics commands to file. More...

#include "../include/Postscript.h"

Inheritance diagram for WXP::Postscript:
WXP::Device WXP::Listener

List of all members.

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)

Detailed Description

This class outputs Postscript graphics commands to file.

Author:
Dan Vietor

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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1