Vincent Povirk : gdiplus: Add fixmes for unimplemented imageattributes features.
Alexandre Julliard
julliard at winehq.org
Fri Apr 16 10:56:02 CDT 2010
Module: wine
Branch: master
Commit: ede103c699726b6480212a9bdc7e9dc16927f28b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ede103c699726b6480212a9bdc7e9dc16927f28b
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Apr 15 15:31:45 2010 -0500
gdiplus: Add fixmes for unimplemented imageattributes features.
---
dlls/gdiplus/graphics.c | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 94623db..7a6fad3 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -2080,6 +2080,14 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
if (imageAttributes)
{
+ if (imageAttributes->colorkeys[ColorAdjustTypeBitmap].enabled ||
+ imageAttributes->colorkeys[ColorAdjustTypeDefault].enabled)
+ {
+ static int fixme;
+ if (!fixme++)
+ FIXME("Color keying not implemented\n");
+ }
+
if (imageAttributes->colorremaptables[ColorAdjustTypeBitmap].enabled ||
imageAttributes->colorremaptables[ColorAdjustTypeDefault].enabled)
{
@@ -2105,6 +2113,22 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
}
}
}
+
+ if (imageAttributes->colormatrices[ColorAdjustTypeBitmap].enabled ||
+ imageAttributes->colormatrices[ColorAdjustTypeDefault].enabled)
+ {
+ static int fixme;
+ if (!fixme++)
+ FIXME("Color transforms not implemented\n");
+ }
+
+ if (imageAttributes->gamma_enabled[ColorAdjustTypeBitmap] ||
+ imageAttributes->gamma_enabled[ColorAdjustTypeDefault])
+ {
+ static int fixme;
+ if (!fixme++)
+ FIXME("Gamma adjustment not implemented\n");
+ }
}
stat = alpha_blend_pixels(graphics, dst_area.left, dst_area.top,
More information about the wine-cvs
mailing list