[Qgis-developer] Clipping symbols

Tim Sutton tim at linfiniti.com
Tue Jan 8 17:03:54 EST 2008


Sounds good to me. I think the important things are that:

a) the fixed symbols all appear simlar sized relative to each other
b) they apear similar in size relative to svg symbols of the same size

It will be great if you can fix those clipping issues!



2008/1/8, Magnus Homann <magnus at homann.se>:
> In the rendering branch I'm trying to fix clipping of hard symbols
> (#705). Much of the confusion comes from the fact the pointSize does not
> determine a rectangular boundigbox, but instead specifies an area.
> So, for a hard marker with pointSize=10, the area should be the same
> between circel, rectangle, diamond and triangle, with the circle as the
> determining symbol.
> The interesting thing happens when you specifiy a diamond fitting into a
> 10x10 box, and with the same areas as a circle with radius=5. Not so
> easy withou clipping!
> And then there is the line width... :-)
> Can we all agree that instead a symbol with pointSize=10 should render a
> circle with radius=5, a rectangel with side=10, a diamond with
> *diagonal*=10 and a triangle with base and height=10. They will then all
> have different areas.
> The numbers above are including line width, so there will be no exact
> area scale.
> (Hmm, I got a deja vu writing this. Tim, did we discuss this a couple of
> years back? Creepy...)
> Magnus
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer

Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net

More information about the Qgis-developer mailing list