Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0f3db736
Commit
0f3db736
authored
Jun 24, 2016
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement playback of Clear operations.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5c6247f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
metafile.c
dlls/gdiplus/metafile.c
+6
-0
metafile.c
dlls/gdiplus/tests/metafile.c
+1
-1
No files found.
dlls/gdiplus/metafile.c
View file @
0f3db736
...
...
@@ -700,6 +700,12 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
case
EmfPlusRecordTypeGetDC
:
METAFILE_PlaybackGetDC
((
GpMetafile
*
)
metafile
);
break
;
case
EmfPlusRecordTypeClear
:
{
EmfPlusClear
*
record
=
(
EmfPlusClear
*
)
header
;
return
GdipGraphicsClear
(
metafile
->
playback_graphics
,
record
->
Color
);
}
case
EmfPlusRecordTypeFillRects
:
{
EmfPlusFillRects
*
record
=
(
EmfPlusFillRects
*
)
header
;
...
...
dlls/gdiplus/tests/metafile.c
View file @
0f3db736
...
...
@@ -928,7 +928,7 @@ static void test_clear(void)
stat
=
GdipBitmapGetPixel
(
bitmap
,
15
,
15
,
&
color
);
expect
(
Ok
,
stat
);
todo_wine
expect
(
0xffffff00
,
color
);
expect
(
0xffffff00
,
color
);
stat
=
GdipBitmapGetPixel
(
bitmap
,
25
,
25
,
&
color
);
expect
(
Ok
,
stat
);
...
...
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