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
5dd58254
Commit
5dd58254
authored
Jul 30, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added ImageAttributes stubs.
parent
a0b144a1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
3 deletions
+86
-3
Makefile.in
dlls/gdiplus/Makefile.in
+1
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+3
-3
imageattributes.c
dlls/gdiplus/imageattributes.c
+65
-0
gdiplusenums.h
include/gdiplusenums.h
+10
-0
gdiplusflat.h
include/gdiplusflat.h
+5
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+2
-0
No files found.
dlls/gdiplus/Makefile.in
View file @
5dd58254
...
...
@@ -14,6 +14,7 @@ C_SRCS = \
graphics.c
\
graphicspath.c
\
image.c
\
imageattributes.c
\
matrix.c
\
pathiterator.c
\
pen.c
...
...
dlls/gdiplus/gdiplus.spec
View file @
5dd58254
...
...
@@ -88,7 +88,7 @@
@ stub GdipCreateHICONFromBitmap
@ stub GdipCreateHalftonePalette
@ stub GdipCreateHatchBrush
@ st
ub GdipCreateImageAttributes
@ st
dcall GdipCreateImageAttributes(ptr)
@ stub GdipCreateLineBrush
@ stub GdipCreateLineBrushFromRect
@ stub GdipCreateLineBrushFromRectI
...
...
@@ -141,7 +141,7 @@
@ stub GdipDeleteRegion
@ stub GdipDeleteStringFormat
@ stdcall GdipDisposeImage(ptr)
@ st
ub GdipDisposeImageAttributes
@ st
dcall GdipDisposeImageAttributes(ptr)
@ stdcall GdipDrawArc(ptr ptr long long long long long long)
@ stub GdipDrawArcI
@ stdcall GdipDrawBezier(ptr ptr long long long long long long long long)
...
...
@@ -510,7 +510,7 @@
@ stub GdipSetImageAttributesRemapTable
@ stub GdipSetImageAttributesThreshold
@ stub GdipSetImageAttributesToIdentity
@ st
ub GdipSetImageAttributesWrapMode
@ st
dcall GdipSetImageAttributesWrapMode(ptr long long long)
@ stub GdipSetImagePalette
@ stub GdipSetInfinite
@ stdcall GdipSetInterpolationMode(ptr long)
...
...
dlls/gdiplus/imageattributes.c
0 → 100644
View file @
5dd58254
/*
* 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 "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
gdiplus
);
GpStatus
WINGDIPAPI
GdipCreateImageAttributes
(
GpImageAttributes
**
imageattr
)
{
static
int
calls
;
if
(
!
imageattr
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipDisposeImageAttributes
(
GpImageAttributes
*
imageattr
)
{
static
int
calls
;
if
(
!
imageattr
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetImageAttributesWrapMode
(
GpImageAttributes
*
imageAttr
,
WrapMode
wrap
,
ARGB
argb
,
BOOL
clamp
)
{
static
int
calls
;
if
(
!
imageAttr
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
include/gdiplusenums.h
View file @
5dd58254
...
...
@@ -164,6 +164,15 @@ enum ImageType
ImageTypeMetafile
};
enum
WrapMode
{
WrapModeTile
,
WrapModeTileFlipX
,
WrapModeTileFlipY
,
WrapModeTileFlipXY
,
WrapModeClamp
};
#ifndef __cplusplus
typedef
enum
Unit
Unit
;
...
...
@@ -181,6 +190,7 @@ typedef enum DashCap DashCap;
typedef
enum
DashStyle
DashStyle
;
typedef
enum
MatrixOrder
MatrixOrder
;
typedef
enum
ImageType
ImageType
;
typedef
enum
WrapMode
WrapMode
;
#endif
/* end of c typedefs */
...
...
include/gdiplusflat.h
View file @
5dd58254
...
...
@@ -141,6 +141,11 @@ GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
GpStatus
WINGDIPAPI
GdipGetImageWidth
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
,
GDIPCONST
GUID
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipCreateImageAttributes
(
GpImageAttributes
**
);
GpStatus
WINGDIPAPI
GdipDisposeImageAttributes
(
GpImageAttributes
*
);
GpStatus
WINGDIPAPI
GdipSetImageAttributesWrapMode
(
GpImageAttributes
*
,
WrapMode
,
ARGB
,
BOOL
);
#ifdef __cplusplus
}
#endif
...
...
include/gdiplusgpstubs.h
View file @
5dd58254
...
...
@@ -31,6 +31,7 @@ class GpPathIterator {};
class
GpCustomLineCap
{};
class
GpImage
{};
class
GpMetafile
:
public
GpImage
{};
class
GpImageAttributes
{};
#else
/* end of c++ declarations */
...
...
@@ -44,6 +45,7 @@ typedef struct GpPathIterator GpPathIterator;
typedef
struct
GpCustomLineCap
GpCustomLineCap
;
typedef
struct
GpImage
GpImage
;
typedef
struct
GpMetafile
GpMetafile
;
typedef
struct
GpImageAttributes
GpImageAttributes
;
#endif
/* end of c declarations */
...
...
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