Lines Matching refs:Brightness
893 * RT_SetBrightness (int Brightness) *
895 * Inputs: int Brightness - the brightness value to be set. *
898 _X_EXPORT void RT_SetBrightness (TheatrePtr t, int Brightness)
908 if (Brightness < -1000)
910 Brightness = -1000;
912 else if (Brightness > 1000)
914 Brightness = 1000;
918 t->iBrightness = Brightness;
920 t->dbBrightnessRatio = (double) (Brightness+1000.0) / 10.0;
922 dbBrightness = (double) (Brightness)/10.0;