X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcircle.cpp;h=5750b1f0ecabb66ac2929f68cb4b6543ea035bbf;hb=9d5d4488ba75c407709556a7ed56b8d16e21834e;hp=9233f3e1c281dfb46470d12ba31070a808a6db14;hpb=043ecf4d074909ba2f7f53237962f9eaa72f19c2;p=architektonas diff --git a/src/circle.cpp b/src/circle.cpp index 9233f3e..5750b1f 100644 --- a/src/circle.cpp +++ b/src/circle.cpp @@ -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)