sorry previous commit message was wrong, should read

added shrink procedure with proper color averaging, it is triggered from scale in case the old with/height are multiples of the new width/height


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-03-03 15:35:52 +00:00
parent fd9655adba
commit c8ce283736

View File

@@ -258,7 +258,6 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const
for (long y = 0; y < height; y++)
{
for (long x = 0; x < width; x++)
{
unsigned long avgRed = 0 ;