Weight pixels by their respective alpha value in wxImage::ResampleBox

Without this weighting, even the color value of invisible pixels with a zero
alpha would influence the result.

Closes #17724.
This commit is contained in:
Tim Kosse
2016-11-21 17:35:53 +01:00
committed by Vadim Zeitlin
parent 7684f92083
commit b99ad85b6f
2 changed files with 35 additions and 9 deletions

View File

@@ -114,6 +114,7 @@ All (GUI):
- Fix calculating point position in wxDataViewCtrl::HitTest().
- Fix position of the rectangle returned by wxDataViewCtrl::GetItemRect().
- Add wxDataViewRenderer::GetAccessibleDescription().
- Improve wxImage::Scale() handling of pixels with alpha channel (Tim Kosse).
wxGTK: