• Vincent Povirk's avatar
    gdiplus: Fix blend_colors when alpha channel differs. · 9c579023
    Vincent Povirk authored
    When picking a color halfway between 100% white (0xffffffff) and fully
    transparent (0x00000000), the result was 50% opaque 50% grey
    (0x80808080) when it should really be 50% opaque white (0x80ffffff).
    This had a tendency to create grey fringes on things. The fix is to
    weight the non-alpha components based on how much they contribute to
    the final alpha value.
    9c579023
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
brush.c Loading commit data...
customlinecap.c Loading commit data...
font.c Loading commit data...
gdiplus.c Loading commit data...
gdiplus.manifest Loading commit data...
gdiplus.rc Loading commit data...
gdiplus.spec Loading commit data...
gdiplus_private.h Loading commit data...
graphics.c Loading commit data...
graphicspath.c Loading commit data...
image.c Loading commit data...
imageattributes.c Loading commit data...
matrix.c Loading commit data...
metafile.c Loading commit data...
pathiterator.c Loading commit data...
pen.c Loading commit data...
region.c Loading commit data...
stringformat.c Loading commit data...