* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about mouse events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about key events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about key events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about key events.
*/
* Called by the actual GUI class which implements the GraphicView
* interface to notify qcadlib about key events.
*/
- if ((isPrinting() || isPrintPreview()) && graphic->getPaperScale() > 1.0e-6)
- wf = 1.0 / graphic->getPaperScale();
+ if ((isPrinting() || isPrintPreview()) && drawing->getPaperScale() > 1.0e-6)
+ wf = 1.0 / drawing->getPaperScale();
- Vector pinsbase = graphic->getPaperInsertionBase();
- Vector size = graphic->getPaperSize();
- double scale = graphic->getPaperScale();
+ Vector pinsbase = drawing->getPaperInsertionBase();
+ Vector size = drawing->getPaperSize();
+ double scale = drawing->getPaperScale();
Vector v1 = toGui((Vector(0, 0) - pinsbase) / scale);
Vector v2 = toGui((size - pinsbase) / scale);
Vector v1 = toGui((Vector(0, 0) - pinsbase) / scale);
Vector v2 = toGui((size - pinsbase) / scale);