Very small thing: If a node is rendered with an icon, as defined by the
current style, there's still that grey 4 by 4 pixels dot under the icon.
If the icon is transparent in the centre, you see that dot through it.
This patch removes the dot if an icon is drawn. Makes circle-shaped
icons with a hole more pleasing to look at. :)

PS: I've got the impression I'm kinda spamming this list with patches.
Is there a more suitable place to submit them for discussion?

-- 
Yves Goergen "LonelyPixel" <[email protected]>
Visit my web laboratory at http://beta.unclassified.de
--- merkaartor\PaintStyle\PaintStyle.cpp.orig   Fri Jan 02 23:21:07 2009
+++ merkaartor\PaintStyle\PaintStyle.cpp        Thu Jan 08 17:12:42 2009
@@ -780,7 +780,6 @@
                        IconError = true;
                else {
                        QPoint C(theProjection.project(Pt->position()));
-                       
thePainter.fillRect(QRect(C-QPoint(2,2),QSize(4,4)),QColor(0,0,0,128));
                        thePainter.drawPixmap( int(C.x()-pm.width()/2), 
int(C.y()-pm.height()/2) , pm);
                }
        }
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to