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
7df055f1
Commit
7df055f1
authored
Feb 06, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_bitmap_GetSize().
parent
4b0f47cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
bitmap.c
dlls/d2d1/bitmap.c
+5
-3
No files found.
dlls/d2d1/bitmap.c
View file @
7df055f1
...
...
@@ -79,10 +79,12 @@ static void STDMETHODCALLTYPE d2d_bitmap_GetFactory(ID2D1Bitmap *iface, ID2D1Fac
static
D2D1_SIZE_F
*
STDMETHODCALLTYPE
d2d_bitmap_GetSize
(
ID2D1Bitmap
*
iface
,
D2D1_SIZE_F
*
size
)
{
FIXME
(
"iface %p, size %p stub!
\n
"
,
iface
,
size
);
struct
d2d_bitmap
*
bitmap
=
impl_from_ID2D1Bitmap
(
iface
);
TRACE
(
"iface %p, size %p.
\n
"
,
iface
,
size
);
size
->
width
=
0
.
0
f
;
size
->
height
=
0
.
0
f
;
size
->
width
=
bitmap
->
pixel_size
.
width
/
(
bitmap
->
dpi_x
/
96
.
0
f
)
;
size
->
height
=
bitmap
->
pixel_size
.
height
/
(
bitmap
->
dpi_y
/
96
.
0
f
)
;
return
size
;
}
...
...
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