[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH 1/3] gdiplus: Implement GdipGetPenTransform
From: Nikolay Sivov <bunglehead () gmail ! com>
Date: 2016-01-29 10:33:44
Message-ID: CAG4Z_JLncz52TiwP=T7B1oCNcnt1bFc75kvnqrOAb3tj0P9SAg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Friday, 29 January 2016, Alistair Leslie-Hughes <
leslie_alistair@hotmail.com> wrote:
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@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.
[Attachment #5 (text/html)]
<br><br>On Friday, 29 January 2016, Alistair Leslie-Hughes <<a \
href="mailto:leslie_alistair@hotmail.com">leslie_alistair@hotmail.com</a>> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Signed-off-by: Alistair Leslie-Hughes <<a \
href="javascript:;" onclick="_e(event, 'cvml', \
'leslie_alistair@hotmail.com')">leslie_alistair@hotmail.com</a>><br>
---<br>
dlls/gdiplus/gdiplus_private.h | 6 ++++++<br>
dlls/gdiplus/pen.c | 9 ++++-----<br>
dlls/gdiplus/tests/pen.c | 6 +++---<br>
3 files changed, 13 insertions(+), 8 deletions(-)<br>
<br>
diff --git a/dlls/gdiplus/gdiplus_private.h b/dlls/gdiplus/gdiplus_private.h<br>
index 1af0bd0..1ed1e5e 100644<br>
--- a/dlls/gdiplus/gdiplus_private.h<br>
+++ b/dlls/gdiplus/gdiplus_private.h<br>
@@ -71,6 +71,11 @@ static inline BOOL heap_free(void *mem)<br>
return HeapFree(GetProcessHeap(), 0, mem);<br>
}<br>
<br>
+static inline void copy_matrix(GpMatrix *in, GpMatrix *out)<br>
+{<br>
+ memcpy(out, in, 6 * sizeof(REAL));<br>
+}<br>
+</blockquote><div> Simple assignment could be used instead of this helper. \
<span></span></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic