wxwidgets/tests/graphics
Vadim Zeitlin 538eafc78b Fix bug with wrong GetIndexToUpscale() return value
Only assign known good values of the index to "indexLast" as otherwise
we could end up returning an invalid index value from it if "indexBest"
was never set and the last index wasn't a valid one, as it happened in
wxBitmapBundleImplSet containing an original bitmap and a x2 scaled copy
of it, which shouldn't be used for further scaling.

Add a unit test checking that this bug is fixed now.
2022-06-03 00:44:59 +01:00
..
affinematrix.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
bitmap.cpp Add wxBitmap(wxImage, wxDC) ctor to all ports 2022-04-12 19:08:56 +01:00
bmpbundle.cpp Fix bug with wrong GetIndexToUpscale() return value 2022-06-03 00:44:59 +01:00
boundingbox.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
clippingbox.cpp Add tests of clipping regions with wxDC with RTL layout enabled 2021-11-28 17:05:34 +01:00
colour.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
coords.cpp Add a workaround for failing test under Wine 2022-05-02 22:42:42 +02:00
ellipsization.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
graphbitmap.cpp Disable Direct2D checks failing under Wine 2021-08-24 17:12:05 +02:00
graphmatrix.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
graphpath.cpp Disable Direct2D checks failing under Wine 2021-08-24 17:12:05 +02:00
imagelist.cpp Simplify bitmap size checks in wxImageList tests 2022-05-23 15:05:47 +01:00
measuring.cpp Use function, not class, in GetTextExtent() unit tests 2022-03-29 14:11:14 +01:00