 class  PSGrafport : public Grafport
  class  PSGrafport : public Grafport PostScript(tm) grafport class.
|  static  const  char | BANNER [] postscript file containing front page for printer. | 
|  static  const  double | XOFF | 
|  static  const  double | YOFF | 
|   | PSGrafport (const char *fileName) open grafport to filename, When filename = "", stdout is used. | 
|  virtual | ~PSGrafport () | 
|  bool | IsSucces () | 
|  void | ClearArea (int, int, int, int) | 
|  void | SetLineWidth (unsigned n) | 
|  void | SetBackgroundColor (const string *) | 
|  void | SetBackgroundColor (const char *) | 
|  void | SetForegroundColor (const string *) | 
|  void | SetForegroundColor (const char *) | 
|  void | DrawRectangle (int x, int y, int wd, int ht) | 
|  void | FillRectangle (int x, int y, int wd, int ht) | 
|  void | DrawRoundedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | FillRoundedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | DrawEllipsedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | FillEllipsedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | DrawDisk (int x, int y, int wd, int ht, int ellipse_ht) | 
|  void | FillDisk (int x, int y, int wd, int ht, int ellipse_ht) | 
|  void | DrawUnzoomedRectangle (int x, int y, int wd, int ht) | 
|  void | DrawStringLeft (int x, int y, const char *str) | 
|  void | DrawStringCentered (int x, int y, const char *str) | 
|  void | DrawStringRight (int x, int y, const char *str) | 
|  void | DrawUnzoomedStringLeft (int x, int y, const char *str) | 
|  void | DrawUnzoomedStringCentered (int x, int y, const char *str) | 
|  void | DrawStringLeftUnderlined (int x, int y, const char *str) | 
|  void | DrawStringRightUnderlined (int x, int y, const char *str) | 
|  void | DrawStringCenteredUnderlined (int x, int y, const char *str) | 
|  void | DrawLine (int x1, int y1, int x2, int y2) | 
|  void | DrawLine (const Point *p1, const Point *p2) | 
|  void | DrawCurve (const Point *p1, const Point *p2, const Point *p3, const Point *p4) | 
|  void | DrawUnzoomedLine (int x1, int y1, int x2, int y2) | 
|  void | DrawPoint (int x, int y) | 
|  void | DrawPoint (const Point *p) | 
|  void | DrawEllipse (int x, int y, int wd, int ht) | 
|  void | FillEllipse (int x, int y, int wd, int ht) | 
|  void | DrawArc (int x, int y, int wd, int ht, int arc1, int arc2) | 
|  void | FillArc (int x, int y, int wd, int ht, int arc1, int arc2) | 
|  void | DrawPolygon (const Point *points, int n) | 
|  void | FillPolygon (const Point *points, int n) | 
|  void | Header (const char *title, const char *creator) generate postscript header. | 
|  void | BeginDrawProc () | 
|  void | EndDrawProc () | 
|  void | CallDrawProc () | 
|  void | Banner (const char *title) concat banner from file with name of document. | 
|  void | BeginPage (int i, int j, int nx, int tot) | 
|  void | EndPage () | 
|  void | Trailer () generate postscript trailer. | 
|  void | SetFont (XFont *font) set grafport font. | 
|  void | EPSHeader (const char *title, const char *creator, int llx, int lly, int urx, int ury) header for encapsulated postscript + bounding box | 
|  void | EPSProlog (int y, int dy) | 
|  void | SetPageSize (double x, double y) | 
|  void | SetFactor (double f) | 
|  void | SetISOLatin1Encoding (bool b) | 
|  void | SetShowColors (bool b) | 
|  static  void | MakePSString (string *str) | 
|  static  void | FixEscapeChar (string *str, char c) | 
|  static  void | FixNonAscii (string *str) | 
|  void | FontProlog () | 
|  void | InstallIsoLatin1Font (const char *psFont) | 
|  void | PageSetup () | 
|  void | DrawPSRectangle (int x, int y, int wd, int ht) | 
|  void | DrawPSRoundedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | DrawPSEllipsedRectangle (int x, int y, int wd, int ht, int rd) | 
|  void | DrawPSArc (int x, int y, int wd, int ht, int ang1, int ang2) | 
|  void | DrawPSEllipse (int x, int y, int wd, int ht) | 
|  void | DrawPSDisk (int x, int y, int wd, int ht, int ellipse_ht) | 
|  void | DrawPSLine (int x1, int y1, int x2, int y2) | 
|  void | DrawPSPolygon (const Point *point, int nrPoints) | 
 virtual  bool  DrawsXor()
 virtual  bool  DrawsXor()
 virtual  void  UpdateSize(int, int)
 virtual  void  UpdateSize(int, int)
 virtual  int  GetWidth()
 virtual  int  GetWidth()
 virtual  int  GetHeight()
 virtual  int  GetHeight()
 virtual  void  Redraw(int, int, int, int, int, int)
 virtual  void  Redraw(int, int, int, int, int, int)
 XFont*  GetFont()
 XFont*  GetFont()
 const  string*  GetBackgroundColor()
 const  string*  GetBackgroundColor()
 const  string*  GetForegroundColor()
 const  string*  GetForegroundColor()
 List <Color *> *  GetColors()
 List <Color *> *  GetColors()
 void  SetLineStyle(LineStyle::Type s)
 void  SetLineStyle(LineStyle::Type s)
 LineStyle::Type  GetLineStyle()
 LineStyle::Type  GetLineStyle()
 void  SetFillStyle(FillStyle::Type s)
 void  SetFillStyle(FillStyle::Type s)
 FillStyle::Type  GetFillStyle()
 FillStyle::Type  GetFillStyle()
 unsigned  GetLineWidth()
 unsigned  GetLineWidth()
 void  SetZoomValue(double newValue)
 void  SetZoomValue(double newValue)
 double  GetZoomValue()
 double  GetZoomValue()
 int  Zoom(int x)
 int  Zoom(int x)
 int  ZoomCorrect(int x)
 int  ZoomCorrect(int x)
 void  DrawRectangles(const Rectangle *rects, int n)
 void  DrawRectangles(const Rectangle *rects, int n)
 void  FillRectangles(const Rectangle *rects, int n)
 void  FillRectangles(const Rectangle *rects, int n)
 virtual  void  DrawEditDashedRectangle(int, int, int, int)
 virtual  void  DrawEditDashedRectangle(int, int, int, int)
 Point  DrawStringsCentered(int x, int y, const string *str, bool ul, int cursor=0)
 Point  DrawStringsCentered(int x, int y, const string *str, bool ul, int cursor=0)
 Point  DrawStringsLeft( int topLeftx, int topLefty, const string *str, bool ul, int cursor=0)
 Point  DrawStringsLeft( int topLeftx, int topLefty, const string *str, bool ul, int cursor=0)
 Point  DrawStringsRight( int topRightx, int topRighty, const string *str, bool ul, int cursor=0)
 Point  DrawStringsRight( int topRightx, int topRighty, const string *str, bool ul, int cursor=0)
 unsigned  CursorPosition( int x, int y, const string *str, int hitX, int hitY)
 unsigned  CursorPosition( int x, int y, const string *str, int hitX, int hitY)
 virtual  void  DrawEditLine(int, int, int, int)
 virtual  void  DrawEditLine(int, int, int, int)
 virtual  void  DrawEditLine(const Point *, const Point *)
 virtual  void  DrawEditLine(const Point *, const Point *)
 virtual  void  DrawEditDottedGridLine(int, int, int, int)
 virtual  void  DrawEditDottedGridLine(int, int, int, int)
 virtual  void  DrawEditDottedLine(int, int, int, int)
 virtual  void  DrawEditDottedLine(int, int, int, int)
 virtual  void  DrawEditPoint(int, int)
 virtual  void  DrawEditPoint(int, int)
 virtual  void  DrawEditPoint(const Point *)
 virtual  void  DrawEditPoint(const Point *)
 virtual  void  DrawActiveCaret(int, int)
 virtual  void  DrawActiveCaret(int, int)
 virtual  void  DrawDeactiveCaret(int, int)
 virtual  void  DrawDeactiveCaret(int, int)
 
  
 
  
 Point  CursorPosition(int x, int y, const string *buf, int cursor)
 Point  CursorPosition(int x, int y, const string *buf, int cursor)
 Color*  LookupColor(const string *colorName)
 Color*  LookupColor(const string *colorName)
 Color*  LookupColor(const char *colorName)
 Color*  LookupColor(const char *colorName)
 void  AddColor(const string *colorName, unsigned long pixel)
 void  AddColor(const string *colorName, unsigned long pixel)
 void  AddColor(const char *colorName, unsigned long pixel)
 void  AddColor(const char *colorName, unsigned long pixel)
 void  AddColor(Color *c)
 void  AddColor(Color *c)
 virtual  void  InitColors()
 virtual  void  InitColors()
 void  RecalcPolygon(const Point *points, int nrPoints, Point *newPoints, int d)
 void  RecalcPolygon(const Point *points, int nrPoints, Point *newPoints, int d)
