Go to the documentation of this file.
7 #ifndef GRID_LINE_LIMITER_H
8 #define GRID_LINE_LIMITER_H
51 void documentBounds (
const Document &document,
53 QPointF &boundingRectMin,
54 QPointF &boundingRectMax)
const;
58 #endif // GRID_LINE_LIMITER_H
void limitForXTheta(const Document &document, const Transformation &transformation, const DocumentModelCoords &modelCoords, const MainWindowModel &modelMainWindow, const DocumentModelGridDisplay &modelGrid, double &startX, double &stepX, double &stopX) const
Limit step value for x/theta coordinate. This is a noop if the maximum grid line limit in MainWindowM...
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
GridLineLimiter()
Single constructor.
void limitForYRadius(const Document &document, const Transformation &transformation, const DocumentModelCoords &modelCoords, const MainWindowModel &modelMainWindow, const DocumentModelGridDisplay &modelGrid, double &startY, double &stepY, double &stopY) const
Limit step value for y/range coordinate. This is a noop if the maximum grid line limit in MainWindowM...
Storage of one imported image and the data attached to that image.
const int DEFAULT_MAXIMUM_GRID_LINES
Default for maximum number of grid lines.
Model for DlgSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.
Limit the number of grid lines so a bad combination of start/step/stop value will not lead to extreme...