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
20065207
Commit
20065207
authored
Nov 07, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Nov 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add GdipSetCustomLineCapBaseInset implementation.
parent
bc8ced22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
customlinecap.c
dlls/gdiplus/customlinecap.c
+5
-5
customlinecap.c
dlls/gdiplus/tests/customlinecap.c
+8
-0
No files found.
dlls/gdiplus/customlinecap.c
View file @
20065207
...
...
@@ -220,14 +220,14 @@ GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap* custom,
GpStatus
WINGDIPAPI
GdipSetCustomLineCapBaseInset
(
GpCustomLineCap
*
custom
,
REAL
inset
)
{
static
int
calls
;
TRACE
(
"(%p,%0.2f)
\n
"
,
custom
,
inset
);
if
(
!
(
calls
++
)
)
FIXME
(
"not implemented
\n
"
)
;
if
(
!
custom
)
return
InvalidParameter
;
return
NotImplemented
;
custom
->
inset
=
inset
;
return
Ok
;
}
/*FIXME: LineJoin completely ignored now */
...
...
dlls/gdiplus/tests/customlinecap.c
View file @
20065207
...
...
@@ -165,6 +165,14 @@ static void test_inset(void)
expect
(
Ok
,
stat
);
expectf
(
0
.
0
,
inset
);
stat
=
GdipSetCustomLineCapBaseInset
(
custom
,
2
.
0
);
expect
(
Ok
,
stat
);
inset
=
(
REAL
)
0xdeadbeef
;
stat
=
GdipGetCustomLineCapBaseInset
(
custom
,
&
inset
);
expect
(
Ok
,
stat
);
ok
(
inset
==
2
.
0
,
"Unexpected inset value %f
\n
"
,
inset
);
GdipDeleteCustomLineCap
(
custom
);
GdipDeletePath
(
path
);
}
...
...
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