[Qgis-developer] line renderer and composition mode

Jürgen E. Fischer jef at norbit.de
Wed Aug 27 12:01:18 PDT 2014


Hi Martin,

On Thu, 28. Aug 2014 at 00:36:28 +0700, Martin Dobias wrote:
> Agreed with Anita. We could just add 'source' feature blending mode to
> the list. Just tried the styling as described by Jürgen and then run
> this in python console:
> >>> iface.activeLayer().setFeatureBlendMode(QPainter.CompositionMode_Source)

> And it worked as expected - transparent line from "upper" symbol
> removed the previously painted dashed line.

Ah, nice.  Thanks.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140827/081ff4e9/attachment.pgp>


More information about the Qgis-developer mailing list