METAFILEPICT (wingdi.h) | 您所在的位置:网站首页 › metafilepict › METAFILEPICT (wingdi.h) |
METAFILEPICT structure (wingdi.h)
Article
04/02/2021
2 minutes to read
Defines the metafile picture format used for exchanging metafile data through the clipboard. Syntax typedef struct tagMETAFILEPICT { LONG mm; LONG xExt; LONG yExt; HMETAFILE hMF; } METAFILEPICT, *LPMETAFILEPICT; Membersmm Type: LONG The mapping mode in which the picture is drawn. xExt Type: LONG The size of the metafile picture for all modes except the MM_ISOTROPIC and MM_ANISOTROPIC modes. (For more information about these modes, see the yExt member.) The x-extent specifies the width of the rectangle within which the picture is drawn. The coordinates are in units that correspond to the mapping mode. yExt Type: LONG The size of the metafile picture for all modes except the MM_ISOTROPIC and MM_ANISOTROPIC modes. The y-extent specifies the height of the rectangle within which the picture is drawn. The coordinates are in units that correspond to the mapping mode. For MM_ISOTROPIC and MM_ANISOTROPIC modes, which can be scaled, the xExt and yExt members contain an optional suggested size in MM_HIMETRIC units. For MM_ANISOTROPIC pictures, xExt and yExt can be zero when no suggested size is supplied. For MM_ISOTROPIC pictures, an aspect ratio must be supplied even when no suggested size is given. (If a suggested size is given, the aspect ratio is implied by the size.) To give an aspect ratio without implying a suggested size, set xExt and yExt to negative values whose ratio is the appropriate aspect ratio. The magnitude of the negative xExt and yExt values is ignored; only the ratio is used. hMF Type: HMETAFILE A handle to a memory metafile. Requirements 聽 聽 Minimum supported client Windows聽2000 Professional [desktop apps only] Minimum supported server Windows聽2000 Server [desktop apps only] Header wingdi.h (include Windows.h) See alsoClipboard Conceptual Reference SetClipboardData |
CopyRight 2018-2019 实验室设备网 版权所有 |