• Vincent Povirk's avatar
    gdiplus: Explicitly copy the bits from dib sections to new bitmaps. · 3424dac3
    Vincent Povirk authored
    On Windows, GdipCreateBitmapFromHBITMAP creates a copy of the bitmap, not
    a reference. Currently, we match this behavior, but this is only because
    we cannot yet create bitmap objects that reference existing memory. If
    GdipCreateBitmapFromScan0 were fixed to do this, FromHBITMAP would break.
    
    Therefore, we always pass NULL to FromScan0 so that it allocates new memory
    for the bitmap.
    3424dac3
Name
Last commit
Last update
..
Makefile.in Loading commit data...
brush.c Loading commit data...
customlinecap.c Loading commit data...
font.c Loading commit data...
graphics.c Loading commit data...
graphicspath.c Loading commit data...
image.c Loading commit data...
matrix.c Loading commit data...
pathiterator.c Loading commit data...
pen.c Loading commit data...
region.c Loading commit data...
stringformat.c Loading commit data...