[Qgis-developer] Modifying image path for any vector symbols using svg/image

Akbar Gumbira akbargumbira at gmail.com
Thu Jul 14 07:22:39 PDT 2016


Hi,

I am trying to comprehensively modify image/svg paths of any kind of vector
symbol that is possible to use svg/image (QgsFillSymbolV2, QgsLineSymbolV2,
QgsMarkerSymbolV2). With the symbol layers (QgsSymbolLayerV2) possibilities
of the symbol, I got this breakdown:

For SVG Marker

> - QgsMarkerSymbolLayerV2
> -- QgsSVGMakerSymbolLayerV2
> --- .*path(), .setPath()*

For SVG marker line:

- QgsLineSymbolLayerV2
>  -- QgsMarkerLineSymbolLayerV2

   --- *.subSymbol().symbolLayers()* -> *QgsSymbolLayerV2* (run this
breakdown again)

For Fill symbol:

- QgsFillSymbolLayerV2
> -- QgsImageFillSymbolLayer
> --- QgsRasterFillSymbolLayer
> ---- *.imageFilePath(), .setImageFilePath()*
> --- QgsSVGFillSymbolLayer
> ---- *.svgFilePath(), .setSvgFilePath()*


Do I miss other possibilities? or perhaps is there an easier way to modify
the path?

Cheers
-- 

*-------------------*
*Akbar Gumbira *
*www.akbargumbira.com <http://www.akbargumbira.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160714/3014f5f5/attachment-0001.html>


More information about the Qgis-developer mailing list