applyDibBrightnessToDib

Definition: applyDibBrightnessToDib(a32Dib dib_dest, a32Dib dib_src, integer dX, integer dY, integer sX1, integer sY1, integer sX2, integer sY2, integer pct)
Description: applies the brightness of a the rectangular region {sX1, sY1} -> {sX2, sY2} of a bitmap dib_src to the bitmap dib_dest at position {dX, dY}. pct is the percentage: 0 = do not apply brightness, 100 = apply full brightness