Engauge Digitizer  2
GridRemoval.h
1 #ifndef GRID_REMOVAL_H
2 #define GRID_REMOVAL_H
3 
4 #include <QPixmap>
5 #include <QPointF>
6 
8 class QImage;
9 class Transformation;
10 
13 {
14  public:
16  GridRemoval();
17 
19  QPixmap remove (const Transformation &transformation,
20  const DocumentModelGridRemoval &modelGridRemoval,
21  const QImage &imageBefore);
22 
23 private:
24 
26  QPointF clipX (const QPointF &posUnprojected,
27  double xBoundary,
28  const QPointF &posOther) const;
29 
31  QPointF clipY (const QPointF &posUnprojected,
32  double yBoundary,
33  const QPointF &posOther) const;
34 
35  void removeLine (const QPointF &pos1,
36  const QPointF &pos2,
37  QImage &image);
38 };
39 
40 #endif // GRID_REMOVAL_H
Affine transformation between screen and graph coordinates, based on digitized axis points...
Model for DlgSettingsGridRemoval and CmdSettingsGridRemoval. The settings are unstable until the user...
GridRemoval()
Single constructor.
Definition: GridRemoval.cpp:11
Strategy class for grid removal.
Definition: GridRemoval.h:12