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
cd17de88
Commit
cd17de88
authored
Nov 16, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Nov 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Fix shape of CustomLineCap created by GdipCreateAdjustableArrowCap.
parent
1271ae3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
customlinecap.c
dlls/gdiplus/customlinecap.c
+5
-5
No files found.
dlls/gdiplus/customlinecap.c
View file @
cd17de88
...
...
@@ -305,18 +305,18 @@ static void arrowcap_update_path(GpAdjustableArrowCap *cap)
points
[
2
].
X
=
cap
->
width
/
2
.
0
;
points
[
2
].
Y
=
-
cap
->
height
;
points
[
3
].
X
=
0
.
0
;
points
[
3
].
Y
=
-
cap
->
height
-
cap
->
middle_inset
;
points
[
3
].
Y
=
-
cap
->
height
+
cap
->
middle_inset
;
}
else
{
memcpy
(
cap
->
cap
.
pathdata
.
Types
,
types_unfilled
,
sizeof
(
types_unfilled
));
cap
->
cap
.
pathdata
.
Count
=
3
;
points
[
0
].
X
=
-
cap
->
width
/
4
.
0
;
points
[
0
].
Y
=
-
cap
->
height
/
2
.
0
;
points
[
0
].
X
=
-
cap
->
width
/
2
.
0
;
points
[
0
].
Y
=
-
cap
->
height
;
points
[
1
].
X
=
0
.
0
;
points
[
1
].
Y
=
0
.
0
;
points
[
2
].
X
=
cap
->
width
/
4
.
0
;
points
[
2
].
Y
=
-
cap
->
height
/
2
.
0
;
points
[
2
].
X
=
cap
->
width
/
2
.
0
;
points
[
2
].
Y
=
-
cap
->
height
;
}
if
(
cap
->
width
==
0
.
0
)
...
...
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