67 double myPixelValue = theValue;
83 *theReturnRedValue = 0;
85 *theReturnBlueValue = 255;
87 *theReturnRedValue = 255 - *theReturnGreenValue;
93 *theReturnGreenValue = 255;
96 *theReturnGreenValue = *theReturnBlueValue;
101 *theReturnGreenValue = 255;
103 *theReturnBlueValue = 0;
105 *theReturnRedValue = *theReturnGreenValue;
106 *theReturnGreenValue = 255 - *theReturnGreenValue;
112 bool QgsFreakOutShader::shade(
double theRedValue,
double theGreenValue,
double theBlueValue,
int* theReturnRedValue,
int* theReturnGreenValue,
int* theReturnBlueValue )
114 *theReturnRedValue = 0;
115 *theReturnGreenValue = 0;
116 *theReturnBlueValue = 0;