WINGs: Changed algorithm to resize a pixmap while keeping aspect ratio
commitb6ffe90ec4b53122446c9b1ada9e82677e9bfdde
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 16 Apr 2014 20:59:35 +0000 (16 22:59 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 29 Apr 2014 09:15:27 +0000 (29 10:15 +0100)
tree0ad1958ccb267972111b49396b23a5de7c3ac8e5
parent36159c614f67e7481d86159434cd6a6b273f23b5
WINGs: Changed algorithm to resize a pixmap while keeping aspect ratio

The original code would not provide correctly sized images in some cases
of ratios on the original image and on the requested size.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/wpixmap.c