[5/5] gdiplus: Implement GdipImageSelectActiveFrame.

Vincent Povirk madewokherd at gmail.com
Tue Jun 19 09:09:36 CDT 2012


>> > +    if (stat == Ok)
>> > +    {
>> > +        memcpy(&new_image->format, &codec->info.FormatID, sizeof(GUID));
>> > +        free_image_data(image);
>> > +        if (image->type == ImageTypeBitmap)
>> > +            *(GpBitmap *)image = *(GpBitmap *)new_image;
>> > +        else if (image->type == ImageTypeMetafile)
>> > +            *(GpMetafile *)image = *(GpMetafile *)new_image;
>> > +        return Ok;
>> > +    }
>>
>> Why did you re-implement move_bitmap() ?
>
> An image can be not a bitmap.

Yes, but a non-bitmap (metafile) cannot have multiple frames.



More information about the wine-devel mailing list