Logo Search packages:      
Sourcecode: djvulibre version File versions

int DjVuImage::get_real_width (  )  const

Returns the width of the DjVu image. This function just extracts this information from the DjVu information component. It returns zero if such a component is not yet available.

Definition at line 333 of file DjVuImage.cpp.

References get_info().

Referenced by get_decoded_anno(), map(), and unmap().

   GP<DjVuInfo> info=get_info();
   return info ? info->width : 0;

Generated by  Doxygen 1.6.0   Back to index