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
4d003153
Commit
4d003153
authored
May 18, 2004
by
Huw Davies
Committed by
Alexandre Julliard
May 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When building PostScript paths with the *_PATH escapes, don't clip the
path building primitives. The clipping comes into play when we actually draw something.
parent
7c1ca0f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
clipping.c
dlls/wineps/clipping.c
+8
-3
No files found.
dlls/wineps/clipping.c
View file @
4d003153
...
...
@@ -54,6 +54,11 @@ void PSDRV_SetClip( PSDRV_PDEVICE *physDev )
TRACE
(
"hdc=%p
\n
"
,
physDev
->
hdc
);
if
(
physDev
->
pathdepth
)
{
TRACE
(
"inside a path, so not clipping
\n
"
);
goto
end
;
}
empty
=
!
GetClipRgn
(
physDev
->
hdc
,
hrgn
);
if
(
!
empty
)
{
...
...
@@ -123,8 +128,8 @@ void PSDRV_ResetClip( PSDRV_PDEVICE *physDev )
HRGN
hrgn
=
CreateRectRgn
(
0
,
0
,
0
,
0
);
BOOL
empty
;
empty
=
!
GetClipRgn
(
physDev
->
hdc
,
hrgn
);
if
(
!
empty
)
PSDRV_WriteGRestore
(
physDev
);
empty
=
!
GetClipRgn
(
physDev
->
hdc
,
hrgn
);
if
(
!
empty
&&
!
physDev
->
pathdepth
)
PSDRV_WriteGRestore
(
physDev
);
DeleteObject
(
hrgn
);
}
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