Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

void DjVuToPS::Options::set_gamma ( double  gamma  ) 

Sets gamma correction factor. Ranges from #0.3# to #5.0#.

Definition at line 186 of file DjVuToPS.cpp.

{
  if  (xgamma<(double)(0.3-0.0001) || xgamma>(double)(5.0+0.0001))
    G_THROW(ERR_MSG("DjVuToPS.bad_gamma"));
  gamma=xgamma;
}


Generated by  Doxygen 1.6.0   Back to index