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
3ef52065
Commit
3ef52065
authored
Oct 19, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Oct 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Pass a dib_info structure to draw_glyph.
parent
21c45016
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
graphics.c
dlls/gdi32/dibdrv/graphics.c
+4
-4
No files found.
dlls/gdi32/dibdrv/graphics.c
View file @
3ef52065
...
...
@@ -440,7 +440,7 @@ static inline void get_text_bkgnd_masks( dibdrv_physdev *pdev, rop_mask *mask )
}
}
static
void
draw_glyph
(
dib
drv_physdev
*
pdev
,
const
POINT
*
origin
,
const
GLYPHMETRICS
*
metrics
,
static
void
draw_glyph
(
dib
_info
*
dib
,
const
POINT
*
origin
,
const
GLYPHMETRICS
*
metrics
,
const
dib_info
*
glyph_dib
,
DWORD
text_color
,
const
struct
intensity_range
*
ranges
,
const
struct
clipped_rects
*
clipped_rects
,
RECT
*
bounds
)
...
...
@@ -462,8 +462,8 @@ static void draw_glyph( dibdrv_physdev *pdev, const POINT *origin, const GLYPHME
src_origin
.
x
=
clipped_rect
.
left
-
rect
.
left
;
src_origin
.
y
=
clipped_rect
.
top
-
rect
.
top
;
pdev
->
dib
.
funcs
->
draw_glyph
(
&
pdev
->
dib
,
&
clipped_rect
,
glyph_dib
,
&
src_origin
,
text_color
,
ranges
);
dib
->
funcs
->
draw_glyph
(
dib
,
&
clipped_rect
,
glyph_dib
,
&
src_origin
,
text_color
,
ranges
);
}
}
}
...
...
@@ -690,7 +690,7 @@ BOOL dibdrv_ExtTextOut( PHYSDEV dev, INT x, INT y, UINT flags,
if
(
err
)
continue
;
if
(
glyph_dib
.
bits
.
ptr
)
draw_glyph
(
pdev
,
&
origin
,
&
metrics
,
&
glyph_dib
,
text_color
,
ranges
,
&
clipped_rects
,
&
bounds
);
draw_glyph
(
&
pdev
->
dib
,
&
origin
,
&
metrics
,
&
glyph_dib
,
text_color
,
ranges
,
&
clipped_rects
,
&
bounds
);
free_dib_info
(
&
glyph_dib
);
...
...
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