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
380abdeb
Commit
380abdeb
authored
Aug 02, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Aug 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Fix vertical string alignment.
parent
507daa21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
graphics.c
dlls/gdiplus/graphics.c
+3
-2
No files found.
dlls/gdiplus/graphics.c
View file @
380abdeb
...
...
@@ -4643,7 +4643,8 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
GpPointF
pt
[
3
],
rectcpy
[
4
];
POINT
corners
[
4
];
REAL
rel_width
,
rel_height
;
INT
offsety
=
0
,
save_state
;
INT
save_state
;
REAL
offsety
=
0
.
0
;
struct
draw_string_args
args
;
RectF
scaled_rect
;
HDC
hdc
,
temp_hdc
=
NULL
;
...
...
@@ -4719,7 +4720,7 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
args
.
brush
=
brush
;
args
.
x
=
rect
->
X
;
args
.
y
=
rect
->
Y
;
args
.
y
=
rect
->
Y
+
offsety
;
args
.
rel_width
=
rel_width
;
args
.
rel_height
=
rel_height
;
...
...
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