]> Shamusworld >> Repos - architektonas/blobdiff - src/circle.cpp
First stabs at sizing dimension lines properly.
[architektonas] / src / circle.cpp
index 35c9d7c2e53f224dd97323229027b37c246ce88a..5750b1f0ecabb66ac2929f68cb4b6543ea035bbf 100644 (file)
@@ -4,7 +4,7 @@
 // (C) 2011 Underground Software
 // See the README and GPLv3 files for licensing and warranty information
 //
-// JLH = James L. Hammons <jlhamm@acm.org>
+// JLH = James Hammons <jlhamm@acm.org>
 //
 // WHO  WHEN        WHAT
 // ---  ----------  ------------------------------------------------------------
@@ -35,15 +35,15 @@ Circle::~Circle()
        else
                painter->SetPen(QPen(Qt::black, 1.0, Qt::SolidLine));
 
-       // Draw handles (if needed)
+       // 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)