Get the scaling result that BitMapScale would.
Source position: agraphics.pas line 2154
function ScalerDiv( |
Factor: LongWord; |
Numerator: LongWord; |
Denominator: LongWord |
):Word; |
Factor |
|
A number in the range 0..16383 |
Numerator |
|
A number in the range 0..16383 |
Denominator |
|
A number in the range 0..16383 |
Returns factor * numerator / denominator
Calculate the expression (factor * numerator / denominator) such that the result is the same as the width of the destination result of BitMapScale() when the factor here is the width of the source, and the numerator and denominator are the XDestFactor and XSrcFactor for BitMapScale().
|
Perform raster scaling on a bit map. |