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
81bbd17c
Commit
81bbd17c
authored
Jan 30, 2011
by
David Hedberg
Committed by
Alexandre Julliard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Stay within the clipping area when painting text background.
parent
bf192f6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
font.c
dlls/gdi32/font.c
+10
-1
No files found.
dlls/gdi32/font.c
View file @
81bbd17c
...
...
@@ -2030,7 +2030,16 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
rc
.
right
=
x
+
width
.
x
;
rc
.
top
=
y
-
tm
.
tmAscent
;
rc
.
bottom
=
y
+
tm
.
tmDescent
;
dc
->
funcs
->
pExtTextOut
(
dc
->
physDev
,
0
,
0
,
ETO_OPAQUE
,
&
rc
,
NULL
,
0
,
NULL
);
if
(
flags
&
ETO_CLIPPED
)
{
rc
.
left
=
max
(
lprect
->
left
,
rc
.
left
);
rc
.
right
=
min
(
lprect
->
right
,
rc
.
right
);
rc
.
top
=
max
(
lprect
->
top
,
rc
.
top
);
rc
.
bottom
=
min
(
lprect
->
bottom
,
rc
.
bottom
);
}
if
(
rc
.
left
<
rc
.
right
&&
rc
.
top
<
rc
.
bottom
)
dc
->
funcs
->
pExtTextOut
(
dc
->
physDev
,
0
,
0
,
ETO_OPAQUE
,
&
rc
,
NULL
,
0
,
NULL
);
}
}
}
...
...
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