18 #include <MGXViewer/qglviewer.h>
35 enum Position { Top, Bottom, Left, Right, TopLeft, BottomLeft,
TopRight, BottomRight, Center };
58 displayUnit = !u.isEmpty();
85 fontSize = (size > 0) ? size : 0;
89 void draw(
QGLViewer* viewer, QPaintDevice* device = 0);
91 void readParms(
Parms& parms, QString section);
92 void writeParms(QTextStream& pout, QString section);
94 void scaleDrawing(
double s);
98 void findScale(
double unit_size);