[Qgis-developer] Patch for qgsvertexmarker

Tim Sutton tim at linfiniti.com
Fri Feb 9 02:35:57 EST 2007


Hi
Hi

Since no one else has responded I will take a look at your patch. Many
thanks for your contribution. In future it could be helpful if you
include a small description of what the patch is for, what problem it
solves and which branch of QGIS it should be applied against.

Many thanks

Tim

2007/2/8, sploid <sploid at yandex.ru>:
> Index: src/gui/qgsvertexmarker.cpp
>
> ===================================================================
>
> --- src/gui/qgsvertexmarker.cpp (revision 6522)
>
> +++ src/gui/qgsvertexmarker.cpp (working copy)
>
> @@ -77,8 +77,8 @@
>
>
> QRectF QgsVertexMarker::boundingRect() const
>
> {
>
> - qreal s = mIconSize / 2;
>
> - return QRectF(-s,-s,s,s);
>
> + qreal s = qreal(mIconSize + QPen(QColor(255,0,0)).width()) / 2.0;
>
> + return QRectF(-s,-s,2.0*s,2.0*s);
>
> }
>
>
> void QgsVertexMarker::updatePosition()
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>


-- 
-- 
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: tim_bdworld at msn.com
Yahoo: tim_bdworld at yahoo.com
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-developer mailing list