PostScript(tm) grafport class.
 PSGrafport(const char *fileName)
  PSGrafport(const char *fileName)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 virtual  ~PSGrafport()
 virtual  ~PSGrafport()
 bool  IsSucces()
 bool  IsSucces()
 void  ClearArea(int, int, int, int)
 void  ClearArea(int, int, int, int)
 void  SetLineWidth(unsigned n)
 void  SetLineWidth(unsigned n)
 void  SetBackgroundColor(const string *)
 void  SetBackgroundColor(const string *)
 void  SetBackgroundColor(const char *)
 void  SetBackgroundColor(const char *)
 void  SetForegroundColor(const string *)
 void  SetForegroundColor(const string *)
 void  SetForegroundColor(const char *)
 void  SetForegroundColor(const char *)
 void  DrawRectangle(int x, int y, int wd, int ht)
 void  DrawRectangle(int x, int y, int wd, int ht)
 void  FillRectangle(int x, int y, int wd, int ht)
 void  FillRectangle(int x, int y, int wd, int ht)
 void  DrawRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  FillRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  FillRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  FillEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  FillEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawDisk(int x, int y, int wd, int ht, int ellipse_ht)
 void  DrawDisk(int x, int y, int wd, int ht, int ellipse_ht)
 void  FillDisk(int x, int y, int wd, int ht, int ellipse_ht)
 void  FillDisk(int x, int y, int wd, int ht, int ellipse_ht)
 void  DrawUnzoomedRectangle(int x, int y, int wd, int ht)
 void  DrawUnzoomedRectangle(int x, int y, int wd, int ht)
 void  DrawStringLeft(int x, int y, const char *str)
 void  DrawStringLeft(int x, int y, const char *str)
 void  DrawStringCentered(int x, int y, const char *str)
 void  DrawStringCentered(int x, int y, const char *str)
 void  DrawStringRight(int x, int y, const char *str)
 void  DrawStringRight(int x, int y, const char *str)
 void  DrawUnzoomedStringLeft(int x, int y, const char *str)
 void  DrawUnzoomedStringLeft(int x, int y, const char *str)
 void  DrawUnzoomedStringCentered(int x, int y, const char *str)
 void  DrawUnzoomedStringCentered(int x, int y, const char *str)
 void  DrawStringLeftUnderlined(int x, int y, const char *str)
 void  DrawStringLeftUnderlined(int x, int y, const char *str)
 void  DrawStringRightUnderlined(int x, int y, const char *str)
 void  DrawStringRightUnderlined(int x, int y, const char *str)
 void  DrawStringCenteredUnderlined(int x, int y, const char *str)
 void  DrawStringCenteredUnderlined(int x, int y, const char *str)
 void  DrawLine(int x1, int y1, int x2, int y2)
 void  DrawLine(int x1, int y1, int x2, int y2)
 void  DrawLine(const Point *p1, const Point *p2)
 void  DrawLine(const Point *p1, const Point *p2)
 void  DrawCurve(const Point *p1, const Point *p2, const Point *p3, const Point *p4)
 void  DrawCurve(const Point *p1, const Point *p2, const Point *p3, const Point *p4)
 void  DrawUnzoomedLine(int x1, int y1, int x2, int y2)
 void  DrawUnzoomedLine(int x1, int y1, int x2, int y2)
 void  DrawPoint(int x, int y)
 void  DrawPoint(int x, int y)
 void  DrawPoint(const Point *p)
 void  DrawPoint(const Point *p)
 void  DrawEllipse(int x, int y, int wd, int ht)
 void  DrawEllipse(int x, int y, int wd, int ht)
 void  FillEllipse(int x, int y, int wd, int ht)
 void  FillEllipse(int x, int y, int wd, int ht)
 void  DrawArc(int x, int y, int wd, int ht, int arc1, int arc2)
 void  DrawArc(int x, int y, int wd, int ht, int arc1, int arc2)
 void  FillArc(int x, int y, int wd, int ht, int arc1, int arc2)
 void  FillArc(int x, int y, int wd, int ht, int arc1, int arc2)
 void  DrawPolygon(const Point *points, int n)
 void  DrawPolygon(const Point *points, int n)
 void  FillPolygon(const Point *points, int n)
 void  FillPolygon(const Point *points, int n)
 void  Header(const char *title, const char *creator)
 void  Header(const char *title, const char *creator)
 void  BeginDrawProc()
 void  BeginDrawProc()
 void  EndDrawProc()
 void  EndDrawProc()
 void  CallDrawProc()
 void  CallDrawProc()
 void  Banner(const char *title)
 void  Banner(const char *title)
 void  BeginPage(int i, int j, int nx, int tot)
 void  BeginPage(int i, int j, int nx, int tot)
 void  EndPage()
 void  EndPage()
 void  Trailer()
 void  Trailer()
 void  SetFont(XFont *font)
 void  SetFont(XFont *font)
 void  EPSHeader(const char *title, const char *creator, int llx, int lly, int urx, int ury)
 void  EPSHeader(const char *title, const char *creator, int llx, int lly, int urx, int ury)
 void  EPSProlog(int y, int dy)
 void  EPSProlog(int y, int dy)
 void  SetPageSize(double x, double y)
 void  SetPageSize(double x, double y)
 void  SetFactor(double f)
 void  SetFactor(double f)
 void  SetISOLatin1Encoding(bool b)
 void  SetISOLatin1Encoding(bool b)
 void  SetShowColors(bool b)
 void  SetShowColors(bool b)
 static  const  char  BANNER[]
 static  const  char  BANNER[]
 static  const  double  XOFF
 static  const  double  XOFF
 static  const  double  YOFF
 static  const  double  YOFF
 static  void  MakePSString(string *str)
 static  void  MakePSString(string *str)
 static  void  FixEscapeChar(string *str, char c)
 static  void  FixEscapeChar(string *str, char c)
 static  void  FixNonAscii(string *str)
 static  void  FixNonAscii(string *str)
 void  FontProlog()
 void  FontProlog()
 void  InstallIsoLatin1Font(const char *psFont)
 void  InstallIsoLatin1Font(const char *psFont)
 void  PageSetup()
 void  PageSetup()
 void  DrawPSRectangle(int x, int y, int wd, int ht)
 void  DrawPSRectangle(int x, int y, int wd, int ht)
 void  DrawPSRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawPSRoundedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawPSEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawPSEllipsedRectangle(int x, int y, int wd, int ht, int rd)
 void  DrawPSArc(int x, int y, int wd, int ht, int ang1, int ang2)
 void  DrawPSArc(int x, int y, int wd, int ht, int ang1, int ang2)
 void  DrawPSEllipse(int x, int y, int wd, int ht)
 void  DrawPSEllipse(int x, int y, int wd, int ht)
 void  DrawPSDisk(int x, int y, int wd, int ht, int ellipse_ht)
 void  DrawPSDisk(int x, int y, int wd, int ht, int ellipse_ht)
alphabetic index hierarchy of classes
 
this page has been generated automatically by doc++
(c)opyright by  Malte  Zöckler,  Roland Wunderling 
contact:  doc++@zib.de