writer shadow: Avoid a whole load of unnecessary scaling.
Instead of always scaling the bitmap to the right dimensions, only enlarge it when necessary, and crop it while painting by using DrawBitmapEx() that accepts the source size. Also use BMP_SCALE_FAST, it is enough here. Change-Id: I702ea5c9f119257ab83d49cf050ce8840e50b196
Showing
Please
register
or
sign in
to comment