|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <assert.h>#include "windef.h"#include "winbase.h"#include "winuser.h"#include "wingdi.h"#include "objbase.h"#include "olectl.h"#include "ole2.h"#include "initguid.h"#include "wincodec.h"#include "gdiplus.h"#include "gdiplus_private.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | image_format_dimension |
| struct | image_codec |
Macros | |
| #define | NONAMELESSUNION |
| #define | COBJMACROS |
| #define | PIXELFORMATBPP(x) ((x) ? ((x) >> 8) & 255 : 24) |
| #define | WMF_PLACEABLE_KEY 0x9ac6cdd7 |
| #define | convert_indexed_to_rgb(getpixel_function, setpixel_function) |
| #define | convert_rgb_to_rgb(getpixel_function, setpixel_function) |
| #define | convert_rgb_to_indexed(getpixel_function, setpixel_function) |
| #define | PropertyTagTypeSByte 6 |
| #define | PropertyTagTypeSShort 8 |
| #define | PropertyTagTypeFloat 11 |
| #define | PropertyTagTypeDouble 12 |
Typedefs | |
| typedef void(* | metadata_reader_func) (GpBitmap *bitmap, IWICBitmapDecoder *decoder, UINT frame) |
| typedef GpStatus(* | encode_image_func) (GpImage *image, IStream *stream, GDIPCONST EncoderParameters *params) |
| typedef GpStatus(* | decode_image_func) (IStream *stream, GpImage **image) |
| typedef GpStatus(* | select_image_func) (GpImage *image, UINT active_frame) |
| typedef struct image_codec | image_codec |
Enumerations | |
| enum | ImageFormat { BMP , JPEG , GIF , TIFF , EMF , WMF , PNG , ICO , NUM_CODECS } |
Variables | |
| struct { | |
| const WICPixelFormatGUID * wic_format | |
| PixelFormat gdip_format | |
| WICBitmapPaletteType palette_type | |
| } | pixel_formats [] |
| static const struct image_format_dimension | image_format_dimensions [] |
| static const struct image_codec | codecs [NUM_CODECS] |
| static const WCHAR | bmp_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'B', 'M', 'P', 0} |
| static const WCHAR | bmp_extension [] = {'*','.','B', 'M', 'P',';', '*','.', 'D','I', 'B',';', '*','.', 'R', 'L', 'E',0} |
| static const WCHAR | bmp_mimetype [] = {'i', 'm', 'a','g', 'e', '/', 'b', 'm', 'p', 0} |
| static const WCHAR | bmp_format [] = {'B', 'M', 'P', 0} |
| static const BYTE | bmp_sig_pattern [] = { 0x42, 0x4D } |
| static const BYTE | bmp_sig_mask [] = { 0xFF, 0xFF } |
| static const WCHAR | jpeg_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'J','P','E','G', 0} |
| static const WCHAR | jpeg_extension [] = {'*','.','J','P','G',';', '*','.','J','P','E','G',';', '*','.','J','P','E',';', '*','.','J','F','I','F',0} |
| static const WCHAR | jpeg_mimetype [] = {'i','m','a','g','e','/','j','p','e','g', 0} |
| static const WCHAR | jpeg_format [] = {'J','P','E','G',0} |
| static const BYTE | jpeg_sig_pattern [] = { 0xFF, 0xD8 } |
| static const BYTE | jpeg_sig_mask [] = { 0xFF, 0xFF } |
| static const WCHAR | gif_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'G','I','F', 0} |
| static const WCHAR | gif_extension [] = {'*','.','G','I','F',0} |
| static const WCHAR | gif_mimetype [] = {'i','m','a','g','e','/','g','i','f', 0} |
| static const WCHAR | gif_format [] = {'G','I','F',0} |
| static const BYTE | gif_sig_pattern [12] = "GIF87aGIF89a" |
| static const BYTE | gif_sig_mask [] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } |
| static const WCHAR | tiff_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'T','I','F','F', 0} |
| static const WCHAR | tiff_extension [] = {'*','.','T','I','F','F',';','*','.','T','I','F',0} |
| static const WCHAR | tiff_mimetype [] = {'i','m','a','g','e','/','t','i','f','f', 0} |
| static const WCHAR | tiff_format [] = {'T','I','F','F',0} |
| static const BYTE | tiff_sig_pattern [] = {0x49,0x49,42,0,0x4d,0x4d,0,42} |
| static const BYTE | tiff_sig_mask [] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } |
| static const WCHAR | emf_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'E','M','F', 0} |
| static const WCHAR | emf_extension [] = {'*','.','E','M','F',0} |
| static const WCHAR | emf_mimetype [] = {'i','m','a','g','e','/','x','-','e','m','f', 0} |
| static const WCHAR | emf_format [] = {'E','M','F',0} |
| static const BYTE | emf_sig_pattern [] = { 0x01, 0x00, 0x00, 0x00 } |
| static const BYTE | emf_sig_mask [] = { 0xFF, 0xFF, 0xFF, 0xFF } |
| static const WCHAR | wmf_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'W','M','F', 0} |
| static const WCHAR | wmf_extension [] = {'*','.','W','M','F',0} |
| static const WCHAR | wmf_mimetype [] = {'i','m','a','g','e','/','x','-','w','m','f', 0} |
| static const WCHAR | wmf_format [] = {'W','M','F',0} |
| static const BYTE | wmf_sig_pattern [] = { 0xd7, 0xcd } |
| static const BYTE | wmf_sig_mask [] = { 0xFF, 0xFF } |
| static const WCHAR | png_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'P','N','G', 0} |
| static const WCHAR | png_extension [] = {'*','.','P','N','G',0} |
| static const WCHAR | png_mimetype [] = {'i','m','a','g','e','/','p','n','g', 0} |
| static const WCHAR | png_format [] = {'P','N','G',0} |
| static const BYTE | png_sig_pattern [] = { 137, 80, 78, 71, 13, 10, 26, 10, } |
| static const BYTE | png_sig_mask [] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } |
| static const WCHAR | ico_codecname [] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'I','C','O', 0} |
| static const WCHAR | ico_extension [] = {'*','.','I','C','O',0} |
| static const WCHAR | ico_mimetype [] = {'i','m','a','g','e','/','x','-','i','c','o','n', 0} |
| static const WCHAR | ico_format [] = {'I','C','O',0} |
| static const BYTE | ico_sig_pattern [] = { 0x00, 0x00, 0x01, 0x00 } |
| static const BYTE | ico_sig_mask [] = { 0xFF, 0xFF, 0xFF, 0xFF } |
| #define convert_indexed_to_rgb | ( | getpixel_function, | |
| setpixel_function | |||
| ) |
| #define convert_rgb_to_indexed | ( | getpixel_function, | |
| setpixel_function | |||
| ) |
| #define convert_rgb_to_rgb | ( | getpixel_function, | |
| setpixel_function | |||
| ) |
| typedef struct image_codec image_codec |
|
static |
Definition at line 3009 of file image.c.
Referenced by gif_metadata_reader(), and png_metadata_reader().
Definition at line 1467 of file image.c.
Referenced by GdipCreateHBITMAPFromBitmap().
|
static |
Definition at line 3834 of file image.c.
Referenced by select_frame_gif().
| GpStatus convert_pixels | ( | INT | width, |
| INT | height, | ||
| INT | dst_stride, | ||
| BYTE * | dst_bits, | ||
| PixelFormat | dst_format, | ||
| INT | src_stride, | ||
| const BYTE * | src_bits, | ||
| PixelFormat | src_format, | ||
| ColorPalette * | palette | ||
| ) |
Definition at line 562 of file image.c.
Referenced by GdipBitmapLockBits(), GdipBitmapUnlockBits(), GdipCloneBitmapArea(), GdipCreateHBITMAPFromBitmap(), and GdipDrawImagePointsRect().
|
static |
Definition at line 5697 of file image.c.
Referenced by GdipInitializePalette().
|
static |
Definition at line 3419 of file image.c.
Referenced by png_metadata_reader().
|
static |
Definition at line 3632 of file image.c.
Referenced by decode_image_gif(), decode_image_png(), decode_image_wic(), and select_frame_wic().
Definition at line 3983 of file image.c.
Definition at line 4234 of file image.c.
Definition at line 4082 of file image.c.
Definition at line 4039 of file image.c.
|
static |
Definition at line 3786 of file image.c.
Referenced by decode_image_bmp(), decode_image_icon(), decode_image_jpeg(), and decode_image_tiff().
|
static |
Definition at line 4638 of file image.c.
|
static |
|
static |
| GpStatus encode_image_png | ( | GpImage * | image, |
| IStream * | stream, | ||
| GDIPCONST EncoderParameters * | params | ||
| ) |
Definition at line 4650 of file image.c.
Referenced by METAFILE_CreateCompressedImageStream().
|
static |
|
static |
Definition at line 4503 of file image.c.
Referenced by encode_image_BMP(), encode_image_gif(), encode_image_jpeg(), encode_image_png(), and encode_image_tiff().
Definition at line 2126 of file image.c.
Referenced by GdipDisposeImage(), and select_frame_wic().
| GpStatus WINGDIPAPI GdipBitmapApplyEffect | ( | GpBitmap * | bitmap, |
| CGpEffect * | effect, | ||
| RECT * | roi, | ||
| BOOL | useAuxData, | ||
| VOID ** | auxData, | ||
| INT * | auxDataSize | ||
| ) |
| GpStatus WINGDIPAPI GdipBitmapConvertFormat | ( | GpBitmap * | bitmap, |
| PixelFormat | format, | ||
| DitherType | dithertype, | ||
| PaletteType | palettetype, | ||
| ColorPalette * | palette, | ||
| REAL | alphathreshold | ||
| ) |
| GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect | ( | GpBitmap ** | inputBitmaps, |
| INT | numInputs, | ||
| CGpEffect * | effect, | ||
| RECT * | roi, | ||
| RECT * | outputRect, | ||
| GpBitmap ** | outputBitmap, | ||
| BOOL | useAuxData, | ||
| VOID ** | auxData, | ||
| INT * | auxDataSize | ||
| ) |
Definition at line 145 of file image.c.
| GpStatus WINGDIPAPI GdipBitmapGetHistogram | ( | GpBitmap * | bitmap, |
| HistogramFormat | format, | ||
| UINT | num_of_entries, | ||
| UINT * | ch0, | ||
| UINT * | ch1, | ||
| UINT * | ch2, | ||
| UINT * | ch3 | ||
| ) |
Definition at line 5613 of file image.c.
| GpStatus WINGDIPAPI GdipBitmapGetHistogramSize | ( | HistogramFormat | format, |
| UINT * | num_of_entries | ||
| ) |
Definition at line 288 of file image.c.
Referenced by alpha_blend_bmp_pixels(), GdipBitmapGetHistogram(), test_clear(), test_clipping(), test_colorkey(), test_colormatrix(), test_containers(), test_emfonly(), test_fillrect(), test_gamma(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipImageGetFrameDimensionsCount(), test_gditransform(), test_getdc(), test_getdc_scaled(), test_getsetpixel(), test_LockBits(), test_LockBits_UserBuf(), test_multiframegif(), test_pagetransform(), test_palette(), test_remaptable(), test_rotateflip(), and test_worldtransform().
| GpStatus WINGDIPAPI GdipBitmapLockBits | ( | GpBitmap * | bitmap, |
| GDIPCONST GpRect * | rect, | ||
| UINT | flags, | ||
| PixelFormat | format, | ||
| BitmapData * | lockeddata | ||
| ) |
Definition at line 1030 of file image.c.
Referenced by brush_fill_pixels(), create_optimal_palette(), decode_frame_wic(), DibLoadImage(), encode_image_wic(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipCreateHICONFromBitmap(), GdipDrawImagePointsRect(), GdipImageRotateFlip(), test_ARGB_conversion(), test_bitmapbits(), test_CloneBitmapArea(), test_createhbitmap(), test_image_format(), test_LockBits(), test_LockBits_UserBuf(), and test_pen_thickness().
Definition at line 494 of file image.c.
Referenced by alpha_blend_bmp_pixels(), test_colorkey(), test_colormatrix(), test_emfonly(), test_fillrect(), test_gamma(), test_GdipCreateBitmapFromHBITMAP(), test_GdipImageGetFrameDimensionsCount(), test_getdc(), test_getsetpixel(), test_histogram(), test_LockBits(), test_multiframegif(), test_palette(), and test_remaptable().
| GpStatus WINGDIPAPI GdipBitmapSetResolution | ( | GpBitmap * | bitmap, |
| REAL | xdpi, | ||
| REAL | ydpi | ||
| ) |
Definition at line 1163 of file image.c.
Referenced by create_graphics(), test_DrawImage(), test_DrawImage_scale(), test_GdipDrawImagePointRect(), test_pen_thickness(), and test_resolution().
| GpStatus WINGDIPAPI GdipBitmapUnlockBits | ( | GpBitmap * | bitmap, |
| BitmapData * | lockeddata | ||
| ) |
Definition at line 1176 of file image.c.
Referenced by brush_fill_pixels(), create_optimal_palette(), decode_frame_wic(), DibLoadImage(), encode_image_wic(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipCreateHICONFromBitmap(), GdipDrawImagePointsRect(), GdipImageRotateFlip(), test_ARGB_conversion(), test_bitmapbits(), test_CloneBitmapArea(), test_createhbitmap(), test_image_format(), test_LockBits(), test_LockBits_UserBuf(), and test_pen_thickness().
| GpStatus WINGDIPAPI GdipCloneBitmapArea | ( | REAL | x, |
| REAL | y, | ||
| REAL | width, | ||
| REAL | height, | ||
| PixelFormat | format, | ||
| GpBitmap * | srcBitmap, | ||
| GpBitmap ** | dstBitmap | ||
| ) |
Definition at line 1237 of file image.c.
Referenced by GdipCloneBitmapAreaI(), and GdipCreateTextureIA().
| GpStatus WINGDIPAPI GdipCloneBitmapAreaI | ( | INT | x, |
| INT | y, | ||
| INT | width, | ||
| INT | height, | ||
| PixelFormat | format, | ||
| GpBitmap * | srcBitmap, | ||
| GpBitmap ** | dstBitmap | ||
| ) |
Definition at line 1300 of file image.c.
Referenced by GdipCloneImage(), and test_CloneBitmapArea().
| GpStatus WINGDIPAPI GdipCloneImage | ( | GpImage * | image, |
| GpImage ** | cloneImage | ||
| ) |
Definition at line 1308 of file image.c.
Referenced by GdipCreateCachedBitmap(), GdipGetTextureImage(), load_image(), sync_metafile(), test_emfonly(), and test_GdipCloneImage().
| GpStatus WINGDIPAPI GdipCreateBitmapFromFile | ( | GDIPCONST WCHAR * | filename, |
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1360 of file image.c.
Referenced by DibLoadImage(), GdipCreateBitmapFromFileICM(), and test_LoadingImages().
| GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM | ( | GDIPCONST WCHAR * | filename, |
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1436 of file image.c.
| GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib | ( | GDIPCONST BITMAPINFO * | info, |
| VOID * | bits, | ||
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1385 of file image.c.
Referenced by test_drawimage(), test_FromGdiDib(), and test_GdipDrawImagePointsRect().
| GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics | ( | INT | width, |
| INT | height, | ||
| GpGraphics * | target, | ||
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1542 of file image.c.
Referenced by test_bitmapfromgraphics(), test_texturewrap(), and test_transform().
| GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP | ( | HBITMAP | hbm, |
| HPALETTE | hpal, | ||
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 5156 of file image.c.
Referenced by GdipCreateBitmapFromResource(), GdipCreateBitmapFromStream(), and test_GdipCreateBitmapFromHBITMAP().
| GpStatus WINGDIPAPI GdipCreateBitmapFromHICON | ( | HICON | hicon, |
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1564 of file image.c.
Referenced by test_fromhicon().
| GpStatus WINGDIPAPI GdipCreateBitmapFromResource | ( | HINSTANCE | hInstance, |
| GDIPCONST WCHAR * | lpBitmapName, | ||
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1444 of file image.c.
| GpStatus WINGDIPAPI GdipCreateBitmapFromScan0 | ( | INT | width, |
| INT | height, | ||
| INT | stride, | ||
| PixelFormat | format, | ||
| BYTE * | scan0, | ||
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1760 of file image.c.
Referenced by create_graphics(), decode_frame_wic(), GdipCloneBitmapArea(), GdipCreateBitmapFromGdiDib(), GdipCreateBitmapFromGraphics(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipGetImageThumbnail(), GdipImageRotateFlip(), metafile_deserialize_image(), METAFILE_DrawImagePointsRect(), test_ARGB_conversion(), test_bitmapbits(), test_clear(), test_clipping(), test_CloneBitmapArea(), test_colorkey(), test_colormatrix(), test_containers(), test_createhbitmap(), test_dispose(), test_DrawImage(), test_DrawImage_scale(), test_DrawImage_SourceCopy(), test_emfonly(), test_fillrect(), test_fromMemoryBitmap(), test_gamma(), test_GdipCloneImage(), test_GdipDrawImagePointRect(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetImageFlags(), test_GdipGetNearestColor(), test_GdipImageGetFrameDimensionsCount(), test_GdipInitializePalette(), test_gditransform(), test_getdc(), test_getdc_scaled(), test_GetImageDimension(), test_getsetpixel(), test_getthumbnail(), test_histogram(), test_image_format(), test_imageabort(), test_LockBits(), test_LockBits_UserBuf(), test_pagetransform(), test_palette(), test_pen_thickness(), test_remaptable(), test_resolution(), test_rotateflip(), test_SavingImages(), test_Scan0(), test_supported_encoders(), and test_worldtransform().
| GpStatus WINGDIPAPI GdipCreateBitmapFromStream | ( | IStream * | stream, |
| GpBitmap ** | bitmap | ||
| ) |
Definition at line 1935 of file image.c.
Referenced by GdipCreateBitmapFromFile(), GdipCreateBitmapFromStreamICM(), metafile_deserialize_image(), and test_multiframegif().
| GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM | ( | IStream * | stream, |
| GpBitmap ** | bitmap | ||
| ) |
| GpStatus WINGDIPAPI GdipCreateCachedBitmap | ( | GpBitmap * | bitmap, |
| GpGraphics * | graphics, | ||
| GpCachedBitmap ** | cachedbmp | ||
| ) |
Definition at line 1978 of file image.c.
| GpStatus WINGDIPAPI GdipCreateEffect | ( | const GUID | guid, |
| CGpEffect ** | effect | ||
| ) |
| GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap | ( | GpBitmap * | bitmap, |
| HBITMAP * | hbmReturn, | ||
| ARGB | background | ||
| ) |
Definition at line 1479 of file image.c.
Referenced by GdipDrawImagePointsRect(), test_createhbitmap(), and test_image_format().
| GpStatus WINGDIPAPI GdipCreateHICONFromBitmap | ( | GpBitmap * | bitmap, |
| HICON * | hicon | ||
| ) |
Definition at line 2001 of file image.c.
| GpStatus WINGDIPAPI GdipDeleteCachedBitmap | ( | GpCachedBitmap * | cachedbmp | ) |
| GpStatus WINGDIPAPI GdipDeleteEffect | ( | CGpEffect * | effect | ) |
| GpStatus WINGDIPAPI GdipDisposeImage | ( | GpImage * | image | ) |
Definition at line 2155 of file image.c.
Referenced by decode_frame_wic(), DibLoadImage(), GdipCloneBitmapArea(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipCreateBitmapFromScan0(), GdipCreateBitmapFromStream(), GdipCreateMetafileFromStream(), GdipCreateTextureIA(), GdipDeleteBrush(), GdipDeleteCachedBitmap(), GdipGetImageThumbnail(), GdipGetMetafileHeaderFromFile(), GdipGetMetafileHeaderFromStream(), GdipGetMetafileHeaderFromWmf(), GdipImageRotateFlip(), load_image(), metafile_deserialize_brush(), metafile_deserialize_image(), METAFILE_DrawImagePointsRect(), metafile_free_object_table_entry(), Preview_pFreeImage(), SetWallpaper(), sync_metafile(), test_ARGB_conversion(), test_bitmapbits(), test_bitmapfromgraphics(), test_bufferrawformat(), test_clear(), test_clipping(), test_CloneBitmapArea(), test_colorkey(), test_colormatrix(), test_containers(), test_converttoemfplus(), test_createfromwmf(), test_createfromwmf_noplaceable(), test_createhbitmap(), test_dispose(), test_DrawImage(), test_drawimage(), test_DrawImage_scale(), test_DrawImage_SourceCopy(), test_drawpath(), test_emfonly(), test_empty(), test_fillpath(), test_fillrect(), test_frameunit(), test_FromGdiDib(), test_fromhicon(), test_fromMemoryBitmap(), test_gamma(), test_GdipCloneImage(), test_GdipCreateBitmapFromHBITMAP(), test_GdipDrawImagePointRect(), test_GdipDrawImagePointsRect(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetAllPropertyItems(), test_GdipGetImageFlags(), test_GdipGetNearestColor(), test_GdipImageGetFrameDimensionsCount(), test_GdipInitializePalette(), test_GdipMeasureString(), test_gditransform(), test_getdc(), test_getdc_scaled(), test_GetImageDimension(), test_getsetpixel(), test_getthumbnail(), test_gif_properties(), test_histogram(), test_image_format(), test_image_properties(), test_imageabort(), test_loadwmf(), test_LockBits(), test_LockBits_UserBuf(), test_multiframegif(), test_nullframerect(), test_pagetransform(), test_palette(), test_pen_thickness(), test_png_color_formats(), test_properties(), test_remaptable(), test_resolution(), test_rotateflip(), test_SavingImages(), test_Scan0(), test_supported_encoders(), test_texturewrap(), test_tiff_color_formats(), test_tiff_palette(), test_tiff_properties(), test_transform(), and test_worldtransform().
| GpStatus WINGDIPAPI GdipDrawCachedBitmap | ( | GpGraphics * | graphics, |
| GpCachedBitmap * | cachedbmp, | ||
| INT | x, | ||
| INT | y | ||
| ) |
Definition at line 2068 of file image.c.
| GpStatus WINGDIPAPI GdipFindFirstImageItem | ( | GpImage * | image, |
| ImageItemData * | item | ||
| ) |
| GpStatus WINGDIPAPI GdipGetAllPropertyItems | ( | GpImage * | image, |
| UINT | size, | ||
| UINT | count, | ||
| PropertyItem * | buf | ||
| ) |
Definition at line 2805 of file image.c.
Referenced by test_GdipGetAllPropertyItems(), and test_gif_properties().
| GpStatus WINGDIPAPI GdipGetEncoderParameterListSize | ( | GpImage * | image, |
| GDIPCONST CLSID * | clsidEncoder, | ||
| UINT * | size | ||
| ) |
| GpStatus WINGDIPAPI GdipGetImageBounds | ( | GpImage * | image, |
| GpRectF * | srcRect, | ||
| GpUnit * | srcUnit | ||
| ) |
Definition at line 2196 of file image.c.
Referenced by GdipDrawImageRect(), get_graphics_device_bounds(), test_createfromwmf(), test_emfonly(), test_empty(), test_frameunit(), test_GdipCloneImage(), test_loadwmf(), and test_nullframerect().
| GpStatus WINGDIPAPI GdipGetImageDecoders | ( | UINT | numDecoders, |
| UINT | size, | ||
| ImageCodecInfo * | decoders | ||
| ) |
Definition at line 5022 of file image.c.
Referenced by GdipGetSupportedFileExtensions(), and pBuildFileList().
| GpStatus WINGDIPAPI GdipGetImageDecodersSize | ( | UINT * | numDecoders, |
| UINT * | size | ||
| ) |
Definition at line 4998 of file image.c.
Referenced by GdipGetSupportedFileExtensions(), and pBuildFileList().
| GpStatus WINGDIPAPI GdipGetImageDimension | ( | GpImage * | image, |
| REAL * | width, | ||
| REAL * | height | ||
| ) |
Definition at line 2224 of file image.c.
Referenced by test_GdipCreateBitmapFromHBITMAP(), test_GetImageDimension(), and test_SavingImages().
| GpStatus WINGDIPAPI GdipGetImageEncoders | ( | UINT | numEncoders, |
| UINT | size, | ||
| ImageCodecInfo * | encoders | ||
| ) |
Definition at line 5073 of file image.c.
Referenced by GdipGetEncoderClsid(), get_encoder_clsid(), Preview_pSaveImage(), Preview_pSaveImageAs(), test_encoders(), and test_SavingImages().
| GpStatus WINGDIPAPI GdipGetImageEncodersSize | ( | UINT * | numEncoders, |
| UINT * | size | ||
| ) |
Definition at line 5049 of file image.c.
Referenced by GdipGetEncoderClsid(), get_encoder_clsid(), Preview_pSaveImage(), Preview_pSaveImageAs(), test_encoders(), and test_SavingImages().
| GpStatus WINGDIPAPI GdipGetImageFlags | ( | GpImage * | image, |
| UINT * | flags | ||
| ) |
Definition at line 5318 of file image.c.
Referenced by test_GdipGetImageFlags(), test_png_color_formats(), and ZoomWnd_OnDraw().
| GpStatus WINGDIPAPI GdipGetImageGraphicsContext | ( | GpImage * | image, |
| GpGraphics ** | graphics | ||
| ) |
Definition at line 2249 of file image.c.
Referenced by create_graphics(), GdipGetImageThumbnail(), METAFILE_DrawImagePointsRect(), test_clear(), test_clipping(), test_colorkey(), test_colormatrix(), test_containers(), test_converttoemfplus(), test_DrawImage(), test_drawimage(), test_DrawImage_scale(), test_DrawImage_SourceCopy(), test_drawpath(), test_emfonly(), test_empty(), test_fillpath(), test_fillrect(), test_frameunit(), test_fromMemoryBitmap(), test_gamma(), test_GdipDrawImagePointRect(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipGetNearestColor(), test_gditransform(), test_getdc(), test_getdc_scaled(), test_nullframerect(), test_pagetransform(), test_pen_thickness(), test_properties(), test_remaptable(), test_resolution(), and test_worldtransform().
| GpStatus WINGDIPAPI GdipGetImageHeight | ( | GpImage * | image, |
| UINT * | height | ||
| ) |
Definition at line 2287 of file image.c.
Referenced by DibLoadImage(), encode_image_wic(), GdipBitmapGetHistogram(), GdipCloneBrush(), GdipCreateHBITMAPFromBitmap(), GdipCreateTexture(), GdipDrawImage(), GdipDrawImagePoints(), GdipGetImageThumbnail(), Preview_ResetZoom(), test_bitmapfromgraphics(), test_fromhicon(), test_getthumbnail(), test_pagetransform(), test_rotateflip(), ZoomWnd_OnDraw(), ZoomWnd_OnHVScroll(), and ZoomWnd_UpdateScroll().
| GpStatus WINGDIPAPI GdipGetImageHorizontalResolution | ( | GpImage * | image, |
| REAL * | res | ||
| ) |
Definition at line 2309 of file image.c.
Referenced by create_graphics(), test_bitmapfromgraphics(), test_createfromwmf(), test_emfonly(), test_empty(), test_frameunit(), test_loadwmf(), test_pagetransform(), and test_resolution().
| GpStatus WINGDIPAPI GdipGetImageItemData | ( | GpImage * | image, |
| ImageItemData * | item | ||
| ) |
| GpStatus WINGDIPAPI GdipGetImagePalette | ( | GpImage * | image, |
| ColorPalette * | palette, | ||
| INT | size | ||
| ) |
Definition at line 4710 of file image.c.
Referenced by test_multiframegif(), test_palette(), and test_tiff_palette().
| GpStatus WINGDIPAPI GdipGetImagePaletteSize | ( | GpImage * | image, |
| INT * | size | ||
| ) |
Definition at line 2321 of file image.c.
Referenced by test_multiframegif(), test_palette(), and test_tiff_palette().
| GpStatus WINGDIPAPI GdipGetImagePixelFormat | ( | GpImage * | image, |
| PixelFormat * | format | ||
| ) |
Definition at line 2339 of file image.c.
Referenced by test_bitmapfromgraphics(), test_FromGdiDib(), test_fromhicon(), test_GdipCreateBitmapFromHBITMAP(), test_image_format(), test_multiframegif(), test_png_color_formats(), test_tiff_color_formats(), and test_tiff_palette().
| GpStatus WINGDIPAPI GdipGetImageRawFormat | ( | GpImage * | image, |
| GUID * | format | ||
| ) |
Definition at line 2354 of file image.c.
Referenced by expect_rawformat(), Preview_pSaveImage(), Preview_pSaveImageAs(), and SetWallpaper().
| GpStatus WINGDIPAPI GdipGetImageThumbnail | ( | GpImage * | image, |
| UINT | width, | ||
| UINT | height, | ||
| GpImage ** | ret_image, | ||
| GetThumbnailImageAbort | cb, | ||
| VOID * | cb_data | ||
| ) |
Definition at line 5361 of file image.c.
Referenced by test_getthumbnail(), and test_image_format().
| GpStatus WINGDIPAPI GdipGetImageType | ( | GpImage * | image, |
| ImageType * | type | ||
| ) |
Definition at line 2366 of file image.c.
Referenced by load_image(), test_fromhicon(), test_image_properties(), test_png_color_formats(), and test_tiff_color_formats().
| GpStatus WINGDIPAPI GdipGetImageVerticalResolution | ( | GpImage * | image, |
| REAL * | res | ||
| ) |
Definition at line 2378 of file image.c.
Referenced by create_graphics(), test_bitmapfromgraphics(), test_createfromwmf(), test_emfonly(), test_empty(), test_frameunit(), test_loadwmf(), test_pagetransform(), and test_resolution().
| GpStatus WINGDIPAPI GdipGetImageWidth | ( | GpImage * | image, |
| UINT * | width | ||
| ) |
Definition at line 2390 of file image.c.
Referenced by DibLoadImage(), encode_image_wic(), GdipBitmapGetHistogram(), GdipCloneBrush(), GdipCreateHBITMAPFromBitmap(), GdipCreateTexture(), GdipDrawImage(), GdipDrawImagePoints(), GdipGetImageThumbnail(), Preview_ResetZoom(), test_bitmapfromgraphics(), test_fromhicon(), test_getthumbnail(), test_pagetransform(), test_rotateflip(), ZoomWnd_OnDraw(), ZoomWnd_OnHVScroll(), and ZoomWnd_UpdateScroll().
| GpStatus WINGDIPAPI GdipGetPropertyCount | ( | GpImage * | image, |
| UINT * | num | ||
| ) |
Definition at line 2412 of file image.c.
Referenced by test_GdipGetAllPropertyItems(), test_gif_properties(), test_image_properties(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipGetPropertyIdList | ( | GpImage * | image, |
| UINT | num, | ||
| PROPID * | list | ||
| ) |
Definition at line 2435 of file image.c.
Referenced by test_GdipGetAllPropertyItems(), test_gif_properties(), test_image_properties(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipGetPropertyItem | ( | GpImage * | image, |
| PROPID | propid, | ||
| UINT | size, | ||
| PropertyItem * | buffer | ||
| ) |
Definition at line 2682 of file image.c.
Referenced by Anime_LoadInfo(), test_GdipGetAllPropertyItems(), test_gif_properties(), test_image_properties(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipGetPropertyItemSize | ( | GpImage * | image, |
| PROPID | propid, | ||
| UINT * | size | ||
| ) |
Definition at line 2536 of file image.c.
Referenced by Anime_LoadInfo(), test_GdipGetAllPropertyItems(), test_gif_properties(), test_image_properties(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipGetPropertySize | ( | GpImage * | image, |
| UINT * | size, | ||
| UINT * | count | ||
| ) |
Definition at line 2735 of file image.c.
Referenced by add_property(), GdipGetAllPropertyItems(), test_GdipGetAllPropertyItems(), and test_gif_properties().
| GpStatus WINGDIPAPI GdipImageForceValidation | ( | GpImage * | image | ) |
| GpStatus WINGDIPAPI GdipImageGetFrameCount | ( | GpImage * | image, |
| GDIPCONST GUID * | dimensionID, | ||
| UINT * | count | ||
| ) |
Definition at line 2913 of file image.c.
Referenced by Anime_LoadInfo(), test_GdipGetAllPropertyItems(), test_GdipImageGetFrameDimensionsCount(), test_gif_properties(), test_multiframegif(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount | ( | GpImage * | image, |
| UINT * | count | ||
| ) |
Definition at line 2933 of file image.c.
Referenced by Anime_LoadInfo(), test_GdipGetAllPropertyItems(), test_GdipImageGetFrameDimensionsCount(), test_gif_properties(), test_multiframegif(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList | ( | GpImage * | image, |
| GUID * | dimensionIDs, | ||
| UINT | count | ||
| ) |
Definition at line 2948 of file image.c.
Referenced by Anime_LoadInfo(), test_GdipGetAllPropertyItems(), test_GdipImageGetFrameDimensionsCount(), test_gif_properties(), test_multiframegif(), and test_tiff_properties().
| GpStatus WINGDIPAPI GdipImageRotateFlip | ( | GpImage * | image, |
| RotateFlipType | type | ||
| ) |
Definition at line 5410 of file image.c.
Referenced by Preview_OnCommand(), test_multiframegif(), and test_rotateflip().
| GpStatus WINGDIPAPI GdipImageSelectActiveFrame | ( | GpImage * | image, |
| GDIPCONST GUID * | dimensionID, | ||
| UINT | frame | ||
| ) |
Definition at line 4350 of file image.c.
Referenced by Anime_SetFrameIndex(), test_GdipImageGetFrameDimensionsCount(), test_gif_properties(), and test_multiframegif().
| GpStatus WINGDIPAPI GdipImageSetAbort | ( | GpImage * | image, |
| GdiplusAbort * | pabort | ||
| ) |
| GpStatus WINGDIPAPI GdipInitializePalette | ( | ColorPalette * | palette, |
| PaletteType | type, | ||
| INT | desired, | ||
| BOOL | transparent, | ||
| GpBitmap * | bitmap | ||
| ) |
Definition at line 5752 of file image.c.
| GpStatus WINGDIPAPI GdipLoadImageFromFile | ( | GDIPCONST WCHAR * | filename, |
| GpImage ** | image | ||
| ) |
Definition at line 2976 of file image.c.
Referenced by GdipLoadImageFromFileICM(), SetWallpaper(), test_LoadingImages(), and test_SavingImages().
| GpStatus WINGDIPAPI GdipLoadImageFromFileICM | ( | GDIPCONST WCHAR * | filename, |
| GpImage ** | image | ||
| ) |
Definition at line 3002 of file image.c.
Referenced by test_LoadingImages().
| GpStatus WINGDIPAPI GdipLoadImageFromStream | ( | IStream * | stream, |
| GpImage ** | image | ||
| ) |
Definition at line 4405 of file image.c.
Referenced by GdipCreateBitmapFromStream(), GdipCreateMetafileFromStream(), GdipLoadImageFromFile(), GdipLoadImageFromStreamICM(), load_image(), test_bufferrawformat(), test_GdipLoadImageFromStream(), and test_loadwmf().
| GpStatus WINGDIPAPI GdipLoadImageFromStreamICM | ( | IStream * | stream, |
| GpImage ** | image | ||
| ) |
| GpStatus WINGDIPAPI GdipRemovePropertyItem | ( | GpImage * | image, |
| PROPID | propId | ||
| ) |
| GpStatus WINGDIPAPI GdipSaveAdd | ( | GpImage * | image, |
| GDIPCONST EncoderParameters * | params | ||
| ) |
| GpStatus WINGDIPAPI GdipSaveImageToFile | ( | GpImage * | image, |
| GDIPCONST WCHAR * | filename, | ||
| GDIPCONST CLSID * | clsidEncoder, | ||
| GDIPCONST EncoderParameters * | encoderParams | ||
| ) |
Definition at line 4476 of file image.c.
Referenced by Preview_pSaveImage(), Preview_pSaveImageAs(), SetWallpaper(), and test_SavingImages().
| GpStatus WINGDIPAPI GdipSaveImageToStream | ( | GpImage * | image, |
| IStream * | stream, | ||
| GDIPCONST CLSID * | clsid, | ||
| GDIPCONST EncoderParameters * | params | ||
| ) |
Definition at line 4671 of file image.c.
Referenced by GdipSaveImageToFile(), and test_supported_encoders().
| GpStatus WINGDIPAPI GdipSetImagePalette | ( | GpImage * | image, |
| GDIPCONST ColorPalette * | palette | ||
| ) |
Definition at line 4744 of file image.c.
Referenced by GdipCreateBitmapFromHBITMAP(), metafile_deserialize_image(), test_bitmapbits(), and test_palette().
| GpStatus WINGDIPAPI GdipSetPropertyItem | ( | GpImage * | image, |
| GDIPCONST PropertyItem * | item | ||
| ) |
| GpStatus WINGDIPAPI GdipTestControl | ( | GpTestControlEnum | control, |
| void * | param | ||
| ) |
Definition at line 5330 of file image.c.
Referenced by test_testcontrol().
Definition at line 1708 of file image.c.
Referenced by GdipCreateBitmapFromScan0().
|
static |
Definition at line 5112 of file image.c.
Referenced by GdipCreateBitmapFromHBITMAP().
|
static |
Definition at line 3053 of file image.c.
Referenced by get_gif_palette(), and get_gif_transparent_idx().
|
static |
Definition at line 4285 of file image.c.
Referenced by BmpDecoder_GetDecoderInfo(), CommonDecoder_GetDecoderInfo(), DdsDecoder_GetDecoderInfo(), GdipLoadImageFromStream(), GifDecoder_GetDecoderInfo(), IcoDecoder_GetDecoderInfo(), and TgaDecoder_GetDecoderInfo().
|
static |
Definition at line 4333 of file image.c.
Referenced by GdipImageSelectActiveFrame().
|
static |
Definition at line 3172 of file image.c.
Referenced by gif_metadata_reader().
Definition at line 3873 of file image.c.
Referenced by select_frame_gif().
|
static |
|
static |
Definition at line 3254 of file image.c.
Referenced by get_gif_frame_rect(), gif_metadata_reader(), and select_frame_gif().
|
static |
Definition at line 3822 of file image.c.
Referenced by blit_gif_frame(), and select_frame_gif().
|
static |
Definition at line 3131 of file image.c.
Referenced by gif_metadata_reader().
|
static |
Definition at line 3184 of file image.c.
Referenced by gif_metadata_reader().
|
static |
Definition at line 3239 of file image.c.
Referenced by gif_metadata_reader().
|
static |
Definition at line 74 of file image.c.
Referenced by decode_frame_wic(), and GdipInitializePalette().
|
inlinestatic |
Definition at line 358 of file image.c.
Referenced by setpixel_1bppIndexed(), setpixel_4bppIndexed(), and setpixel_8bppIndexed().
|
static |
Definition at line 3080 of file image.c.
Referenced by FT_DEFINE_SERVICE(), get_gif_background(), get_gif_comment(), get_gif_frame_property(), get_gif_loopcount(), and get_gif_transparent_idx().
Definition at line 1746 of file image.c.
Referenced by GdipCreateBitmapFromScan0().
|
static |
Definition at line 3438 of file image.c.
Referenced by png_metadata_reader().
|
inlinestatic |
Definition at line 202 of file image.c.
Referenced by convert_pixels(), and GdipBitmapGetPixel().
|
inlinestatic |
Definition at line 175 of file image.c.
Referenced by convert_pixels(), and GdipBitmapGetPixel().
Definition at line 157 of file image.c.
Referenced by convert_pixels(), and GdipBitmapGetPixel().
Definition at line 170 of file image.c.
Referenced by convert_pixels(), and GdipBitmapGetPixel().
|
static |
Definition at line 3294 of file image.c.
Referenced by decode_image_gif().
Definition at line 4006 of file image.c.
Referenced by decode_image_png().
|
static |
Definition at line 3612 of file image.c.
Referenced by decode_image_gif(), decode_image_png(), and decode_image_wic().
|
static |
Definition at line 4195 of file image.c.
Referenced by decode_image_emf().
|
static |
Definition at line 4114 of file image.c.
Referenced by decode_image_wmf().
|
static |
Definition at line 3461 of file image.c.
Referenced by decode_image_png().
|
static |
Definition at line 2502 of file image.c.
Referenced by create_prop(), GdipGetAllPropertyItems(), GdipGetPropertyItemSize(), GdipGetPropertySize(), get_property(), and propvariant_to_item().
|
static |
Definition at line 2619 of file image.c.
Referenced by create_prop(), GdipGetAllPropertyItems(), GdipGetPropertyItem(), and get_property().
Definition at line 3909 of file image.c.
|
static |
Definition at line 5605 of file image.c.
Referenced by GdipBitmapGetHistogram().
|
static |
Definition at line 5590 of file image.c.
Referenced by GdipBitmapGetHistogram().
|
static |
Definition at line 5595 of file image.c.
Referenced by GdipBitmapGetHistogram().
|
static |
Definition at line 5600 of file image.c.
Referenced by GdipBitmapGetHistogram().
|
inlinestatic |
Definition at line 408 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
|
inlinestatic |
Definition at line 414 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
|
inlinestatic |
Definition at line 422 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
|
inlinestatic |
Definition at line 393 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
Definition at line 447 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
Definition at line 476 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
|
inlinestatic |
Definition at line 386 of file image.c.
Referenced by convert_pixels(), and GdipBitmapSetPixel().
Definition at line 2590 of file image.c.
Referenced by propvariant_to_item().
| HRESULT WINAPI WICCreateImagingFactory_Proxy | ( | UINT | SDKVersion, |
| IWICImagingFactory ** | ppIImagingFactory | ||
| ) |
Definition at line 649 of file proxy.c.
Referenced by create_optimal_palette(), encode_image_wic(), get_gif_palette(), get_palette(), and initialize_decoder_wic().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 4775 of file image.c.
Referenced by test_encoders().
Definition at line 4774 of file image.c.
Referenced by test_supported_encoders().
|
static |
Definition at line 4283 of file image.c.
Referenced by GdipGetImageDecoders(), GdipGetImageDecodersSize(), GdipGetImageEncoders(), GdipGetImageEncodersSize(), GdipSaveImageToStream(), get_decoder_info(), get_decoder_info_from_image(), test_encoders(), test_raw_decompress(), test_SavingImages(), and TIFFGetConfiguredCODECs().
| PixelFormat gdip_format |
Definition at line 51 of file image.c.
Referenced by decode_frame_wic(), and encode_image_wic().
Definition at line 4787 of file image.c.
Referenced by load_GifComment_metadata().
Definition at line 4788 of file image.c.
Referenced by test_supported_encoders().
|
static |
Definition at line 2906 of file image.c.
Referenced by GdipImageGetFrameDimensionsList().
Definition at line 4781 of file image.c.
Referenced by test_supported_encoders().
| WICBitmapPaletteType palette_type |
Definition at line 53 of file image.c.
Referenced by decode_frame_wic(), FormatConverter_Initialize(), get_palette(), and test_createbitmapfromsource().
| const struct { ... } pixel_formats[] |
Referenced by decode_frame_wic(), and encode_image_wic().
Definition at line 4816 of file image.c.
Referenced by test_supported_encoders().
Definition at line 4818 of file image.c.
Referenced by DIB_GetBitmapInfo().
Definition at line 4795 of file image.c.
Referenced by test_supported_encoders().
| const WICPixelFormatGUID* wic_format |
Definition at line 50 of file image.c.
Referenced by decode_frame_wic(), and encode_image_wic().