Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b2b4b87c
Commit
b2b4b87c
authored
Jul 19, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipCloneBrush.
parent
7af2e97a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
brush.c
dlls/gdiplus/brush.c
+15
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/brush.c
View file @
b2b4b87c
...
...
@@ -21,6 +21,21 @@
#include "gdiplus.h"
#include "gdiplus_private.h"
GpStatus
WINGDIPAPI
GdipCloneBrush
(
GpBrush
*
brush
,
GpBrush
**
clone
)
{
if
(
!
brush
||
!
clone
)
return
InvalidParameter
;
*
clone
=
GdipAlloc
(
sizeof
(
GpBrush
));
if
(
!*
clone
)
return
OutOfMemory
;
memcpy
(
*
clone
,
brush
,
sizeof
(
GpBrush
));
(
*
clone
)
->
gdibrush
=
CreateBrushIndirect
(
&
(
*
clone
)
->
lb
);
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateSolidFill
(
ARGB
color
,
GpSolidFill
**
sf
)
{
COLORREF
col
=
ARGB2COLORREF
(
color
);
...
...
dlls/gdiplus/gdiplus.spec
View file @
b2b4b87c
...
...
@@ -43,7 +43,7 @@
@ stub GdipClearPathMarkers
@ stub GdipCloneBitmapArea
@ stub GdipCloneBitmapAreaI
@ st
ub GdipCloneBrush
@ st
dcall GdipCloneBrush(ptr ptr)
@ stdcall GdipCloneCustomLineCap(ptr ptr)
@ stub GdipCloneFont
@ stub GdipCloneFontFamily
...
...
include/gdiplusflat.h
View file @
b2b4b87c
...
...
@@ -64,6 +64,7 @@ GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
GpStatus
WINGDIPAPI
GdipSetPixelOffsetMode
(
GpGraphics
*
,
PixelOffsetMode
);
GpStatus
WINGDIPAPI
GdipSetSmoothingMode
(
GpGraphics
*
,
SmoothingMode
);
GpStatus
WINGDIPAPI
GdipCloneBrush
(
GpBrush
*
,
GpBrush
**
);
GpStatus
WINGDIPAPI
GdipCreateSolidFill
(
ARGB
,
GpSolidFill
**
);
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
,
GpBrushType
*
);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment