Logo Search packages:      
Sourcecode: djvulibre version File versions

void GRectMapper::set_output ( const GRect rect  ) 

Sets the output rectangle.

Definition at line 325 of file GRect.cpp.

References GRect::isempty().

Referenced by DjVuImage::get_decoded_anno(), DjVuImage::map(), DjVuToPS::print(), and DjVuImage::unmap().

{
  if (rect.isempty())
    G_THROW( ERR_MSG("GRect.empty_rect2") );
  rectTo = rect;
  rw = rh = GRatio();
}


Generated by  Doxygen 1.6.0   Back to index