* include/gdiplus.h: New file.
        * include/gdiplus/gdiplus.h: New file.
        * include/gdiplus/gdiplusbase.h: New file.
        * include/gdiplus/gdiplusbrush.h: New file.
        * include/gdiplus/gdipluscolor.h: New file.
        * include/gdiplus/gdipluscolormatrix.h: New file.
        * include/gdiplus/gdipluseffects.h: New file.
        * include/gdiplus/gdiplusenums.h: New file.
        * include/gdiplus/gdiplusflat.h: New file.
        * include/gdiplus/gdiplusgpstubs.h: New file.
        * include/gdiplus/gdiplusgraphics.h: New file.
        * include/gdiplus/gdiplusheaders.h: New file.
        * include/gdiplus/gdiplusimageattributes.h: New file.
        * include/gdiplus/gdiplusimagecodec.h: New file.
        * include/gdiplus/gdiplusimaging.h: New file.
        * include/gdiplus/gdiplusimpl.h: New file.
        * include/gdiplus/gdiplusinit.h: New file.
        * include/gdiplus/gdipluslinecaps.h: New file.
        * include/gdiplus/gdiplusmatrix.h: New file.
        * include/gdiplus/gdiplusmem.h: New file.
        * include/gdiplus/gdiplusmetafile.h: New file.
        * include/gdiplus/gdiplusmetaheader.h: New file.
        * include/gdiplus/gdipluspath.h: New file.
        * include/gdiplus/gdipluspen.h: New file.
        * include/gdiplus/gdipluspixelformats.h: New file.
        * include/gdiplus/gdiplusstringformat.h: New file.
        * include/gdiplus/gdiplustypes.h: New file.
        * lib/gdiplus.c: New file containing GDI+ variable definitions
        and GUIDs.
        * lib/gdiplus.def: New file.
        * lib/Makefile.in: Add gdiplus.o to EXTRA_OBJS,
        add gdiplus.c to SOURCES.
        * lib/test.c: Include gdiplus.h.
		
	
		
			
				
	
	
		
			117 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			117 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
/*
 | 
						|
 * gdipluseffects.h
 | 
						|
 *
 | 
						|
 * GDI+ filters and effects
 | 
						|
 *
 | 
						|
 * This file is part of the w32api package.
 | 
						|
 *
 | 
						|
 * Contributors:
 | 
						|
 *   Created by Markus Koenig <markus@stber-koenig.de>
 | 
						|
 *
 | 
						|
 * THIS SOFTWARE IS NOT COPYRIGHTED
 | 
						|
 *
 | 
						|
 * This source code is offered for use in the public domain. You may
 | 
						|
 * use, modify or distribute it freely.
 | 
						|
 *
 | 
						|
 * This code is distributed in the hope that it will be useful but
 | 
						|
 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
 | 
						|
 * DISCLAIMED. This includes but is not limited to warranties of
 | 
						|
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __GDIPLUS_EFFECTS_H
 | 
						|
#define __GDIPLUS_EFFECTS_H
 | 
						|
#if __GNUC__ >=3
 | 
						|
#pragma GCC system_header
 | 
						|
#endif
 | 
						|
 | 
						|
typedef enum CurveAdjustments {
 | 
						|
	AdjustExposure = 0,
 | 
						|
	AdjustDensity = 1,
 | 
						|
	AdjustContrast = 2,
 | 
						|
	AdjustHighlight = 3,
 | 
						|
	AdjustShadow = 4,
 | 
						|
	AdjustMidtone = 5,
 | 
						|
	AdjustWhiteSaturation = 6,
 | 
						|
	AdjustBlackSaturation = 7
 | 
						|
} CurveAdjustments;
 | 
						|
 | 
						|
typedef enum CurveChannel {
 | 
						|
	CurveChannelAll = 0,
 | 
						|
	CurveChannelRed = 1,
 | 
						|
	CurveChannelGreen = 2,
 | 
						|
	CurveChannelBlue = 3
 | 
						|
} CurveChannel;
 | 
						|
 | 
						|
typedef struct BlurParams {
 | 
						|
	REAL radius;
 | 
						|
	BOOL expandEdge;
 | 
						|
} BlurParams;
 | 
						|
 | 
						|
typedef struct BrightnessContrastParams {
 | 
						|
	INT brightnessLevel;
 | 
						|
	INT contrastLevel;
 | 
						|
} BrightnessContrastParams;
 | 
						|
 | 
						|
typedef struct ColorBalanceParams {
 | 
						|
	INT cyanRed;
 | 
						|
	INT magentaGreen;
 | 
						|
	INT yellowBlue;
 | 
						|
} ColorBalanceParams;
 | 
						|
 | 
						|
typedef struct ColorCurveParams {
 | 
						|
	CurveAdjustments adjustment;
 | 
						|
	CurveChannel channel;
 | 
						|
	INT adjustValue;
 | 
						|
} ColorCurveParams;
 | 
						|
 | 
						|
typedef struct ColorLUTParams {
 | 
						|
	ColorChannelLUT lutB;
 | 
						|
	ColorChannelLUT lutG;
 | 
						|
	ColorChannelLUT lutR;
 | 
						|
	ColorChannelLUT lutA;
 | 
						|
} ColorLUTParams;
 | 
						|
 | 
						|
typedef struct HueSaturationLightnessParams {
 | 
						|
	INT hueLevel;
 | 
						|
	INT saturationLevel;
 | 
						|
	INT lightnessLevel;
 | 
						|
} HueSaturationLightnessParams;
 | 
						|
 | 
						|
typedef struct LevelsParams {
 | 
						|
	INT highlight;
 | 
						|
	INT midtone;
 | 
						|
	INT shadow;
 | 
						|
} LevelsParams;
 | 
						|
 | 
						|
typedef struct RedEyeCorrectionParams {
 | 
						|
	UINT numberOfAreas;
 | 
						|
	RECT *areas;
 | 
						|
} RedEyeCorrectionParams;
 | 
						|
 | 
						|
typedef struct SharpenParams {
 | 
						|
	REAL radius;
 | 
						|
	REAL amount;
 | 
						|
} SharpenParams;
 | 
						|
 | 
						|
typedef struct TintParams {
 | 
						|
	INT hue;
 | 
						|
	INT amount;
 | 
						|
} TintParams;
 | 
						|
 | 
						|
extern const GUID BlurEffectGuid;                    /* ? */
 | 
						|
extern const GUID BrightnessContrastEffectGuid;      /* ? */
 | 
						|
extern const GUID ColorBalanceEffectGuid;            /* ? */
 | 
						|
extern const GUID ColorCurveEffectGuid;              /* ? */
 | 
						|
extern const GUID ColorLUTEffectGuid;                /* ? */
 | 
						|
extern const GUID ColorMatrixEffectGuid;             /* ? */
 | 
						|
extern const GUID HueSaturationLightnessEffectGuid;  /* ? */
 | 
						|
extern const GUID LevelsEffectGuid;                  /* ? */
 | 
						|
extern const GUID RedEyeCorrectionEffectGuid;        /* ? */
 | 
						|
extern const GUID SharpenEffectGuid;                 /* ? */
 | 
						|
extern const GUID TintEffectGuid;                    /* ? */
 | 
						|
 | 
						|
 | 
						|
#endif /* __GDIPLUS_EFFECTS_H */
 |