|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <limits.h>#include <math.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include <pshpack2.h>#include <poppack.h>

Go to the source code of this file.
Classes | |
| struct | EMRSETTEXTJUSTIFICATION |
| struct | tagEMRESCAPE |
| struct | gdi_obj_funcs |
| struct | tagWINEDC |
| struct | emf_in_wmf_comment |
Macros | |
| #define | GDI_HANDLE_TYPE_MASK 0x007f0000 |
| #define | GDI_HANDLE_GET_TYPE(h) (((ULONG_PTR)(h)) & GDI_HANDLE_TYPE_MASK) |
| #define | GdiWorldSpaceToDeviceSpace 0x204 |
| #define | DCB_WINDOWMGR 0x8000 /* Queries the Windows bounding rectangle instead of the application's */ |
| #define | META_EOF 0x0000 |
| #define | METAFILE_MEMORY 1 |
| #define | METAFILE_DISK 2 |
| #define | MFHEADERSIZE (sizeof(METAHEADER)) |
| #define | MFVERSION 0x300 |
| #define | LDC_LDC 0x00000001 |
| #define | LDC_EMFLDC 0x00000002 |
| #define | WMFC_MAGIC 0x43464d57 |
| #define | EMR_SETLINKEDUFI 119 |
| #define | DIB_PAL_MONO 2 |
| #define | GdiWorldSpaceToDeviceSpace 0x204 |
| #define | GDIRealizePalette RealizePalette |
| #define | GDISelectPalette SelectPalette |
| #define | get_full_gdi_handle GdiFixUpHandle |
| #define | DbgRaiseAssertionFailure() __int2c() |
| #define | ASSERT(x) if (!(x)) DbgRaiseAssertionFailure() |
Typedefs | |
| typedef enum GDILoObjType | GDILOOBJTYPE |
| typedef enum GDILoObjType * | PGDILOOBJTYPE |
| typedef struct EMRSETTEXTJUSTIFICATION * | PEMRSETTEXTJUSTIFICATION |
| typedef struct tagEMRESCAPE | EMRESCAPE |
| typedef struct tagEMRESCAPE * | PEMRESCAPE |
| typedef struct tagEMRESCAPE | EMRNAMEDESCAPE |
| typedef struct tagEMRESCAPE * | PEMRNAMEDESCAPE |
| typedef struct emf * | PEMF |
| typedef struct tagWINEDC | WINEDC |
| typedef struct tagWINEDC | DC |
| #define ASSERT | ( | x | ) | if (!(x)) DbgRaiseAssertionFailure() |
Definition at line 242 of file gdi_private.h.
Definition at line 238 of file gdi_private.h.
| #define DCB_WINDOWMGR 0x8000 /* Queries the Windows bounding rectangle instead of the application's */ |
Definition at line 62 of file gdi_private.h.
| #define DIB_PAL_MONO 2 |
Definition at line 196 of file gdi_private.h.
| #define EMR_SETLINKEDUFI 119 |
Definition at line 193 of file gdi_private.h.
| #define GDI_HANDLE_GET_TYPE | ( | h | ) | (((ULONG_PTR)(h)) & GDI_HANDLE_TYPE_MASK) |
Definition at line 54 of file gdi_private.h.
| #define GDI_HANDLE_TYPE_MASK 0x007f0000 |
Definition at line 53 of file gdi_private.h.
| #define GDIRealizePalette RealizePalette |
Definition at line 225 of file gdi_private.h.
| #define GDISelectPalette SelectPalette |
Definition at line 226 of file gdi_private.h.
| #define GdiWorldSpaceToDeviceSpace 0x204 |
Definition at line 221 of file gdi_private.h.
| #define GdiWorldSpaceToDeviceSpace 0x204 |
Definition at line 221 of file gdi_private.h.
| #define get_full_gdi_handle GdiFixUpHandle |
Definition at line 229 of file gdi_private.h.
| #define LDC_EMFLDC 0x00000002 |
Definition at line 105 of file gdi_private.h.
| #define LDC_LDC 0x00000001 |
Definition at line 104 of file gdi_private.h.
| #define META_EOF 0x0000 |
Definition at line 71 of file gdi_private.h.
| #define METAFILE_DISK 2 |
Definition at line 75 of file gdi_private.h.
| #define METAFILE_MEMORY 1 |
Definition at line 74 of file gdi_private.h.
| #define MFHEADERSIZE (sizeof(METAHEADER)) |
Definition at line 76 of file gdi_private.h.
| #define MFVERSION 0x300 |
Definition at line 77 of file gdi_private.h.
| #define WMFC_MAGIC 0x43464d57 |
Definition at line 186 of file gdi_private.h.
| typedef struct tagEMRESCAPE EMRESCAPE |
| typedef struct tagEMRESCAPE EMRNAMEDESCAPE |
| typedef enum GDILoObjType GDILOOBJTYPE |
Definition at line 107 of file gdi_private.h.
| typedef struct tagEMRESCAPE * PEMRESCAPE |
| typedef struct tagEMRESCAPE * PEMRNAMEDESCAPE |
| typedef enum GDILoObjType * PGDILOOBJTYPE |
Definition at line 31 of file gdi_private.h.
Definition at line 106 of file rosglue.c.
Referenced by CreateEnhMetaFileW(), and MFDRV_AllocMetaFile().
Referenced by EMF_Create_HENHMETAFILE(), and MF_Create_HMETAFILE().
| int bitmap_info_size | ( | const BITMAPINFO * | info, |
| WORD | coloruse | ||
| ) |
Definition at line 199 of file rosglue.c.
| HENHMETAFILE EMF_Create_HENHMETAFILE | ( | ENHMETAHEADER * | emh, |
| DWORD | filesize, | ||
| BOOL | on_disk | ||
| ) |
Definition at line 259 of file enhmetafile.c.
Referenced by CloseEnhMetaFile(), CopyEnhMetaFileA(), CopyEnhMetaFileW(), EMF_GetEnhMetaFile(), and SetEnhMetaFileBits().
| BOOL EMFDRV_AlphaBlend | ( | WINEDC * | dc_dst, |
| INT | x_dst, | ||
| INT | y_dst, | ||
| INT | width_dst, | ||
| INT | height_dst, | ||
| HDC | dc_src, | ||
| INT | x_src, | ||
| INT | y_src, | ||
| INT | width_src, | ||
| INT | height_src, | ||
| BLENDFUNCTION | func | ||
| ) |
| BOOL EMFDRV_Arc | ( | WINEDC * | dc, |
| INT | left, | ||
| INT | top, | ||
| INT | right, | ||
| INT | bottom, | ||
| INT | xstart, | ||
| INT | ystart, | ||
| INT | xend, | ||
| INT | yend | ||
| ) |
Definition at line 227 of file emfdrv.c.
| BOOL EMFDRV_ArcChordPie | ( | WINEDC * | dc, |
| INT | left, | ||
| INT | top, | ||
| INT | right, | ||
| INT | bottom, | ||
| INT | xstart, | ||
| INT | ystart, | ||
| INT | xend, | ||
| INT | yend, | ||
| DWORD | type | ||
| ) |
Definition at line 120 of file emfdrv.c.
Referenced by EMFDC_ArcChordPie(), EMFDRV_Arc(), EMFDRV_ArcTo(), EMFDRV_Chord(), and EMFDRV_Pie().
Definition at line 83 of file emfdrv.c.
Referenced by EMFDC_LineTo().
| BOOL EMFDRV_RoundRect | ( | WINEDC * | dc, |
| INT | left, | ||
| INT | top, | ||
| INT | right, | ||
| INT | bottom, | ||
| INT | ell_width, | ||
| INT | ell_height | ||
| ) |
| INT EMFDRV_SetDIBitsToDevice | ( | WINEDC * | dc, |
| INT | x_dst, | ||
| INT | y_dst, | ||
| DWORD | width, | ||
| DWORD | height, | ||
| INT | x_src, | ||
| INT | y_src, | ||
| UINT | startscan, | ||
| UINT | lines, | ||
| const void * | bits, | ||
| BITMAPINFO * | info, | ||
| UINT | usage | ||
| ) |
Definition at line 295 of file emfdrv.c.
Referenced by EMFDC_SetPixel().
Referenced by CloseEnhMetaFile(), CloseMetaFile(), CreateEnhMetaFileW(), CreateMetaFileW(), MFDRV_AllocMetaFile(), and MFDRV_CloseMetaFile().
Definition at line 59 of file rosglue.c.
Referenced by DeleteMetaFile(), and EMF_Delete_HENHMETAFILE().
Definition at line 66 of file rosglue.c.
Referenced by EMF_GetEnhMetaHeader(), get_metafile_bits(), and GetMetaFileBitsEx().
Definition at line 182 of file rosglue.c.
Referenced by EMFDC_DeleteDC(), EMFDRV_DeleteDC(), metadc_free(), and MFDRV_DeleteDC().
Definition at line 166 of file rosglue.c.
Referenced by emfdc_select_brush(), emfdc_select_font(), emfdc_select_pen(), EMFDC_SelectPalette(), EMFDC_SetDCBrushColor(), EMFDC_SetDCPenColor(), EMFDRV_SelectBrush(), EMFDRV_SelectFont(), EMFDRV_SelectPalette(), EMFDRV_SelectPen(), EMFDRV_SetDCBrushColor(), EMFDRV_SetDCPenColor(), METADC_SelectBrush(), METADC_SelectFont(), METADC_SelectPen(), MFDRV_SelectBrush(), MFDRV_SelectFont(), and MFDRV_SelectPen().
Definition at line 100 of file rosglue.c.
Referenced by EMF_GetEnhMetaHeader(), get_metafile_bits(), and GetMetaFileBitsEx().
Definition at line 148 of file clientobj.c.
Definition at line 173 of file clientobj.c.
Definition at line 61 of file clientobj.c.
| BOOL get_brush_bitmap_info | ( | HBRUSH | handle, |
| BITMAPINFO * | info, | ||
| void * | bits, | ||
| UINT * | usage | ||
| ) |
Referenced by emfdc_create_brush(), EMFDRV_CreateBrushIndirect(), metadc_create_brush(), and MFDRV_CreateBrushIndirect().
Definition at line 147 of file rosglue.c.
Referenced by CloseEnhMetaFile(), emfdc_delete_object(), EMFDC_GdiComment(), EMFDC_MaskBlt(), EMFDC_PlgBlt(), emfdrv_stretchblt(), and MFDRV_CloseMetaFile().
|
inlinestatic |
Definition at line 205 of file gdi_private.h.
|
inlinestatic |
Definition at line 212 of file gdi_private.h.
Referenced by emfdc_create_brush(), EMFDC_SetDIBitsToDevice(), EMFDC_StretchDIBits(), EMFDRV_CreateBrushIndirect(), EMFDRV_SetDIBitsToDevice(), EMFDRV_StretchDIBits(), metadc_create_brush(), METADC_SetDIBitsToDevice(), METADC_StretchDIBits(), MFDRV_CreateBrushIndirect(), MFDRV_SetDIBitsToDevice(), MFDRV_StretchBlt(), and MFDRV_StretchDIBits().
Definition at line 1068 of file misc.c.
Definition at line 787 of file dc.c.
Referenced by GetArcDirection(), and GetRelAbs().
| HMETAFILE MF_Create_HMETAFILE | ( | METAHEADER * | mh | ) |
Definition at line 107 of file metafile.c.
Referenced by CloseMetaFile(), CopyMetaFileW(), GetMetaFileA(), GetMetaFileW(), and SetMetaFileBitsEx().
| METAHEADER * MF_CreateMetaHeaderDisk | ( | METAHEADER * | mr, |
| LPCVOID | filename, | ||
| BOOL | unicode | ||
| ) |
Definition at line 271 of file metafile.c.
Referenced by CreateMetaFileW().
| INT WINAPI NamedEscape | ( | HDC | hdc, |
| PWCHAR | pDriver, | ||
| INT | iEsc, | ||
| INT | cjIn, | ||
| LPSTR | pjIn, | ||
| INT | cjOut, | ||
| LPSTR | pjOut | ||
| ) |
Definition at line 229 of file misc.c.
Referenced by PlayEnhMetaFileRecord().
Referenced by EMFDC_MaskBlt(), EMFDC_PlgBlt(), EMFDRV_StretchBlt(), emfdrv_stretchblt(), GetOutlineTextMetricsW(), and GetWorldTransform().
Referenced by CloseEnhMetaFile(), CreateEnhMetaFileW(), CreateMetaFileW(), and MFDRV_CloseMetaFile().
| BOOL WINAPI SetVirtualResolution | ( | HDC | hdc, |
| DWORD | horz_res, | ||
| DWORD | vert_res, | ||
| DWORD | horz_size, | ||
| DWORD | vert_size | ||
| ) |
Definition at line 278 of file rosglue.c.
Referenced by CreateEnhMetaFileW(), CreateMetaFileW(), and MFDRV_AllocMetaFile().