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
fa12cffa
Commit
fa12cffa
authored
Jul 19, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement GetResolution() for bitmap clipper.
parent
4bbb285d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
clipper.c
dlls/windowscodecs/clipper.c
+12
-3
No files found.
dlls/windowscodecs/clipper.c
View file @
fa12cffa
...
...
@@ -131,10 +131,19 @@ static HRESULT WINAPI BitmapClipper_GetPixelFormat(IWICBitmapClipper *iface,
}
static
HRESULT
WINAPI
BitmapClipper_GetResolution
(
IWICBitmapClipper
*
iface
,
double
*
dpi
_x
,
double
*
dpi_y
)
double
*
dpi
X
,
double
*
dpiY
)
{
FIXME
(
"(%p,%p,%p): stub
\n
"
,
iface
,
dpi_x
,
dpi_y
);
return
E_NOTIMPL
;
BitmapClipper
*
This
=
impl_from_IWICBitmapClipper
(
iface
);
TRACE
(
"(%p,%p,%p)
\n
"
,
iface
,
dpiX
,
dpiY
);
if
(
!
dpiX
||
!
dpiY
)
return
E_INVALIDARG
;
if
(
!
This
->
source
)
return
WINCODEC_ERR_WRONGSTATE
;
return
IWICBitmapSource_GetResolution
(
This
->
source
,
dpiX
,
dpiY
);
}
static
HRESULT
WINAPI
BitmapClipper_CopyPalette
(
IWICBitmapClipper
*
iface
,
...
...
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