Engauge Digitizer 2
Loading...
Searching...
No Matches
GuidelineProjectorConstantR.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2019 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef GUIDELINE_PROJECTOR_CONSTANT_R_H
8#define GUIDELINE_PROJECTOR_CONSTANT_R_H
9
10#include "EllipseParameters.h"
12#include <QList>
13#include <QPointF>
14#include <QRectF>
15
16class QRectF;
17class Transformation;
18
22{
23public:
27
30 const QRectF &sceneRect,
31 double rGraph);
32
34 EllipseParameters fromPosScreen (const Transformation &transformation,
35 const QRectF &sceneRect,
36 const QPointF &posScreen);
37
38};
39
40#endif // GUIDELINE_PROJECTOR_CONSTANT_R_H
Parameters that define an ellipse about the specified center, at the specified angle from alignment w...
GuidelineProjectorAbstract()
Single constructor.
EllipseParameters fromCoordinateR(const Transformation &transformation, const QRectF &sceneRect, double rGraph)
Return line through y in graph coordinates.
EllipseParameters fromPosScreen(const Transformation &transformation, const QRectF &sceneRect, const QPointF &posScreen)
Return line through point in screen coordinates.
Affine transformation between screen and graph coordinates, based on digitized axis points.