X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcircle.cpp;h=8e5f6cddc7fc3937e116d25340e8af1ffc4738e0;hb=7b7c8ec7d7f5379e09a8b7392f465f41639b0c79;hp=9233f3e1c281dfb46470d12ba31070a808a6db14;hpb=043ecf4d074909ba2f7f53237962f9eaa72f19c2;p=architektonas diff --git a/src/circle.cpp b/src/circle.cpp index 9233f3e..8e5f6cd 100644 --- a/src/circle.cpp +++ b/src/circle.cpp @@ -35,15 +35,21 @@ Circle::~Circle() 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)