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
a64a3c82
Commit
a64a3c82
authored
Sep 04, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_SetDpi().
parent
3e2a7493
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
render_target.c
dlls/d2d1/render_target.c
+12
-1
No files found.
dlls/d2d1/render_target.c
View file @
a64a3c82
...
...
@@ -461,7 +461,18 @@ static D2D1_PIXEL_FORMAT STDMETHODCALLTYPE d2d_d3d_render_target_GetPixelFormat(
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_SetDpi
(
ID2D1RenderTarget
*
iface
,
float
dpi_x
,
float
dpi_y
)
{
FIXME
(
"iface %p, dpi_x %.8e, dpi_y %.8e stub!
\n
"
,
iface
,
dpi_x
,
dpi_y
);
struct
d2d_d3d_render_target
*
render_target
=
impl_from_ID2D1RenderTarget
(
iface
);
TRACE
(
"iface %p, dpi_x %.8e, dpi_y %.8e.
\n
"
,
iface
,
dpi_x
,
dpi_y
);
if
(
dpi_x
==
0
.
0
f
&&
dpi_y
==
0
.
0
f
)
{
dpi_x
=
96
.
0
f
;
dpi_y
=
96
.
0
f
;
}
render_target
->
dpi_x
=
dpi_x
;
render_target
->
dpi_y
=
dpi_y
;
}
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_GetDpi
(
ID2D1RenderTarget
*
iface
,
float
*
dpi_x
,
float
*
dpi_y
)
...
...
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