18 #ifndef QGSRASTERTRANSPARENCY_H
19 #define QGSRASTERTRANSPARENCY_H
57 QList<QgsRasterTransparency::TransparentSingleValuePixel> transparentSingleValuePixelList()
const;
60 QList<QgsRasterTransparency::TransparentThreeValuePixel> transparentThreeValuePixelList()
const;
63 void initializeTransparentPixelList(
double );
66 void initializeTransparentPixelList(
double,
double,
double );
69 void setTransparentSingleValuePixelList( QList<QgsRasterTransparency::TransparentSingleValuePixel> );
72 void setTransparentThreeValuePixelList( QList<QgsRasterTransparency::TransparentThreeValuePixel> );
75 int alphaValue(
double,
int theGlobalTransparency = 255 )
const;
78 int alphaValue(
double,
double,
double,
int theGlobalTransparency = 255 )
const;
83 void writeXML( QDomDocument& doc, QDomElement& parentElem )
const;
85 void readXML(
const QDomElement& elem );
89 QList<QgsRasterTransparency::TransparentThreeValuePixel> mTransparentThreeValuePixelList;
92 QList<QgsRasterTransparency::TransparentSingleValuePixel> mTransparentSingleValuePixelList;