[PATCH 1/3] gdiplus: Implement GdipGetPenTransform

Nikolay Sivov bunglehead at gmail.com
Fri Jan 29 04:33:44 CST 2016


On Friday, 29 January 2016, Alistair Leslie-Hughes <
leslie_alistair at hotmail.com> wrote:

> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com
> <javascript:;>>
> ---
>  dlls/gdiplus/gdiplus_private.h | 6 ++++++
>  dlls/gdiplus/pen.c             | 9 ++++-----
>  dlls/gdiplus/tests/pen.c       | 6 +++---
>  3 files changed, 13 insertions(+), 8 deletions(-)
>
> diff --git a/dlls/gdiplus/gdiplus_private.h
> b/dlls/gdiplus/gdiplus_private.h
> index 1af0bd0..1ed1e5e 100644
> --- a/dlls/gdiplus/gdiplus_private.h
> +++ b/dlls/gdiplus/gdiplus_private.h
> @@ -71,6 +71,11 @@ static inline BOOL heap_free(void *mem)
>      return HeapFree(GetProcessHeap(), 0, mem);
>  }
>
> +static inline void copy_matrix(GpMatrix *in, GpMatrix *out)
> +{
> +    memcpy(out, in, 6 * sizeof(REAL));
> +}
> +

 Simple assignment could be used instead of this helper.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160129/af2003b0/attachment.html>


More information about the wine-devel mailing list