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
e2e8487b
Commit
e2e8487b
authored
Oct 29, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Oct 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add GdipGetPenCompoundCount implementation.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=52196
parent
9d5d4dba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
pen.c
dlls/gdiplus/pen.c
+3
-3
pen.c
dlls/gdiplus/tests/pen.c
+1
-2
No files found.
dlls/gdiplus/pen.c
View file @
e2e8487b
...
...
@@ -528,12 +528,12 @@ GpStatus WINGDIPAPI GdipSetPenColor(GpPen *pen, ARGB argb)
GpStatus
WINGDIPAPI
GdipGetPenCompoundCount
(
GpPen
*
pen
,
INT
*
count
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
pen
,
count
);
TRACE
(
"(%p, %p)
\n
"
,
pen
,
count
);
if
(
!
pen
||
!
count
)
return
InvalidParameter
;
return
NotImplemented
;
*
count
=
pen
->
compound_array_size
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenCompoundArray
(
GpPen
*
pen
,
GDIPCONST
REAL
*
compoundarray
,
...
...
dlls/gdiplus/tests/pen.c
View file @
e2e8487b
...
...
@@ -370,10 +370,9 @@ static void test_compoundarray(void)
count
=
10
;
status
=
GdipGetPenCompoundCount
(
pen
,
&
count
);
todo_wine
{
expect
(
Ok
,
status
);
ok
(
count
==
0
,
"Unexpected compound count %d
\n
"
,
count
);
}
status
=
GdipSetPenCompoundArray
(
pen
,
NULL
,
0
);
expect
(
InvalidParameter
,
status
);
status
=
GdipSetPenCompoundArray
(
pen
,
NULL
,
4
);
...
...
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