Sweden-Number/dlls/gdiplus
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
..
tests gdiplus: GdipGraphicsClear() should overwrite pixels, not alpha blend. 2019-12-13 21:01:59 +01:00
Makefile.in gdiplus: Build with ucrtbase. 2019-08-07 00:12:25 +02:00
brush.c gdiplus: Trace GpRectF arguments. 2019-10-21 19:56:07 +02:00
customlinecap.c
font.c
gdiplus.c
gdiplus.manifest
gdiplus.rc
gdiplus.spec gdiplus: Add GdipRecordMetafileStreamI(). 2019-08-21 20:03:44 +02:00
gdiplus11.manifest
gdiplus_private.h
graphics.c gdiplus: GdipGraphicsClear() should overwrite pixels, not alpha blend. 2019-12-13 21:01:59 +01:00
graphicspath.c
image.c
imageattributes.c
matrix.c gdiplus: Trace GpRectF arguments. 2019-10-21 19:56:07 +02:00
metafile.c gdiplus: Trace GpRectF arguments. 2019-10-21 19:56:07 +02:00
pathiterator.c
pen.c
region.c gdiplus: Trace GpRectF arguments. 2019-10-21 19:56:07 +02:00
stringformat.c