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
e933da4f
Commit
e933da4f
authored
Feb 11, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Feb 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Copy hatch brushes using the create function.
The DIB used in the LOGBRUSH doesn't last long enough.
parent
1aa3308f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
brush.c
dlls/gdiplus/brush.c
+4
-6
No files found.
dlls/gdiplus/brush.c
View file @
e933da4f
...
...
@@ -60,13 +60,11 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
break
;
}
case
BrushTypeHatchFill
:
*
clone
=
GdipAlloc
(
sizeof
(
GpHatch
));
if
(
!*
clone
)
return
OutOfMemory
;
memcpy
(
*
clone
,
brush
,
sizeof
(
GpHatch
));
{
GpHatch
*
hatch
=
(
GpHatch
*
)
brush
;
(
*
clone
)
->
gdibrush
=
CreateBrushIndirect
(
&
(
*
clone
)
->
lb
);
break
;
return
GdipCreateHatchBrush
(
hatch
->
hatchstyle
,
hatch
->
forecol
,
hatch
->
backcol
,
(
GpHatch
**
)
clone
);
}
case
BrushTypePathGradient
:{
GpPathGradient
*
src
,
*
dest
;
INT
count
;
...
...
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