ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Classes | |
struct | tagMETAFILEDC |
struct | tagMF_ENTRY |
struct | tagENHMETAFILE |
struct | _UMPDEV |
struct | _LOCALFONT |
Macros | |
#define | HANDLE_LIST_INC 20 |
#define | METAFILE_MEMORY 1 |
#define | METAFILE_DISK 2 |
#define | SAPCALLBACKDELAY 244 |
#define | LPK_INIT 1 |
#define | LPK_ETO 2 |
#define | LPK_GCP 3 |
#define | LPK_GTEP 4 |
#define | ROP_USES_SOURCE(Rop) (((Rop) << 2 ^ Rop) & 0xCC0000) |
#define | RCAST(_Type, _Value) (*((_Type*)&_Value)) |
#define | PDEV_UMPD_ID 0xFEDCBA98 |
#define | UMPDEV_NO_ESCAPE 0x0002 |
#define | UMPDEV_SUPPORT_ESCAPE 0x0004 |
#define | LOCALFONT_COUNT 10 |
#define | FOtoF(pfo) (*(pfo)) |
#define | HANDLE_METADC(_RetType, _Func, dwError, hdc, ...) |
#define | HANDLE_METADC16(_RetType, _Func, dwError, hdc, ...) |
#define | HANDLE_METADC0P(_RetType, _Func, dwError, hdc, ...) |
#define | HANDLE_EMETAFDC(_RetType, _Func, dwError, hdc, ...) |
#define | HANDLE_METADC1P(_RetType, _Func, dwError, hdc, ...) |
#define LPK_ETO 2 |
#define LPK_GCP 3 |
#define LPK_GTEP 4 |
#define LPK_INIT 1 |
#define ROP_USES_SOURCE | ( | Rop | ) | (((Rop) << 2 ^ Rop) & 0xCC0000) |
typedef struct tagENHMETAFILE ENHMETAFILE |
typedef struct _LOCALFONT LOCALFONT |
typedef BOOL(WINAPI * LPKETO) (HDC hdc, int x, int y, UINT fuOptions, const RECT *lprc, LPCWSTR lpString, UINT uCount, const INT *lpDx, INT unknown) |
typedef DWORD(WINAPI * LPKGCP) (HDC hdc, LPCWSTR lpString, INT uCount, INT nMaxExtent, LPGCP_RESULTSW lpResults, DWORD dwFlags, DWORD dwUnused) |
typedef BOOL(WINAPI * LPKGTEP) (HDC hdc, LPCWSTR lpString, INT cString, INT nMaxExtent, LPINT lpnFit, LPINT lpnDx, LPSIZE lpSize, DWORD dwUnused, int unknown) |
typedef struct tagMETAFILEDC METAFILEDC |
typedef struct tagMF_ENTRY MF_ENTRY |
typedef BOOL(WINAPI * OPENPRINTERW) (LPWSTR, PHANDLE, LPPRINTER_DEFAULTSW) |
typedef struct tagENHMETAFILE* PENHMETAFILE |
typedef struct _LOCALFONT * PLOCALFONT |
typedef struct tagMETAFILEDC* PMETAFILEDC |
typedef struct tagMF_ENTRY * PMF_ENTRY |
typedef BOOL(WINAPI * RESETPRINTERW) (HANDLE, LPPRINTER_DEFAULTSW) |
typedef BOOL(WINAPI * SEEKPRINTER) (HANDLE, LARGE_INTEGER, PLARGE_INTEGER, DWORD, BOOL) |
FORCEINLINE int _lrintf | ( | float | f | ) |
Definition at line 498 of file gdi32p.h.
Referenced by GdiTransformPoints2().
BOOL WINAPI CalculateColorTableSize | ( | CONST BITMAPINFOHEADER * | BitmapInfoHeader, |
UINT * | ColorSpec, | ||
UINT * | ColorTableSize | ||
) |
Definition at line 32 of file utils.c.
Referenced by ConvertBitmapInfo().
LPBITMAPINFO WINAPI ConvertBitmapInfo | ( | CONST BITMAPINFO * | BitmapInfo, |
UINT | ColorSpec, | ||
UINT * | BitmapInfoSize, | ||
BOOL | FollowedByData | ||
) |
Definition at line 178 of file utils.c.
Referenced by CreateDIBitmap(), CreateDIBPatternBrush(), CreateDIBPatternBrushPt(), CreateDIBSection(), ExtCreatePen(), SetDIBitsToDevice(), and StretchDIBits().
int FASTCALL DocumentEventEx | ( | PVOID | pvUMPDev, |
HANDLE | hPrinter, | ||
HDC | hdc, | ||
int | iEsc, | ||
ULONG | cbIn, | ||
PVOID | pvIn, | ||
ULONG | cbOut, | ||
PVOID | pvOut | ||
) |
Definition at line 152 of file printdrv.c.
Referenced by AbortDoc(), EndDoc(), IntEndPage(), StartDocW(), and StartPage().
BOOL EMFDC_AlphaBlend | ( | LDC * | dc_attr, |
INT | x_dst, | ||
INT | y_dst, | ||
INT | width_dst, | ||
INT | height_dst, | ||
HDC | hdc_src, | ||
INT | x_src, | ||
INT | y_src, | ||
INT | width_src, | ||
INT | height_src, | ||
BLENDFUNCTION | blend_function | ||
) |
FORCEINLINE BOOL EMFDC_Arc | ( | PLDC | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
BOOL EMFDC_ArcChordPie | ( | LDC * | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend, | ||
DWORD | type | ||
) |
Referenced by EMFDC_Arc(), EMFDC_ArcTo(), EMFDC_Chord(), and EMFDC_Pie().
FORCEINLINE BOOL EMFDC_ArcTo | ( | PLDC | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
BOOL EMFDC_BitBlt | ( | LDC * | dc_attr, |
INT | x_dst, | ||
INT | y_dst, | ||
INT | width, | ||
INT | height, | ||
HDC | hdc_src, | ||
INT | x_src, | ||
INT | y_src, | ||
DWORD | rop | ||
) |
FORCEINLINE BOOL EMFDC_Chord | ( | PLDC | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
Referenced by METADC_RosGlueDeleteDC().
BOOL EMFDC_ExtTextOut | ( | LDC * | dc_attr, |
INT | x, | ||
INT | y, | ||
UINT | flags, | ||
const RECT * | rect, | ||
const WCHAR * | str, | ||
UINT | count, | ||
const INT * | dx | ||
) |
Definition at line 2326 of file emfdc.c.
Referenced by GdiComment().
BOOL EMFDC_GradientFill | ( | LDC * | dc_attr, |
TRIVERTEX * | vert_array, | ||
ULONG | nvert, | ||
void * | grad_array, | ||
ULONG | ngrad, | ||
ULONG | mode | ||
) |
BOOL EMFDC_MaskBlt | ( | LDC * | dc_attr, |
INT | xDest, | ||
INT | yDest, | ||
INT | cx, | ||
INT | cy, | ||
HDC | hdcSrc, | ||
INT | xSrc, | ||
INT | ySrc, | ||
HBITMAP | hbmMask, | ||
INT | xMask, | ||
INT | yMask, | ||
DWORD | dwRop | ||
) |
FORCEINLINE BOOL EMFDC_Pie | ( | PLDC | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
BOOL EMFDC_PlgBlt | ( | LDC * | dc_attr, |
const POINT * | ppt, | ||
HDC | hdcSrc, | ||
INT | xSrc, | ||
INT | ySrc, | ||
INT | cx, | ||
INT | cy, | ||
HBITMAP | hbmMask, | ||
INT | xMask, | ||
INT | yMask | ||
) |
BOOL EMFDC_RoundRect | ( | LDC * | dc_attr, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | ell_width, | ||
INT | ell_height | ||
) |
Referenced by SelectPalette().
Referenced by EMFDC_SetD().
Definition at line 331 of file rosglue.c.
Referenced by GetAndSetDCDWord().
BOOL EMFDC_SetDIBitsToDevice | ( | LDC * | dc_attr, |
INT | x_dest, | ||
INT | y_dest, | ||
DWORD | width, | ||
DWORD | height, | ||
INT | x_src, | ||
INT | y_src, | ||
UINT | startscan, | ||
UINT | lines, | ||
const void * | bits, | ||
const BITMAPINFO * | info, | ||
UINT | coloruse | ||
) |
Referenced by EMFDC_SetD().
Referenced by SetMetaRgn().
BOOL EMFDC_StretchBlt | ( | LDC * | dc_attr, |
INT | x_dst, | ||
INT | y_dst, | ||
INT | width_dst, | ||
INT | height_dst, | ||
HDC | hdc_src, | ||
INT | x_src, | ||
INT | y_src, | ||
INT | width_src, | ||
INT | height_src, | ||
DWORD | rop | ||
) |
BOOL EMFDC_StretchDIBits | ( | LDC * | dc_attr, |
INT | x_dst, | ||
INT | y_dst, | ||
INT | width_dst, | ||
INT | height_dst, | ||
INT | x_src, | ||
INT | y_src, | ||
INT | width_src, | ||
INT | height_src, | ||
const void * | bits, | ||
const BITMAPINFO * | info, | ||
UINT | coloruse, | ||
DWORD | rop | ||
) |
BOOL EMFDC_TransparentBlt | ( | LDC * | dc_attr, |
INT | xDst, | ||
INT | yDst, | ||
INT | cxDst, | ||
INT | cyDst, | ||
HDC | hdcSrc, | ||
INT | xSrc, | ||
INT | ySrc, | ||
INT | cxSrc, | ||
INT | cySrc, | ||
UINT | crTransparent | ||
) |
BOOL EMFDC_WriteNamedEscape | ( | LDC * | dc_attr, |
PWCHAR | pDriver, | ||
INT | nEscape, | ||
INT | cbInput, | ||
LPCSTR | lpszInData | ||
) |
VOID WINAPI EnumLogFontExW2A | ( | LPENUMLOGFONTEXA | fontA, |
CONST ENUMLOGFONTEXW * | fontW | ||
) |
Definition at line 402 of file utils.c.
Referenced by CreateFontIndirectExA(), and GetFontObjectA().
VOID FASTCALL FONT_TextMetricWToA | ( | const TEXTMETRICW * | ptmW, |
LPTEXTMETRICA | ptmA | ||
) |
Definition at line 79 of file font.c.
Referenced by GetOutlineTextMetricsA(), GetTextMetricsA(), and NewTextMetricW2A().
int WINAPI GdiAddFontResourceW | ( | LPCWSTR | lpszFilename, |
FLONG | fl, | ||
DESIGNVECTOR * | pdv | ||
) |
Definition at line 2404 of file font.c.
Referenced by AddFontResourceA(), AddFontResourceExA(), AddFontResourceExW(), and AddFontResourceW().
FORCEINLINE PVOID GdiAllocBatchCommand | ( | HDC | hdc, |
USHORT | Cmd | ||
) |
Definition at line 381 of file gdi32p.h.
Referenced by DeleteRegion(), ExtSelectClipRgn(), ExtTextOutW(), GdiDeleteBrushOrPen(), GdiSelectFont(), PatBlt(), PolyPatBlt(), and SetBrushOrgEx().
Definition at line 403 of file dc.c.
Referenced by AngleArc(), Arc(), ArcTo(), BitBlt(), Chord(), Ellipse(), ExtFloodFill(), ExtTextOutW(), FillRgn(), FrameRgn(), GdiAlphaBlend(), GdiGradientFill(), GdiTransparentBlt(), InvertRgn(), LineTo(), MaskBlt(), PatBlt(), Pie(), PlgBlt(), PolyBezier(), PolyBezierTo(), PolyDraw(), Polygon(), Polyline(), PolylineTo(), PolyPolygon(), PolyPolyline(), Rectangle(), RoundRect(), SetPixel(), StretchBlt(), and StretchDIBits().
Definition at line 148 of file clientobj.c.
Referenced by alloc_gdi_handle(), and CreateMetaFileW().
Definition at line 24 of file clientobj.c.
Referenced by GDI_hdc_using_object(), and GdiCreateClientObj().
Definition at line 173 of file clientobj.c.
Referenced by CloseMetaFile(), CreateMetaFileW(), free_gdi_handle(), and METADC_DeleteDC().
Definition at line 734 of file misc.c.
Referenced by GetObjectW(), and SelectObject().
int WINAPI GdiGetBitmapBitsSize | ( | BITMAPINFO * | lpbmi | ) |
Definition at line 209 of file bitmap.c.
Referenced by ConvertBitmapInfo(), CreateDIBitmap(), and StretchDIBits().
Definition at line 61 of file clientobj.c.
Referenced by GDI_GetObjPtr(), get_dc_ptr(), and get_metadc_ptr().
FORCEINLINE PDC_ATTR GdiGetDcAttr | ( | HDC | hdc | ) |
Definition at line 451 of file gdi32p.h.
Referenced by DPtoLP(), Escape(), ExtSelectClipRgn(), ExtTextOutW(), GdiGetCodePage(), GdiGetLDC(), GdiIsPlayMetafileDC(), GdiSelectBrush(), GdiSelectFont(), GdiSelectPen(), GdiSetLDC(), GetBkColor(), GetBkMode(), GetClipRgn(), GetCurrentObject(), GetCurrentPositionEx(), GetDCBrushColor(), GetDCPenColor(), GetDeviceCaps(), GetGraphicsMode(), GetHFONT(), GetLayout(), GetMapMode(), GetPolyFillMode(), GetROP2(), GetStretchBltMode(), GetTextAlign(), GetTextCharacterExtra(), GetTextColor(), GetViewportExtEx(), GetViewportOrgEx(), GetWindowExtEx(), GetWindowOrgEx(), GetWorldTransform(), LPtoDP(), ModifyWorldTransform(), MoveToEx(), OffsetViewportOrgEx(), OffsetWindowOrgEx(), PatBlt(), PolyPatBlt(), ScaleViewportExtEx(), ScaleWindowExtEx(), SetBkColor(), SetBkMode(), SetDCBrushColor(), SetDCPenColor(), SetGraphicsMode(), SetLayout(), SetLayoutWidth(), SetMapMode(), SetMapperFlags(), SetPolyFillMode(), SetROP2(), SetStretchBltMode(), SetTextAlign(), SetTextCharacterExtra(), SetTextColor(), SetTextJustification(), SetViewportExtEx(), SetViewportOrgEx(), SetWindowExtEx(), and SetWindowOrgEx().
Definition at line 761 of file misc.c.
Referenced by GdiGetDcAttr(), GdiGetRgnAttr(), and hGetPEBHandle().
Definition at line 785 of file misc.c.
Referenced by AbortDoc(), CancelDC(), DrawEscape(), EndDoc(), GDI_GetObjPtr(), GdiConvertAndCheckDC(), GdiIsMetaFileDC(), GdiIsMetaPrintDC(), get_dc_ptr(), GetAndSetDCDWord(), GetDeviceCaps(), IntEndPage(), METADC_RosGlueDeleteDC(), METADC_RosGlueDeleteObject(), SelectPalette(), SetAbortProc(), SetBrushOrgEx(), SetColorSpace(), SetDIBitsToDevice(), SetMetaRgn(), StartDocW(), and StartPage().
FORCEINLINE PRGN_ATTR GdiGetRgnAttr | ( | HRGN | hrgn | ) |
Definition at line 475 of file gdi32p.h.
Referenced by CombineRgn(), CreateRectRgn(), DeleteRegion(), ExtSelectClipRgn(), GetRgnBox(), OffsetRgn(), PtInRegion(), RectInRegion(), and SetRectRgn().
Referenced by GdiProcessSetup().
Definition at line 98 of file clientobj.c.
Referenced by GDI_hdc_not_using_object(), GdiDeleteClientObj(), and METADC_RosGlueDeleteObject().
Definition at line 819 of file misc.c.
Referenced by GdiConvertAndCheckDC(), IntEndPage(), SetDIBitsToDevice(), and StartDocW().
Definition at line 1435 of file dc.c.
Referenced by SelectObject().
Definition at line 1495 of file dc.c.
Referenced by SelectObject().
Definition at line 1465 of file dc.c.
Referenced by SelectObject().
Definition at line 873 of file misc.c.
Referenced by CreateDIBitmap(), Escape(), GetDIBits(), GetTextFaceA(), GetTextFaceAliasW(), GetTextFaceW(), and TranslateCharsetInfo().
Definition at line 802 of file misc.c.
Referenced by alloc_dc_ptr(), and METADC_RosGlueDeleteDC().
Definition at line 712 of file misc.c.
Referenced by DeleteObject(), GetDIBits(), GetObjectType(), GetObjectW(), GetPixel(), GetStockObject(), MirrorRgnDC(), PolyPatBlt(), and SelectObject().
DWORD WINAPI GetAndSetDCDWord | ( | _In_ HDC | hdc, |
_In_ UINT | u, | ||
_In_ DWORD | dwIn, | ||
_In_ ULONG | ulMFId, | ||
_In_ USHORT | usMF16Id, | ||
_In_ DWORD | dwError | ||
) |
Definition at line 746 of file dc.c.
Referenced by SetArcDirection(), SetMapMode(), and SetRelAbs().
Definition at line 787 of file dc.c.
Referenced by EMFDC_RestoreDC(), GetFontLanguageInfo(), and GetObjectType().
BOOL WINAPI GetETM | ( | HDC | hdc, |
EXTTEXTMETRIC * | petm | ||
) |
Referenced by Escape().
Definition at line 35 of file heap.c.
Referenced by HEAP_strdupA2W().
Definition at line 63 of file heap.c.
Referenced by AddFontResourceA(), AddFontResourceExA(), CreateDCA(), CreateICA(), EnumFontsA(), GetStringBitmapA(), GetTextExtentExPointA(), RemoveFontResourceExA(), and ResetDCA().
Definition at line 43 of file heap.c.
Referenced by AddFontResourceA(), AddFontResourceExA(), CreateICA(), EnumFontsA(), GetStringBitmapA(), GetTextExtentExPointA(), and RemoveFontResourceExA().
HGDIOBJ FASTCALL hGetPEBHandle | ( | HANDLECACHETYPE | Type, |
COLORREF | cr | ||
) |
Definition at line 880 of file misc.c.
Referenced by CreatePen(), and CreateRectRgn().
Definition at line 423 of file utils.c.
Referenced by ExtTextOutW(), GdiInitializeLanguagePack(), GetCharacterPlacementW(), and GetTextExtentExPointW().
Definition at line 188 of file printdrv.c.
Referenced by IntCreateDICW().
VOID NTAPI LogFontA2W | ( | LPLOGFONTW | pW, |
CONST LOGFONTA * | pA | ||
) |
Definition at line 348 of file utils.c.
Referenced by CreateFontIndirectA(), EnumFontFamiliesExA(), and RealSystemParametersInfoA().
VOID NTAPI LogFontW2A | ( | LPLOGFONTA | pA, |
CONST LOGFONTW * | pW | ||
) |
Definition at line 375 of file utils.c.
Referenced by EnumLogFontExW2A(), IntEnumFontFamilies(), and RealSystemParametersInfoA().
BOOL METADC_Arc | ( | HDC | hdc, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
Definition at line 341 of file metadc.c.
BOOL METADC_BitBlt | ( | HDC | hdc_dst, |
INT | x_dst, | ||
INT | y_dst, | ||
INT | width, | ||
INT | height, | ||
HDC | hdc_src, | ||
INT | x_src, | ||
INT | y_src, | ||
DWORD | rop | ||
) |
Definition at line 800 of file metadc.c.
BOOL METADC_Chord | ( | HDC | hdc, |
INT | left, | ||
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | xstart, | ||
INT | ystart, | ||
INT | xend, | ||
INT | yend | ||
) |
Definition at line 1318 of file metadc.c.
Referenced by METADC_RosGlueDeleteDC().
Definition at line 362 of file metadc.c.
BOOL METADC_ExtEscape | ( | HDC | hdc, |
INT | escape, | ||
INT | input_size, | ||
LPCSTR | input, | ||
INT | output_size, | ||
LPVOID | output | ||
) |
Definition at line 1269 of file metadc.c.
Referenced by Escape().
Definition at line 492 of file metadc.c.
Definition at line 988 of file metadc.c.