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

void GScaler::get_input_rect ( const GRect desired_output,
GRect required_input 

Computes which input pixels are required to compute specified output pixels. Let us assume that we only need a part of the output image. This part is defined by rectangle desired_output#. Only a part of the input image is necessary to compute the output pixels. Function get_input_rect# computes the coordinates of that part of the input image, and stores them into rectangle required_input#.

Definition at line 290 of file GScaler.cpp.

  GRect red;
  make_rectangles(desired_output, red, required_input);

Generated by  Doxygen 1.6.0   Back to index