Base class for GBitmapScaler and GPixmapScaler.
Base class for GBitmapScaler and GPixmapScaler. This base class implements the common elements of class GBitmapScaler and GPixmapScaler. Functions set_input_size and set_output_size are used to specify the size of the input image and the size of the output image. Functions set_horz_ratio and set_vert_ratio may be used to override the scaling ratios computed from the image sizes. You can then call function get_input_rect to know which pixels of the input image are necessary to compute a specified rectangular zone of the output image. The actual computation is then performed by calling function scale in class GBitmapScaler and GPixmapScaler.
void set_output_size(int w, int h)
void set_horz_ratio(int numer, int denom)
void set_vert_ratio(int numer, int denom)
void get_input_rect( const GRect &desired_output, GRect &required_input )
Alphabetic index HTML hierarchy of classes or Java