gdiplus: Add stubs for GdipGetVisibleClipBoundsI, GdipDrawDriverString & GdipMeasureDriverString

Nikolay Sivov bunglehead at gmail.com
Tue Jun 9 15:56:44 CDT 2009


Ken Sharp wrote:
> These stubs stop three crashes in Photoshop CS4.
> >From 4e5dd892a7a577001072fd7701467c262c483b1f Mon Sep 17 00:00:00 2001
> From: Ken Sharp <kennybobs at o2.co.uk>
> Date: Tue, 9 Jun 2009 21:48:05 +0100
> Subject: [PATCH] gdiplus: Add stubs for GdipGetVisibleClipBoundsI, GdipDrawDriverString & GdipMeasureDriverString
>
> This fixes three crashes in Photoshop CS4.
> ---
>  dlls/gdiplus/gdiplus.spec |    6 +++---
>  dlls/gdiplus/graphics.c   |   35 ++++++++++++++++++++++++++++++++++-
>  2 files changed, 37 insertions(+), 4 deletions(-)
> +GpStatus WINGDIPAPI GdipMeasureDriverString(GpGraphics *graphics, GDIPCONST UINT16 *text, INT length,
> +                                            GDIPCONST GpFont *font, GDIPCONST PointF *positions,
> +                                            INT flags, GDIPCONST GpMatrix *matrix, RectF *boundingBox)
> +{
> +    FIXME("(%p %p %d %p %p %d %p %p): stub\n", graphics, text, length, font, positions, flags, matrix, boundingBox);
> +    return FALSE;
> +}
> +
You should return NotImplemented.




More information about the wine-devel mailing list