else
painter->SetPen(QPen(Qt::black, 1.0, Qt::SolidLine));
- // Draw handles (if needed)
+ // Hatch/Fill...
+// QBrush brush(Qt::DiagCrossPattern);
+// brush.setColor(QColor(255, 255, 0));
+// painter->SetBrush(brush);
+ painter->SetBrush(QBrush(Qt::NoBrush));
+
+ // Draw the object...
+ painter->DrawEllipse(position, radius, radius);
+
+ // & draw handles (if needed)
if (state == OSSelected || hitCenter)
painter->DrawHandle(position);
if (state == OSSelected && draggingEdge && objectWasDragged)
painter->DrawHandle(dragPoint);
-
- // & finally, draw the object!
- painter->DrawEllipse(position, radius, radius);
}
/*virtual*/ Vector Circle::Center(void)