AW: [Qgis-developer] Addition to QgsRenderContext
marco.hugentobler at karto.baug.ethz.ch
Tue Aug 4 13:29:04 EDT 2009
How would you add the transparency to the render context?
The rendercontext is meant to contain information about the rendering procedure as a whole (so not information that is layer or even symbol specific). Is it perhaps possible to extend the cache such that it stores the transparency value for which it is valid (and the resolution, that would be great for printing)?
Von: qgis-developer-bounces at lists.osgeo.org im Auftrag von Magnus Homann
Gesendet: Di 04.08.2009 17:29
An: qgis-developer at lists.osgeo.org
Betreff: [Qgis-developer] Addition to QgsRenderContext
Is it OK to add transparency setting into the render context? This would make it much easier to
cache point symbols with transparency.
/**Painter for rendering operations*/
/**For transformation between coordinate systems. Can be 0 if on-the-fly reprojection is not used*/
/**True if vertex markers for editing should be drawn*/
/**If true then no rendered vector elements should be cached as image*/
/**True if the rendering has been canceled*/
/**Factor to scale line widths and point marker sizes*/
/**Factor to scale rasters*/
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
More information about the Qgis-developer