#include "GLViewer_Widget.h"
#include "GLViewer_ViewPort2d.h"
#include "GLViewer_Viewer2d.h"
#include "GLViewer_Grid.h"
#include "GLViewer_CoordSystem.h"
#include "GLViewer_ViewFrame.h"
#include <cmath>
#include <QEvent>
#include <QPaintEvent>
#include <QRect>
#include <QFile>
#include <QImage>
#include <QApplication>
#include <QToolTip>
Functions | |
char | hex (uchar c) |
void | AddImagePart (QFile &hFile, QImage &image, int w1, int w2, int h1, int h2, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPSCS, double a, double b, double c, double d, double dw, double dh) |
void | DecodeScanLine (int width, uchar *dest, int dest_depth, uchar *source, int source_depth) |
void AddImagePart | ( | QFile & | hFile, |
QImage & | image, | ||
int | w1, | ||
int | w2, | ||
int | h1, | ||
int | h2, | ||
GLViewer_CoordSystem * | aViewerCS, | ||
GLViewer_CoordSystem * | aPSCS, | ||
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | dw, | ||
double | dh | ||
) |
Translates part of image inside rectangle from w1 to w2 and from h2 to h1 to PS format
hFile | - PostScript file |
image | - image to be tarnslated |
w1 | - x start position |
w2 | - x end position |
h1 | - y start position |
h2 | - y end position |
aViewerCS | - viewer co-ordinate system |
aPSCS | - paper co-ordinate system |
a | |
b | |
c | |
d | |
dw | |
dh |
References hex().
void DecodeScanLine | ( | int | width, |
uchar * | dest, | ||
int | dest_depth, | ||
uchar * | source, | ||
int | source_depth | ||
) |
Translates image line with one color depth to line with other depth
References OCCViewer::color().
|
inline |
c | - digit |