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
45c24bbe
Commit
45c24bbe
authored
Jul 24, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Image getter stubs.
parent
5cc8c10e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
118 additions
and
6 deletions
+118
-6
Makefile.in
dlls/gdiplus/Makefile.in
+1
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+6
-6
image.c
dlls/gdiplus/image.c
+104
-0
gdiplusflat.h
include/gdiplusflat.h
+7
-0
No files found.
dlls/gdiplus/Makefile.in
View file @
45c24bbe
...
...
@@ -12,6 +12,7 @@ C_SRCS = \
gdiplus.c
\
graphics.c
\
graphicspath.c
\
image.c
\
matrix.c
\
pathiterator.c
\
pen.c
...
...
dlls/gdiplus/gdiplus.spec
View file @
45c24bbe
...
...
@@ -273,16 +273,16 @@
@ stub GdipGetImageEncodersSize
@ stub GdipGetImageFlags
@ stub GdipGetImageGraphicsContext
@ st
ub GdipGetImageHeight
@ st
ub GdipGetImageHorizontalResolution
@ st
dcall GdipGetImageHeight(ptr ptr)
@ st
dcall GdipGetImageHorizontalResolution(ptr ptr)
@ stub GdipGetImagePalette
@ stub GdipGetImagePaletteSize
@ stub GdipGetImagePixelFormat
@ st
ub GdipGetImageRawFormat
@ st
dcall GdipGetImageRawFormat(ptr ptr)
@ stub GdipGetImageThumbnail
@ stub GdipGetImageType
@ st
ub GdipGetImageVerticalResolution
@ st
ub GdipGetImageWidth
@ st
dcall GdipGetImageVerticalResolution(ptr ptr)
@ st
dcall GdipGetImageWidth(ptr ptr)
@ stdcall GdipGetInterpolationMode(ptr ptr)
@ stub GdipGetLineBlend
@ stub GdipGetLineBlendCount
...
...
@@ -389,7 +389,7 @@
@ stdcall GdipGetWorldTransform(ptr ptr)
@ stub GdipGraphicsClear
@ stub GdipImageForceValidation
@ st
ub GdipImageGetFrameCount
@ st
dcall GdipImageGetFrameCount(ptr ptr ptr)
@ stub GdipImageGetFrameDimensionsCount
@ stub GdipImageGetFrameDimensionsList
@ stub GdipImageRotateFlip
...
...
dlls/gdiplus/image.c
0 → 100644
View file @
45c24bbe
/*
* Copyright (C) 2007 Google (Evan Stade)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windef.h"
#include "wingdi.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
gdiplus
);
GpStatus
WINGDIPAPI
GdipGetImageHeight
(
GpImage
*
image
,
UINT
*
height
)
{
static
int
calls
;
if
(
!
image
||
!
height
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageHorizontalResolution
(
GpImage
*
image
,
REAL
*
res
)
{
static
int
calls
;
if
(
!
image
||
!
res
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageRawFormat
(
GpImage
*
image
,
GUID
*
format
)
{
static
int
calls
;
if
(
!
image
||
!
format
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageVerticalResolution
(
GpImage
*
image
,
REAL
*
res
)
{
static
int
calls
;
if
(
!
image
||
!
res
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageWidth
(
GpImage
*
image
,
UINT
*
width
)
{
static
int
calls
;
if
(
!
image
||
!
width
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
image
,
GDIPCONST
GUID
*
dimensionID
,
UINT
*
count
)
{
static
int
calls
;
if
(
!
image
||
!
dimensionID
||
!
count
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
include/gdiplusflat.h
View file @
45c24bbe
...
...
@@ -126,6 +126,13 @@ GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
GpCustomLineCap
**
);
GpStatus
WINGDIPAPI
GdipDeleteCustomLineCap
(
GpCustomLineCap
*
);
GpStatus
WINGDIPAPI
GdipGetImageHeight
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetImageHorizontalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageRawFormat
(
GpImage
*
,
GUID
*
);
GpStatus
WINGDIPAPI
GdipGetImageVerticalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageWidth
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
,
GDIPCONST
GUID
*
,
UINT
*
);
#ifdef __cplusplus
}
#endif
...
...
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