vcl: make it possible to select specific scaling algorithm

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 17 July 2019 12:25 EDT

Default, Fast, BestQuality scaling flags are used for selecting the best sclaing algorithm for a specific task, but not all specialized sclaing algorithms have its own flag (Super, NearestNeighbor) and are just selectable using one of the above. This adds the missing flags so it's possible to select a specific algorithm.

Change-Id: Ied41f27a21a4fcc799537396f9077a9c77cc1c60 Reviewed-on: https://gerrit.libreoffice.org/75759

9fd53538f9ec vcl: make it possible to select specific scaling algorithm
include/vcl/bitmap.hxx | 13 +++++++------
vcl/source/gdi/bitmap3.cxx | 18 +++++++++++-------
2 files changed, 18 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share