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
1fd0cf68
Commit
1fd0cf68
authored
Jun 15, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_text_renderer_DrawGlyphRun().
parent
8b170f0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
render_target.c
dlls/d2d1/render_target.c
+18
-3
No files found.
dlls/d2d1/render_target.c
View file @
1fd0cf68
...
...
@@ -1293,12 +1293,27 @@ static HRESULT STDMETHODCALLTYPE d2d_text_renderer_DrawGlyphRun(IDWriteTextRende
float
baseline_origin_x
,
float
baseline_origin_y
,
DWRITE_MEASURING_MODE
measuring_mode
,
const
DWRITE_GLYPH_RUN
*
glyph_run
,
const
DWRITE_GLYPH_RUN_DESCRIPTION
*
desc
,
IUnknown
*
effect
)
{
FIXME
(
"iface %p, ctx %p, baseline_origin_x %.8e, baseline_origin_y %.8e, "
"measuring_mode %#x, glyph_run %p, desc %p, effect %p stub!
\n
"
,
struct
d2d_d3d_render_target
*
render_target
=
impl_from_IDWriteTextRenderer
(
iface
);
D2D1_POINT_2F
baseline_origin
=
{
baseline_origin_x
,
baseline_origin_y
};
struct
d2d_draw_text_layout_ctx
*
context
=
ctx
;
TRACE
(
"iface %p, ctx %p, baseline_origin_x %.8e, baseline_origin_y %.8e, "
"measuring_mode %#x, glyph_run %p, desc %p, effect %p.
\n
"
,
iface
,
ctx
,
baseline_origin_x
,
baseline_origin_y
,
measuring_mode
,
glyph_run
,
desc
,
effect
);
return
E_NOTIMPL
;
if
(
desc
)
FIXME
(
"Ignoring glyph run description %p.
\n
"
,
desc
);
if
(
effect
)
FIXME
(
"Ignoring effect %p.
\n
"
,
effect
);
if
(
context
->
options
)
FIXME
(
"Ignoring options %#x.
\n
"
,
context
->
options
);
TRACE
(
"%s
\n
"
,
debugstr_wn
(
desc
->
string
,
desc
->
stringLength
));
ID2D1RenderTarget_DrawGlyphRun
(
&
render_target
->
ID2D1RenderTarget_iface
,
baseline_origin
,
glyph_run
,
context
->
brush
,
measuring_mode
);
return
S_OK
;
}
static
HRESULT
STDMETHODCALLTYPE
d2d_text_renderer_DrawUnderline
(
IDWriteTextRenderer
*
iface
,
void
*
ctx
,
...
...
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