Sweden-Number/dlls/gdiplus/tests
Damjan Jovanovic 3c8784bf9c gdiplus: GdipGraphicsClear() should overwrite pixels, not alpha blend.
All sample code in the Python Pyglet library suffers from terrible
text corruption, caused by the inability to erase the background
between rendering sequential font glyphs, resulting in leftovers
from previous letters mixing with the image of new letters.

This is because it attempts to erase the background by calling
GdipGraphicsClear() with ARGB color 0x00000000 (completely
transparent black), and in our gdiplus alpha blending that into
the background has no effect. It should be using
CompositeModeSourceCopy to overwrite the background with that brush
instead.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=30506
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 21:01:59 +01:00
..
Makefile.in
brush.c
customlinecap.c
font.c gdiplus/tests: Add some font family pointer tests. 2019-01-28 18:35:46 +01:00
graphics.c gdiplus/tests: Add some missing return value checks (Coverity). 2019-01-07 10:47:20 -06:00
graphicspath.c
image.c gdiplus: GdipGraphicsClear() should overwrite pixels, not alpha blend. 2019-12-13 21:01:59 +01:00
matrix.c
metafile.c gdiplus/tests: Fix a memory leak (Valgrind). 2019-01-23 23:52:09 +01:00
pathiterator.c
pen.c
region.c gdiplus/tests: Add some missing return value checks (Coverity). 2019-01-07 10:47:20 -06:00
resource.rc
stringformat.c
wine_longname.sfd
wine_longname.ttf