office-gobmx/vcl/source
Tomaž Vajngerl 53d51dbee6 One pass scale, rotate and crop using bilinear filtering and averaging.
With this commit I reintroduce one pass scale, rotate and crop that
was located in grfmgr2.cxx (now in Bitmap class) and was used for
preparing bitmaps for displaying on screen. By default the combination
of two filters is used: bilinear, which is a similar algorithm than
the "old" one, but with the same result, and averaging algorithm. Bilinear
filtering is used for bitmap enlarging and shrinking till factor 0.6. Below
this bilinear gives bad results because of limited sampling. For such cases
averaging is used which is a simple algorithm for shrinking. In averaging
the algorithm calculates the average of samples which result is the new
pixel. Currently both algorithms are not optimised.

One pass scale, rotate and crop should only be used for displaying of
images.

Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565
2012-07-24 22:17:27 +02:00
..
app fdo#47368 - fix one potential re-enterancy hazard around even emission 2012-07-23 14:54:16 +01:00
components Resolves: fdo#50975 rsvg_handle_new_from_data calls rsvg_handle_close 2012-07-23 14:01:37 +01:00
control fdo#48549 System::Beep() removal 2012-07-23 15:12:44 +01:00
fontsubset Resolves: fdo#51957 typo, endash entered twice, 2nd should be emdash 2012-07-17 16:23:18 +01:00
gdi One pass scale, rotate and crop using bilinear filtering and averaging. 2012-07-24 22:17:27 +02:00
glyphs
helper
salmain
src
window fdo#48549 System::Beep() removal 2012-07-23 15:12:44 +01:00