[QGIS-trac] [Quantum GIS] #2648: Improve rendering of selected features with V2 symbology

Quantum GIS qgis at qgis.org
Tue Apr 13 20:49:12 EDT 2010


#2648: Improve rendering of selected features with V2 symbology
------------------------------------------------+---------------------------
   Reporter:  ccrook                            |              Owner:  nobody       
       Type:  patch                             |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Symbology                         |            Version:  HEAD         
   Keywords:  selected symbols                  |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 The current implementation of rendering of selected features with V2
 rendering doesn't reflect the normal unselected symbology - it simply
 replaces points, lines, and polygons with a default renderer using the
 selected colour.

 This patch suggests an alternative, in which the selected state is passed
 from the renderer into the symbol and symbol layers, and in which each
 symbol layer build its own implementation of selected rendering.
 This has been implemented for each of the core symbol layer types as
 follows:
 *Simple marker symbols: simple symbols are selected by setting the fill or
 border colour (for unfilled symbols or where the current fill colour is
 the same as the selected colour).  If this doesn't differentiate the
 normal and selected version, then the selected version is completely
 filled with the selection colour.
 *SVN markers symbols: A circle in the selection colour is drawn under each
 SVN symbol
 *Font marker symbols: The font colour is changed to the selection colour
 *Line symbols - colours are changed to the selection colour
 *Polygon layers - colours are changed to the selection colour
 Also the transparency is disregarded for selected symbols - they are fully
 opaque

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2648>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list