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
75e8166d
Commit
75e8166d
authored
Feb 08, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pens created without PS_GEOMETRIC style but with width > 1 unit are
scalable.
parent
1ecef1c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pen.c
dlls/wineps/pen.c
+1
-1
pen.c
dlls/x11drv/pen.c
+1
-1
No files found.
dlls/wineps/pen.c
View file @
75e8166d
...
...
@@ -59,7 +59,7 @@ HPEN PSDRV_SelectPen( PSDRV_PDEVICE *physDev, HPEN hpen )
TRACE
(
"hpen = %p colour = %08lx
\n
"
,
hpen
,
logpen
.
lopnColor
);
physDev
->
pen
.
width
=
logpen
.
lopnWidth
.
x
;
if
(
logpen
.
lopnStyle
&
PS_GEOMETRIC
)
if
(
(
logpen
.
lopnStyle
&
PS_GEOMETRIC
)
||
(
physDev
->
pen
.
width
>
1
)
)
{
physDev
->
pen
.
width
=
PSDRV_XWStoDS
(
physDev
,
physDev
->
pen
.
width
);
if
(
physDev
->
pen
.
width
<
0
)
physDev
->
pen
.
width
=
-
physDev
->
pen
.
width
;
...
...
dlls/x11drv/pen.c
View file @
75e8166d
...
...
@@ -59,7 +59,7 @@ HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen )
physDev
->
pen
.
linejoin
=
logpen
.
lopnStyle
&
PS_JOIN_MASK
;
physDev
->
pen
.
width
=
logpen
.
lopnWidth
.
x
;
if
(
logpen
.
lopnStyle
&
PS_GEOMETRIC
)
if
(
(
logpen
.
lopnStyle
&
PS_GEOMETRIC
)
||
(
physDev
->
pen
.
width
>
1
)
)
{
physDev
->
pen
.
width
=
X11DRV_XWStoDS
(
physDev
,
physDev
->
pen
.
width
);
if
(
physDev
->
pen
.
width
<
0
)
physDev
->
pen
.
width
=
-
physDev
->
pen
.
width
;
...
...
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