+// This function is for drawing feedback points without regard for zoom level;
+// we don't want our feedback point size to depend on the zoom level!
+void Painter::DrawCross(Vector point)
+{
+ if (!painter)
+ return;
+
+ point = CartesianToQtCoords(point);
+ painter->setPen(QPen(Qt::red, 2.0, Qt::SolidLine));
+ painter->drawLine(point.x - 8.0, point.y, point.x + 8.0, point.y);
+ painter->drawLine(point.x, point.y - 8.0, point.x, point.y + 8.0);
+}
+
+
+// This function is for drawing feedback points without regard for zoom level;
+// we don't want our feedback point size to depend on the zoom level!
+void Painter::DrawRectCorners(Rect rect)
+{
+ if (!painter)
+ return;
+
+ Vector v1 = CartesianToQtCoords(Vector(rect.l, rect.t));
+ Vector v2 = CartesianToQtCoords(Vector(rect.r, rect.b));
+ v1 += Vector(-8.0, -8.0);
+ v2 += Vector(+8.0, +8.0);
+ painter->setPen(QPen(Qt::red, 2.0, Qt::DashLine));
+ painter->drawLine(v1.x, v1.y, v1.x + 24, v1.y);
+ painter->drawLine(v1.x, v1.y, v1.x, v1.y + 24);
+ painter->drawLine(v2.x, v1.y, v2.x - 24, v1.y);
+ painter->drawLine(v2.x, v1.y, v2.x, v1.y + 24);
+ painter->drawLine(v2.x, v2.y, v2.x - 24, v2.y);
+ painter->drawLine(v2.x, v2.y, v2.x, v2.y - 24);
+ painter->drawLine(v1.x, v2.y, v1.x + 24, v2.y);
+ painter->drawLine(v1.x, v2.y, v1.x, v2.y - 24);
+
+}
+
+