18 #ifndef QGSRASTERTRANSPARENCY_H 19 #define QGSRASTERTRANSPARENCY_H 21 #include "qgis_core.h" 64 QList<QgsRasterTransparency::TransparentSingleValuePixel> transparentSingleValuePixelList()
const;
67 QList<QgsRasterTransparency::TransparentThreeValuePixel> transparentThreeValuePixelList()
const;
70 void initializeTransparentPixelList(
double );
73 void initializeTransparentPixelList(
double,
double,
double );
76 void setTransparentSingleValuePixelList(
const QList<QgsRasterTransparency::TransparentSingleValuePixel> &newList
SIP_TRANSFER );
79 void setTransparentThreeValuePixelList(
const QList<QgsRasterTransparency::TransparentThreeValuePixel> &newList
SIP_TRANSFER );
82 int alphaValue(
double,
int globalTransparency = 255 )
const;
85 int alphaValue(
double,
double,
double,
int globalTransparency = 255 )
const;
93 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const;
98 void readXml(
const QDomElement &elem );
102 QList<QgsRasterTransparency::TransparentThreeValuePixel> mTransparentThreeValuePixelList;
105 QList<QgsRasterTransparency::TransparentSingleValuePixel> mTransparentSingleValuePixelList;
double percentTransparent
Defines the list of pixel values to be considered as transparent or semi transparent when rendering r...
double percentTransparent