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
651332ee
Commit
651332ee
authored
Feb 20, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better implementation of EMF record EMR_EXTSELECTCLIPRGN.
parent
0385d9e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
enhmetafile.c
objects/enhmetafile.c
+4
-11
No files found.
objects/enhmetafile.c
View file @
651332ee
...
...
@@ -704,17 +704,10 @@ BOOL WINAPI PlayEnhMetaFileRecord(
case
EMR_EXTSELECTCLIPRGN
:
{
PEMREXTSELECTCLIPRGN
lpRgn
=
(
PEMREXTSELECTCLIPRGN
)
mr
;
if
((
lpRgn
->
cbRgnData
==
0
)
&&
(
lpRgn
->
iMode
==
RGN_COPY
))
{
ExtSelectClipRgn
(
hdc
,
0
,
RGN_COPY
);
}
else
{
FIXME
(
"EMR_EXTSELECTCLIPRGN cbRgnData %lu
\n
"
,
lpRgn
->
cbRgnData
);
/* Need to make a region out of the RGNDATA we have */
/* ExtCreateRegion(....); */
/* ExtSelectClipRgn( hdc, ..., (INT)(lpRgn->iMode) ); */
}
HRGN
hRgn
=
ExtCreateRegion
(
NULL
,
lpRgn
->
cbRgnData
,
(
RGNDATA
*
)
lpRgn
->
RgnData
);
ExtSelectClipRgn
(
hdc
,
hRgn
,
(
INT
)(
lpRgn
->
iMode
));
/* ExtSelectClipRgn created a copy of the region */
DeleteObject
(
hRgn
);
break
;
}
...
...
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