Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< GPixmap > DjVuImage::get_bg_pixmap ( const GRect rect,
const GRect all,
double  gamma = 0 
) const

Renders the background layer of the DjVu image. Rectangles rect# and all# are used as explained above. Color correction is performed according to argument gamma#, which represents the gamma coefficient of the display device on which the pixmap will be rendered. The default value, zero, means that no color correction should be performed. This function returns a null pointer if there is not enough information in the DjVu image to properly render the desired image.

Definition at line 1213 of file DjVuImage.cpp.

{
  return do_pixmap(*this, & DjVuImage::get_bg_pixmap, rect, all, gamma);
}


Generated by  Doxygen 1.6.0   Back to index