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
c820139b
Commit
c820139b
authored
Oct 21, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipBitmapConvertFormat stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
577a75d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+10
-0
gdipluspixelformats.h
include/gdipluspixelformats.h
+29
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
c820139b
...
...
@@ -620,7 +620,7 @@
620 stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr)
621 stub GdipBitmapGetHistogram
622 stub GdipBitmapGetHistogramSize
623 st
ub GdipBitmapConvertFormat
623 st
dcall GdipBitmapConvertFormat(ptr long long long ptr float)
624 stdcall GdipImageSetAbort(ptr ptr)
625 stub GdipGraphicsSetAbort
626 stub GdipDrawImageFX
...
...
dlls/gdiplus/image.c
View file @
c820139b
...
...
@@ -5268,3 +5268,13 @@ GpStatus WINGDIPAPI GdipImageSetAbort(GpImage *image, GdiplusAbort *pabort)
FIXME
(
"(%p, %p): stub
\n
"
,
image
,
pabort
);
return
NotImplemented
;
}
/*****************************************************************************
* GdipBitmapConvertFormat [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipBitmapConvertFormat
(
GpBitmap
*
bitmap
,
PixelFormat
format
,
DitherType
dithertype
,
PaletteType
palettetype
,
ColorPalette
*
palette
,
REAL
alphathreshold
)
{
FIXME
(
"(%p, 0x%08x, %d, %d, %p, %f): stub
\n
"
,
bitmap
,
format
,
dithertype
,
palettetype
,
palette
,
alphathreshold
);
return
NotImplemented
;
}
include/gdipluspixelformats.h
View file @
c820139b
...
...
@@ -102,4 +102,33 @@ typedef struct ColorPalette
#endif
/* end of c typedefs */
typedef
enum
DitherType
{
DitherTypeNone
,
DitherTypeSolid
,
DitherTypeOrdered4x4
,
DitherTypeOrdered8x8
,
DitherTypeOrdered16x16
,
DitherTypeSpiral4x4
,
DitherTypeSpiral8x8
,
DitherTypeDualSpiral4x4
,
DitherTypeDualSpiral8x8
,
DitherTypeErrorDiffusion
,
DitherTypeMax
}
DitherType
;
typedef
enum
PaletteType
{
PaletteTypeCustom
,
PaletteTypeOptimal
,
PaletteTypeFixedBW
,
PaletteTypeFixedHalftone8
,
PaletteTypeFixedHalftone27
,
PaletteTypeFixedHalftone64
,
PaletteTypeFixedHalftone125
,
PaletteTypeFixedHalftone216
,
PaletteTypeFixedHalftone252
,
PaletteTypeFixedHalftone256
}
PaletteType
;
#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