Naveen Neel / shedskin
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers gdiplusimagecodec.h Source File

gdiplusimagecodec.h

00001 /*
00002  * gdiplusimagecodec.h
00003  *
00004  * GDI+ image decoders and encoders
00005  *
00006  * This file is part of the w32api package.
00007  *
00008  * Contributors:
00009  *   Created by Markus Koenig <markus@stber-koenig.de>
00010  *
00011  * THIS SOFTWARE IS NOT COPYRIGHTED
00012  *
00013  * This source code is offered for use in the public domain. You may
00014  * use, modify or distribute it freely.
00015  *
00016  * This code is distributed in the hope that it will be useful but
00017  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00018  * DISCLAIMED. This includes but is not limited to warranties of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00020  *
00021  */
00022 
00023 #ifndef __GDIPLUS_IMAGECODEC_H
00024 #define __GDIPLUS_IMAGECODEC_H
00025 #if __GNUC__ >=3
00026 #pragma GCC system_header
00027 #endif
00028 
00029 static __inline__ GpStatus GetImageDecoders(UINT numDecoders, UINT size,
00030         ImageCodecInfo *decoders)
00031 {
00032     #ifdef __cplusplus
00033     return DllExports::GdipGetImageDecoders(numDecoders, size, decoders);
00034     #else
00035     return GdipGetImageDecoders(numDecoders, size, decoders);
00036     #endif
00037 }
00038 
00039 static __inline__ GpStatus GetImageDecodersSize(UINT *numDecoders, UINT *size)
00040 {
00041     #ifdef __cplusplus
00042     return DllExports::GdipGetImageDecodersSize(numDecoders, size);
00043     #else
00044     return GdipGetImageDecodersSize(numDecoders, size);
00045     #endif
00046 }
00047 
00048 static __inline__ GpStatus GetImageEncoders(UINT numEncoders, UINT size,
00049         ImageCodecInfo *encoders)
00050 {
00051     #ifdef __cplusplus
00052     return DllExports::GdipGetImageEncoders(numEncoders, size, encoders);
00053     #else
00054     return GdipGetImageEncoders(numEncoders, size, encoders);
00055     #endif
00056 }
00057 
00058 static __inline__ GpStatus GetImageEncodersSize(UINT *numEncoders, UINT *size)
00059 {
00060     #ifdef __cplusplus
00061     return DllExports::GdipGetImageEncodersSize(numEncoders, size);
00062     #else
00063     return GdipGetImageEncodersSize(numEncoders, size);
00064     #endif
00065 }
00066 
00067 #endif /* __GDIPLUS_IMAGECODEC_H */