[Qgis-developer] Rendering order for canvas vertices

Rudi von Staden rudivs at gmail.com
Wed May 1 05:30:57 PDT 2013


Is there some way to change the rendering order of elements on the canvas?
In a plugin I'm working on, I have a large number of vertices implemented
with QgsVertexMarker(). As the user selects different vertices, the colour
changes from green to red. This all works fine, but it sometimes happens
that one vertex is hidden behind another one nearby, and in these cases you
can't see the red vertex on the map (see http://snag.gy/9fB5s.jpg for
example).

Is there some way to change the rendering order of a vertex to bring it to
the top?

Regards,
Rudi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130501/17ec94aa/attachment.html>


More information about the Qgis-developer mailing list