⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wingdi.h

📁 MinGW+MSYS开发必用的api参考
💻 H
📖 第 1 页 / 共 5 页
字号:
	FLOAT eMiterLimit;} EMRSETMITERLIMIT,*PEMRSETMITERLIMIT;typedef struct tagEMRSETPALETTEENTRIES {	EMR emr;	DWORD ihPal;	DWORD iStart;	DWORD cEntries;	PALETTEENTRY aPalEntries[1];} EMRSETPALETTEENTRIES,*PEMRSETPALETTEENTRIES;typedef struct tagEMRSETPIXELV {	EMR emr;	POINTL ptlPixel;	COLORREF crColor;} EMRSETPIXELV,*PEMRSETPIXELV;typedef struct tagEMRSETVIEWPORTEXTEX {	EMR emr;	SIZEL szlExtent;} EMRSETVIEWPORTEXTEX,*PEMRSETVIEWPORTEXTEX,EMRSETWINDOWEXTEX,*PEMRSETWINDOWEXTEX;typedef struct tagEMRSETVIEWPORTORGEX {	EMR emr;	POINTL ptlOrigin;} EMRSETVIEWPORTORGEX,*PEMRSETVIEWPORTORGEX,EMRSETWINDOWORGEX,*PEMRSETWINDOWORGEX,EMRSETBRUSHORGEX,*PEMRSETBRUSHORGEX;typedef struct tagEMRSETWORLDTRANSFORM {	EMR emr;	XFORM xform;} EMRSETWORLDTRANSFORM,*PEMRSETWORLDTRANSFORM;typedef struct tagEMRSTRETCHBLT {	EMR emr;	RECTL rclBounds;	LONG xDest;	LONG yDest;	LONG cxDest;	LONG cyDest;	DWORD dwRop;	LONG xSrc;	LONG ySrc;	XFORM xformSrc;	COLORREF crBkColorSrc;	DWORD iUsageSrc;	DWORD offBmiSrc;	DWORD cbBmiSrc;	DWORD offBitsSrc;	DWORD cbBitsSrc;	LONG cxSrc;	LONG cySrc;} EMRSTRETCHBLT,*PEMRSTRETCHBLT;typedef struct tagEMRSTRETCHDIBITS {	EMR emr;	RECTL rclBounds;	LONG xDest;	LONG yDest;	LONG xSrc;	LONG ySrc;	LONG cxSrc;	LONG cySrc;	DWORD offBmiSrc;	DWORD cbBmiSrc;	DWORD offBitsSrc;	DWORD cbBitsSrc;	DWORD iUsageSrc;	DWORD dwRop;	LONG cxDest;	LONG cyDest;} EMRSTRETCHDIBITS,*PEMRSTRETCHDIBITS;typedef struct tagABORTPATH {	EMR emr;} EMRABORTPATH,*PEMRABORTPATH,EMRBEGINPATH,*PEMRBEGINPATH,EMRENDPATH,*PEMRENDPATH,EMRCLOSEFIGURE,*PEMRCLOSEFIGURE,EMRFLATTENPATH,*PEMRFLATTENPATH,EMRWIDENPATH,*PEMRWIDENPATH,EMRSETMETARGN,*PEMRSETMETARGN,EMRSAVEDC,*PEMRSAVEDC,EMRREALIZEPALETTE,*PEMRREALIZEPALETTE;typedef struct tagEMRSELECTCLIPPATH {	EMR emr;	DWORD iMode;} EMRSELECTCLIPPATH,*PEMRSELECTCLIPPATH,EMRSETBKMODE,*PEMRSETBKMODE,EMRSETMAPMODE,*PEMRSETMAPMODE,EMRSETPOLYFILLMODE,*PEMRSETPOLYFILLMODE,EMRSETROP2,*PEMRSETROP2,EMRSETSTRETCHBLTMODE,*PEMRSETSTRETCHBLTMODE,EMRSETTEXTALIGN,*PEMRSETTEXTALIGN,EMRENABLEICM,*PEMRENABLEICM;#pragma pack(push,2)typedef struct tagMETAHEADER {	WORD mtType;	WORD mtHeaderSize;	WORD mtVersion;	DWORD mtSize;	WORD mtNoObjects;	DWORD mtMaxRecord;	WORD mtNoParameters;} METAHEADER,*PMETAHEADER,*LPMETAHEADER;#pragma pack(pop)typedef struct tagENHMETAHEADER {	DWORD iType;	DWORD nSize;	RECTL rclBounds;	RECTL rclFrame;	DWORD dSignature;	DWORD nVersion;	DWORD nBytes;	DWORD nRecords;	WORD nHandles;	WORD sReserved;	DWORD nDescription;	DWORD offDescription;	DWORD nPalEntries;	SIZEL szlDevice;	SIZEL szlMillimeters;#if (WINVER >= 0x0400)	DWORD cbPixelFormat;	DWORD offPixelFormat;	DWORD bOpenGL;#endif#if (WINVER >= 0x0500)	SIZEL szlMicrometers;#endif} ENHMETAHEADER,*LPENHMETAHEADER;typedef struct tagMETARECORD {	DWORD rdSize;	WORD rdFunction;	WORD rdParm[1];} METARECORD,*PMETARECORD,*LPMETARECORD;typedef struct tagENHMETARECORD {	DWORD iType;	DWORD nSize;	DWORD dParm[1];} ENHMETARECORD,*LPENHMETARECORD;typedef struct tagHANDLETABLE {	HGDIOBJ objectHandle[1];} HANDLETABLE,*LPHANDLETABLE;typedef struct tagTEXTMETRICA {	LONG tmHeight;	LONG tmAscent;	LONG tmDescent;	LONG tmInternalLeading;	LONG tmExternalLeading;	LONG tmAveCharWidth;	LONG tmMaxCharWidth;	LONG tmWeight;	LONG tmOverhang;	LONG tmDigitizedAspectX;	LONG tmDigitizedAspectY;	BYTE tmFirstChar;	BYTE tmLastChar;	BYTE tmDefaultChar;	BYTE tmBreakChar;	BYTE tmItalic;	BYTE tmUnderlined;	BYTE tmStruckOut;	BYTE tmPitchAndFamily;	BYTE tmCharSet;} TEXTMETRICA,*PTEXTMETRICA,*LPTEXTMETRICA;typedef struct tagTEXTMETRICW {	LONG tmHeight;	LONG tmAscent;	LONG tmDescent;	LONG tmInternalLeading;	LONG tmExternalLeading;	LONG tmAveCharWidth;	LONG tmMaxCharWidth;	LONG tmWeight;	LONG tmOverhang;	LONG tmDigitizedAspectX;	LONG tmDigitizedAspectY;	WCHAR tmFirstChar;	WCHAR tmLastChar;	WCHAR tmDefaultChar;	WCHAR tmBreakChar;	BYTE tmItalic;	BYTE tmUnderlined;	BYTE tmStruckOut;	BYTE tmPitchAndFamily;	BYTE tmCharSet;} TEXTMETRICW,*PTEXTMETRICW,*LPTEXTMETRICW;typedef struct _RGNDATAHEADER {	DWORD dwSize;	DWORD iType;	DWORD nCount;	DWORD nRgnSize;	RECT rcBound;} RGNDATAHEADER;typedef struct _RGNDATA {	RGNDATAHEADER rdh;	char Buffer[1];} RGNDATA,*PRGNDATA, *LPRGNDATA;/* for GetRandomRgn */#define SYSRGN  4typedef struct tagGCP_RESULTSA {	DWORD lStructSize;	LPSTR lpOutString;	UINT *lpOrder;	INT *lpDx;	INT *lpCaretPos;	LPSTR lpClass;	LPWSTR lpGlyphs;	UINT nGlyphs;	UINT nMaxFit;} GCP_RESULTSA,*LPGCP_RESULTSA;typedef struct tagGCP_RESULTSW {	DWORD lStructSize;	LPWSTR lpOutString;	UINT *lpOrder;	INT *lpDx;	INT *lpCaretPos;	LPWSTR lpClass;	LPWSTR lpGlyphs;	UINT nGlyphs;	UINT nMaxFit;} GCP_RESULTSW,*LPGCP_RESULTSW;typedef struct _GLYPHMETRICS {	UINT gmBlackBoxX;	UINT gmBlackBoxY;	POINT gmptGlyphOrigin;	short gmCellIncX;	short gmCellIncY;} GLYPHMETRICS,*LPGLYPHMETRICS;#if (_WIN32_WINNT >= 0x0500)typedef struct tagWCRANGE{	WCHAR wcLow;	USHORT cGlyphs;} WCRANGE, *PWCRANGE, *LPWCRANGE;typedef struct tagGLYPHSET{	DWORD cbThis;	DWORD flAccel;	DWORD cGlyphsSupported;	DWORD cRanges;	WCRANGE ranges[1];} GLYPHSET, *PGLYPHSET, *LPGLYPHSET;#endiftypedef struct tagKERNINGPAIR {	WORD wFirst;	WORD wSecond;	int iKernAmount;} KERNINGPAIR,*LPKERNINGPAIR;typedef struct _FIXED {	WORD fract;	short value;} FIXED;typedef struct _MAT2 {	FIXED eM11;	FIXED eM12;	FIXED eM21;	FIXED eM22;} MAT2,*LPMAT2;typedef struct _OUTLINETEXTMETRICA {	UINT otmSize;	TEXTMETRICA otmTextMetrics;	BYTE otmFiller;	PANOSE otmPanoseNumber;	UINT otmfsSelection;	UINT otmfsType;	int otmsCharSlopeRise;	int otmsCharSlopeRun;	int otmItalicAngle;	UINT otmEMSquare;	int otmAscent;	int otmDescent;	UINT otmLineGap;	UINT otmsCapEmHeight;	UINT otmsXHeight;	RECT otmrcFontBox;	int otmMacAscent;	int otmMacDescent;	UINT otmMacLineGap;	UINT otmusMinimumPPEM;	POINT otmptSubscriptSize;	POINT otmptSubscriptOffset;	POINT otmptSuperscriptSize;	POINT otmptSuperscriptOffset;	UINT otmsStrikeoutSize;	int otmsStrikeoutPosition;	int otmsUnderscoreSize;	int otmsUnderscorePosition;	PSTR otmpFamilyName;	PSTR otmpFaceName;	PSTR otmpStyleName;	PSTR otmpFullName;} OUTLINETEXTMETRICA,*POUTLINETEXTMETRICA,*LPOUTLINETEXTMETRICA;typedef struct _OUTLINETEXTMETRICW {	UINT otmSize;	TEXTMETRICW otmTextMetrics;	BYTE otmFiller;	PANOSE otmPanoseNumber;	UINT otmfsSelection;	UINT otmfsType;	int otmsCharSlopeRise;	int otmsCharSlopeRun;	int otmItalicAngle;	UINT otmEMSquare;	int otmAscent;	int otmDescent;	UINT otmLineGap;	UINT otmsCapEmHeight;	UINT otmsXHeight;	RECT otmrcFontBox;	int otmMacAscent;	int otmMacDescent;	UINT otmMacLineGap;	UINT otmusMinimumPPEM;	POINT otmptSubscriptSize;	POINT otmptSubscriptOffset;	POINT otmptSuperscriptSize;	POINT otmptSuperscriptOffset;	UINT otmsStrikeoutSize;	int otmsStrikeoutPosition;	int otmsUnderscoreSize;	int otmsUnderscorePosition;	PSTR otmpFamilyName;	PSTR otmpFaceName;	PSTR otmpStyleName;	PSTR otmpFullName;} OUTLINETEXTMETRICW,*POUTLINETEXTMETRICW,*LPOUTLINETEXTMETRICW;typedef struct _RASTERIZER_STATUS {	short nSize;	short wFlags;	short nLanguageID;} RASTERIZER_STATUS,*LPRASTERIZER_STATUS;typedef struct _POLYTEXTA {	int x;	int y;	UINT n;	LPCSTR lpstr;	UINT uiFlags;	RECT rcl;	int *pdx;} POLYTEXTA, *PPOLYTEXTA, *LPPOLYTEXTA;typedef struct _POLYTEXTW {	int x;	int y;	UINT n;	LPCWSTR lpstr;	UINT uiFlags;	RECT rcl;	int *pdx;} POLYTEXTW, *PPOLYTEXTW, *LPPOLYTEXTW;typedef struct tagPIXELFORMATDESCRIPTOR {	WORD nSize;	WORD nVersion;	DWORD dwFlags;	BYTE iPixelType;	BYTE cColorBits;	BYTE cRedBits;	BYTE cRedShift;	BYTE cGreenBits;	BYTE cGreenShift;	BYTE cBlueBits;	BYTE cBlueShift;	BYTE cAlphaBits;	BYTE cAlphaShift;	BYTE cAccumBits;	BYTE cAccumRedBits;	BYTE cAccumGreenBits;	BYTE cAccumBlueBits;	BYTE cAccumAlphaBits;	BYTE cDepthBits;	BYTE cStencilBits;	BYTE cAuxBuffers;	BYTE iLayerType;	BYTE bReserved;	DWORD dwLayerMask;	DWORD dwVisibleMask;	DWORD dwDamageMask;} PIXELFORMATDESCRIPTOR,*PPIXELFORMATDESCRIPTOR,*LPPIXELFORMATDESCRIPTOR;typedef struct tagMETAFILEPICT {	LONG mm;	LONG xExt;	LONG yExt;	HMETAFILE hMF;} METAFILEPICT,*LPMETAFILEPICT;typedef struct tagLOCALESIGNATURE {	DWORD lsUsb[4];	DWORD lsCsbDefault[2];	DWORD lsCsbSupported[2];} LOCALESIGNATURE,*PLOCALESIGNATURE,*LPLOCALESIGNATURE;typedef LONG LCSTYPE;#pragma pack(push,4)typedef struct tagNEWTEXTMETRICA {	LONG tmHeight;	LONG tmAscent;	LONG tmDescent;	LONG tmInternalLeading;	LONG tmExternalLeading;	LONG tmAveCharWidth;	LONG tmMaxCharWidth;	LONG tmWeight;	LONG tmOverhang;	LONG tmDigitizedAspectX;	LONG tmDigitizedAspectY;	BYTE tmFirstChar;	BYTE tmLastChar;	BYTE tmDefaultChar;	BYTE tmBreakChar;	BYTE tmItalic;	BYTE tmUnderlined;	BYTE tmStruckOut;	BYTE tmPitchAndFamily;	BYTE tmCharSet;	DWORD ntmFlags;	UINT ntmSizeEM;	UINT ntmCellHeight;	UINT ntmAvgWidth;} NEWTEXTMETRICA,*PNEWTEXTMETRICA,*LPNEWTEXTMETRICA;typedef struct tagNEWTEXTMETRICW {	LONG tmHeight;	LONG tmAscent;	LONG tmDescent;	LONG tmInternalLeading;	LONG tmExternalLeading;	LONG tmAveCharWidth;	LONG tmMaxCharWidth;	LONG tmWeight;	LONG tmOverhang;	LONG tmDigitizedAspectX;	LONG tmDigitizedAspectY;	WCHAR tmFirstChar;	WCHAR tmLastChar;	WCHAR tmDefaultChar;	WCHAR tmBreakChar;	BYTE tmItalic;	BYTE tmUnderlined;	BYTE tmStruckOut;	BYTE tmPitchAndFamily;	BYTE tmCharSet;	DWORD ntmFlags;	UINT ntmSizeEM;	UINT ntmCellHeight;	UINT ntmAvgWidth;} NEWTEXTMETRICW,*PNEWTEXTMETRICW,*LPNEWTEXTMETRICW;#pragma pack(pop)typedef struct tagNEWTEXTMETRICEXA {	NEWTEXTMETRICA ntmTm;	FONTSIGNATURE ntmFontSig;} NEWTEXTMETRICEXA;typedef struct tagNEWTEXTMETRICEXW {	NEWTEXTMETRICW ntmTm;	FONTSIGNATURE ntmFontSig;} NEWTEXTMETRICEXW;typedef struct tagPELARRAY {	LONG paXCount;	LONG paYCount;	LONG paXExt;	LONG paYExt;	BYTE paRGBs;} PELARRAY,*PPELARRAY,*LPPELARRAY;typedef struct tagENUMLOGFONTA {	LOGFONTA elfLogFont;	BYTE elfFullName[LF_FULLFACESIZE];	BYTE elfStyle[LF_FACESIZE];} ENUMLOGFONTA,*LPENUMLOGFONTA;typedef struct tagENUMLOGFONTW {	LOGFONTW elfLogFont;	WCHAR elfFullName[LF_FULLFACESIZE];	WCHAR elfStyle[LF_FACESIZE];} ENUMLOGFONTW,*LPENUMLOGFONTW;typedef struct tagENUMLOGFONTEXA {	LOGFONTA elfLogFont;	BYTE elfFullName[LF_FULLFACESIZE];	BYTE elfStyle[LF_FACESIZE];	BYTE elfScript[LF_FACESIZE];} ENUMLOGFONTEXA,*LPENUMLOGFONTEXA;typedef struct tagENUMLOGFONTEXW {	LOGFONTW elfLogFont;	WCHAR elfFullName[LF_FULLFACESIZE];	WCHAR elfStyle[LF_FACESIZE];	WCHAR elfScript[LF_FACESIZE];} ENUMLOGFONTEXW,*LPENUMLOGFONTEXW;typedef struct tagPOINTFX {	FIXED x;	FIXED y;} POINTFX,*LPPOINTFX;typedef struct tagTTPOLYCURVE {	WORD wType;	WORD cpfx;	POINTFX apfx[1];} TTPOLYCURVE,*LPTTPOLYCURVE;typedef struct tagTTPOLYGONHEADER {	DWORD cb;	DWORD dwType;	POINTFX pfxStart;} TTPOLYGONHEADER,*LPTTPOLYGONHEADER;typedef struct _POINTFLOAT {	FLOAT x;	FLOAT y;} POINTFLOAT,*PPOINTFLOAT;typedef struct _GLYPHMETRICSFLOAT {	FLOAT gmfBlackBoxX;	FLOAT gmfBlackBoxY;	POINTFLOAT gmfptGlyphOrigin;	FLOAT gmfCellIncX;	FLOAT gmfCellIncY;} GLYPHMETRICSFLOAT,*PGLYPHMETRICSFLOAT,*LPGLYPHMETRICSFLOAT;typedef struct tagLAYERPLANEDESCRIPTOR {	WORD nSize;	WORD nVersion;	DWORD dwFlags;	BYTE iPixelType;	BYTE cColorBits;	BYTE cRedBits;	BYTE cRedShift;	BYTE cGreenBits;	BYTE cGreenShift;	BYTE cBlueBits;	BYTE cBlueShift;	BYTE cAlphaBits;	BYTE cAlphaShift;	BYTE cAccumBits;	BYTE cAccumRedBits;	BYTE cAccumGreenBits;	BYTE cAccumBlueBits;	BYTE cAccumAlphaBits;	BYTE cDepthBits;	BYTE cStencilBits;	BYTE cAuxBuffers;	BYTE iLayerPlane;	BYTE bReserved;	COLORREF crTransparent;} LAYERPLANEDESCRIPTOR,*PLAYERPLANEDESCRIPTOR,*LPLAYERPLANEDESCRIPTOR;typedef struct _BLENDFUNCTION {    BYTE BlendOp;    BYTE BlendFlags;    BYTE SourceConstantAlpha;    BYTE AlphaFormat; } BLENDFUNCTION,*PBLENDFUNCTION,*LPBLENDFUNCTION; #define MM_MAX_NUMAXES  16typede

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -