7 #ifndef GRID_LINE_LIMITER_H 8 #define GRID_LINE_LIMITER_H 19 extern const int DEFAULT_MAXIMUM_GRID_LINES;
49 QRectF documentBounds (
const Document &document,
54 #endif // GRID_LINE_LIMITER_H Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
GridLineLimiter()
Single constructor.
Model for DlgSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.
void limitForYRadius(const Document &document, const Transformation &transformation, const DocumentModelCoords &modelCoords, const MainWindowModel &modelMainWindow, const DocumentModelGridDisplay &modelGrid, double &startY, double &stepY) 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.
void limitForXTheta(const Document &document, const Transformation &transformation, const DocumentModelCoords &modelCoords, const MainWindowModel &modelMainWindow, const DocumentModelGridDisplay &modelGrid, double &startX, double &stepX) const
Limit step value for x/theta coordinate. This is a noop if the maximum grid line limit in MainWindowM...
Limit the number of grid lines so a bad combination of start/step/stop value will not lead to extreme...