Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
Mozilla.org OpenOffice.org Linux.com
OpenGraphtheory::Export::GraphRendererPOSTSCRIPT Class Reference
Inheritance diagram for OpenGraphtheory::Export::GraphRendererPOSTSCRIPT:
Collaboration diagram for OpenGraphtheory::Export::GraphRendererPOSTSCRIPT:

Public Member Functions

 GraphRendererPOSTSCRIPT (std::ostream &os)
 
void BeginRenderingGraph (float WidthInCm, float HeightInCm, float ResolutionDPI)
 
void EndRenderingGraph ()
 
void SetPenColor (Visualization::Color)
 
void SetBrushColor (Visualization::Color)
 
void SetLineWidth (float Width)
 
void Line (float x1, float y1, float x2, float y2)
 
void Circle (float x, float y, float radius)
 
void PutText (float x, float y, std::string text)
 
- Public Member Functions inherited from OpenGraphtheory::Visualization::GraphRenderingContextStream
 GraphRenderingContextStream (std::ostream &os)
 
- Public Member Functions inherited from OpenGraphtheory::Visualization::GraphRenderingContext
virtual void RenderGraph (Graph &G, std::string vertexcoloring, std::string edgecoloring, float dpi, float edgewidth, float vertexradius)
 
virtual void RenderGraph (Graph &G, std::map< Vertex *, Color > &vertexcoloring, std::map< Edge *, Color > &edgecoloring, float dpi, float edgewidth, float vertexradius)
 
- Public Member Functions inherited from OpenGraphtheory::Visualization::GraphicsContext
virtual void Arrow (float x1, float y1, float x2, float y2)
 

Protected Attributes

float ImageHeight
 
float ResolutionDPCM
 
- Protected Attributes inherited from OpenGraphtheory::Visualization::GraphRenderingContextStream
std::ostream * os
 
- Protected Attributes inherited from OpenGraphtheory::Visualization::GraphRenderingContext
Color LastPenColor
 
Color LastBrushColor
 
float LastLineWidth
 
float OffsetX
 
float OffsetY
 
Export::StringTranslatorTranslator
 

Static Protected Attributes

static FactoryRegistrator
< ExportFilter
ExportFilterPostscriptRegistrator
 

Additional Inherited Members

- Protected Member Functions inherited from OpenGraphtheory::Visualization::GraphRenderingContext
virtual void BeginDeclaringVertices ()
 
virtual void DeclareVertex (int vertex_id, float x, float y, float radius, std::string text, Color color)
 
virtual void EndDeclaringVertices ()
 
virtual void BeginRenderingEdges ()
 
virtual void RenderEdge (int from_id, int to_id, float x1, float y1, float x2, float y2, float width, std::string text, Color color)
 
virtual void RenderArc (int from_id, int to_id, float x1, float y1, float x2, float y2, float width, std::string text, Color color)
 
virtual void EndRenderingEdges ()
 
virtual void BeginRenderingVertices ()
 
virtual void RenderVertex (int vertex_id, float x, float y, float radius, std::string text, Color color)
 
virtual void EndRenderingVertices ()
 
virtual bool MirroredYAxis ()
 

The documentation for this class was generated from the following files:
  • sources/opengt.so/Headers/export/postscript.h
  • sources/opengt.so/Sources/export/postscript.cpp
Contributors Disclaimer