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

Public Member Functions

 GraphRendererMPOST (std::ostream &os)
 
void BeginRenderingGraph (float WidthInCm, float HeightInCm, float ResolutionDPI)
 
void EndRenderingGraph ()
 
void BeginDeclaringVertices ()
 
void DeclareVertex (int vertex_id, float x, float y, float radius, std::string text, Visualization::Color color)
 
void EndDeclaringVertices ()
 
void EndRenderingEdges ()
 
void RenderEdge (int from_id, int to_id, float x1, float y1, float x2, float y2, float width, std::string text, Visualization::Color color)
 
void RenderArc (int from_id, int to_id, float x1, float y1, float x2, float y2, float width, std::string text, Visualization::Color color)
 
void RenderVertex (int vertex_id, float x, float y, float radius, std::string text, Visualization::Color color)
 
void PutText (float x, float y, std::string text)
 
void SetPenColor (Visualization::Color color)
 
void SetBrushColor (Visualization::Color color)
 
void SetLineWidth (float width)
 
- 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 Line (float x1, float y1, float x2, float y2)
 
virtual void Arrow (float x1, float y1, float x2, float y2)
 
virtual void Circle (float x, float y, float radius)
 

Protected Attributes

float ImageHeight
 
bool DeclaringVertices
 
- 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
ExportFilterMpostRegistrator
 

Additional Inherited Members

- Protected Member Functions inherited from OpenGraphtheory::Visualization::GraphRenderingContext
virtual void BeginRenderingEdges ()
 
virtual void BeginRenderingVertices ()
 
virtual void EndRenderingVertices ()
 
virtual bool MirroredYAxis ()
 

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