NAMEScalerDiv -- Get the scaling result that BitMapScale would. (V36)SYNOPSISresult = ScalerDiv(factor, numerator, denominator) D0 D0 D1 D2 UWORD ScalerDiv(UWORD, UWORD, UWORD);FUNCTIONCalculate 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.INPUTSfactor - a number in the range 0..16383 numerator, denominator - numbers in the range 1..16383RESULTthis returns factor*numerator/denominator

[Back to Amiga Developer Docs]