From fa532f445d638d7dd079ba693153fe0785445ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Fri, 22 Feb 2019 16:04:39 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/libs@493 a8b55f48-bf90-11e4-a774-851b48703e85 --- qad/graphic/graphic.cpp | 16 ++++++++++++++++ qad/graphic/graphic.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/qad/graphic/graphic.cpp b/qad/graphic/graphic.cpp index 61a3601..c53be95 100644 --- a/qad/graphic/graphic.cpp +++ b/qad/graphic/graphic.cpp @@ -1299,6 +1299,22 @@ double Graphic::real2canvasY(double py) const { } +QPolygonF Graphic::real2canvas(const QPolygonF & real_polygon) const { + QPolygonF ret; + for (int i=0; i