haiku/src/libs/icon
John Scipione afecfa9ca8 A few more bitmap icon updates, edge cases.
* Support downscaling icons to a size smaller than the source.
* For > 4x icon scaling do a scale4x followed by a bilinear scale.

Note that I tried to do a combination of scale2x/scale3x with bilinear scaling
and the results were worse than scale2x/scale3x with down scaling.

The 24x24 icon case looks pretty bad either using bilinear or scale2x followed
by a downscale because I am currently upscaling the 16x16 icon in Deskbar (we
didn't up until now support bitmap icon downscaling so I had no choice). It
might be a better idea to downscale the 32x32 version instead.

Note that all of the above has to do with bitmap icons ONLY and none of it
applies to HVIF icons that scale beautifully without these tricks.
2013-03-04 12:56:12 -05:00
..
flat_icon
message Compilation fixes for x86_64. 2013-01-04 18:45:22 +00:00
shape Compilation fixes for x86_64. 2013-01-04 18:45:22 +00:00
style Compilation fixes for x86_64. 2013-01-04 18:45:22 +00:00
transformable
transformer More catalog-related cleanup. 2012-04-16 21:31:22 +02:00
Icon.cpp
Icon.h
IconBuild.h
IconRenderer.cpp
IconRenderer.h
IconUtils.cpp A few more bitmap icon updates, edge cases. 2013-03-04 12:56:12 -05:00
Jamfile