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
5f03c6c8
Commit
5f03c6c8
authored
Dec 28, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Wide cosmetic pens don't support dashes.
parent
ab63eb5c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
objects.c
dlls/gdi32/dibdrv/objects.c
+12
-10
No files found.
dlls/gdi32/dibdrv/objects.c
View file @
5f03c6c8
...
...
@@ -1305,25 +1305,27 @@ HPEN dibdrv_SelectPen( PHYSDEV dev, HPEN hpen )
switch
(
pdev
->
pen_style
)
{
case
PS_SOLID
:
case
PS_INSIDEFRAME
:
if
(
pdev
->
pen_width
<=
1
)
pdev
->
pen_lines
=
solid_pen_lines
;
else
pdev
->
pen_lines
=
wide_pen_lines
;
pdev
->
defer
&=
~
DEFER_PEN
;
break
;
case
PS_DASH
:
case
PS_DOT
:
case
PS_DASHDOT
:
case
PS_DASHDOTDOT
:
if
(
logpen
.
lopnStyle
&
PS_GEOMETRIC
)
break
;
if
(
logpen
.
lopnWidth
.
x
>
1
)
break
;
if
(
pdev
->
pen_width
==
1
)
/* wide cosmetic pens are not dashed */
{
pdev
->
pen_lines
=
dashed_pen_lines
;
pdev
->
pen_pattern
=
dash_patterns
[
pdev
->
pen_style
];
pdev
->
defer
&=
~
DEFER_PEN
;
break
;
}
/* fall through */
case
PS_SOLID
:
case
PS_INSIDEFRAME
:
if
(
pdev
->
pen_width
==
1
)
pdev
->
pen_lines
=
solid_pen_lines
;
else
pdev
->
pen_lines
=
wide_pen_lines
;
pdev
->
defer
&=
~
DEFER_PEN
;
break
;
case
PS_NULL
:
pdev
->
pen_lines
=
null_pen_lines
;
...
...
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