#include "GLViewer_BaseObjects.h"
#include "GLViewer_BaseDrawers.h"
#include "GLViewer_AspectLine.h"
#include "GLViewer_CoordSystem.h"
#include "GLViewer_Text.h"
#include "GLViewer_Group.h"
#include "GLViewer_Drawer.h"
#include <QFile>
Macros | |
#define | SECTIONS 100 |
#define | DISTANTION 5 |
Functions | |
void | AddCoordsToHPGL (QString &buffer, QString command, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS, double x, double y, bool NewLine=true) |
void | AddCoordsToPS (QString &buffer, QString command, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS, double x, double y, bool NewLine=true) |
void | AddLineAspectToPS (QString &buffer, GLViewer_AspectLine *anAspect, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS) |
#define DISTANTION 5 |
#define SECTIONS 100 |
void AddCoordsToHPGL | ( | QString & | buffer, |
QString | command, | ||
GLViewer_CoordSystem * | aViewerCS, | ||
GLViewer_CoordSystem * | aPaperCS, | ||
double | x, | ||
double | y, | ||
bool | NewLine = true |
||
) |
Adds coords to text buffer in HPGL format
buffer | - text buffer |
command | - command to be added with coords |
aViewerCS | - viewer co-ordinates system |
aPaperCS | - paper co-ordinates system |
x | - x co-ordinate |
y | - y co-ordinate |
NewLine | - adds new line to buffer |
References GLViewer_CoordSystem::transform().
void AddCoordsToPS | ( | QString & | buffer, |
QString | command, | ||
GLViewer_CoordSystem * | aViewerCS, | ||
GLViewer_CoordSystem * | aPaperCS, | ||
double | x, | ||
double | y, | ||
bool | NewLine = true |
||
) |
Adds coords to text buffer in PostScript format
buffer | - text buffer |
command | - command to be added with coords |
aViewerCS | - viewer co-ordinates system |
aPaperCS | - paper co-ordinates system |
x | - x co-ordinate |
y | - y co-ordinate |
NewLine | - adds new line to buffer |
References GLViewer_CoordSystem::transform().
void AddLineAspectToPS | ( | QString & | buffer, |
GLViewer_AspectLine * | anAspect, | ||
GLViewer_CoordSystem * | aViewerCS, | ||
GLViewer_CoordSystem * | aPaperCS | ||
) |
Adds line aspect description to text buffer in PostScript format
buffer | - text buffer |
anAspect | - line aspect |
aViewerCS | - viewer co-ordinates system |
aPaperCS | - paper co-ordinates system |
References GLViewer_AspectLine::getLineColors(), GLViewer_AspectLine::getLineType(), GLViewer_AspectLine::getLineWidth(), and GLViewer_CoordSystem::getStretching().