Logo Search packages:      
Sourcecode: djvulibre version File versions

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

Renders the image and returns a color pixel 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 1201 of file DjVuImage.cpp.

  return do_pixmap(*this, & DjVuImage::get_pixmap, rect, all, gamma);

Generated by  Doxygen 1.6.0   Back to index