Struttura EMR (wingdi.h)
La struttura EMR fornisce la struttura di base per tutti i record metafile avanzati. Un record metafile avanzato contiene i parametri per una funzione GDI specifica usata per creare parte di un'immagine in un metafile di formato avanzato.
Sintassi
typedef struct tagEMR {
DWORD iType;
DWORD nSize;
} EMR, *PEMR;
Members
iType
Tipo di record. Il parametro può essere uno dei seguenti (con un collegamento alla struttura di record associata).
EMR_ABORTPATH EMR_ALPHABLEND EMR_ANGLEARC EMR_ARC EMR_ARCTO EMR_BEGINPATH EMR_BITBLT EMR_CHORD EMR_CLOSEFIGURE EMR_COLORCORRECTPALETTE EMR_COLORMATCHTOTARGETW EMR_CREATEBRUSHINDIRECT EMR_CREATECOLORSPACE EMR_CREATECOLORSPACEW EMR_CREATEDIBPATTERNBRUSHPT EMR_CREATEMONOBRUSH EMR_CREATEPALETTE EMR_ CREATEPENEMR_DELETECOLORSPACE EMR_DELETEOBJECT EMR_ELLIPSE EMR_ENDPATH EMR_EOF EMR_EXCLUDECLIPRECT EMR_EXTCREATEFONTINDIRECTW EMR_EXTFLOODFILL EMR_EXTCREATEPEN EMR_EXTCREATEPEN EMR_EXTSELECTCLIPRGN EMR_EXTTEXTOUTA EMR_EXTTEXTOUTW EMR_FILLPATH EMR_FILLRGN EMR_FLATTENPATH EMR_FRAMERGN EMR_ EMR_GLSBOUNDEDRECORD EMR_GLSRECORD EMR_GRADIENTFILL EMR_INTERSECTCLIPRECT EMR_LINETO EMR_INVERTRGN EMR_MASKBLT EMR_MASKBLT EMR_MODIFYWORLDTRANSFORM EMR_MOVETOEX EMR_OFFSETCLIPRGN EMR_PAINTRGN EMR_PLGBLTEMR_PIE EMR_PIXELFORMAT EMR_PIXELFORMAT EMR_POLYBEZIER EMR_POLYBEZIER EMR_POLYBEZIERTO EMR_POLYBEZIER16 EMR_POLYBEZIER EMR_POLYBEZIER EMR_PIXELFORMAT EMR_POLYBEZIERTO16 EMR_POLYDRAW EMR_POLYDRAW16 EMR_POLYGON EMR_POLYGON16 EMR_POLYLINE EMR_POLYGON16 EMR_POLYLINE16 EMR_POLYLINETO EMR_POLYLINETO EMR_POLYLINETO16 EMR_POLYPOLYGON EMR_POLYPOLYGON16 EMR_POLYPOLYLINE EMR_POLYPOLYLINE16 EMR_POLYTEXTOUTA EMR_POLYTEXTOUTW EMR_REALIZEPALETTE EMR_RECTANGLE EMR_ RESIZEPALETTEEMR_RESTOREDC EMR_ROUNDRECT EMR_SAVEDC EMR_SCALEVIEWPORTEXTEX EMR_SCALEWINDOWEXTEX EMR_SELECTCLIPPATH EMR_SELECTOBJECT EMR_SETARCDIRECTION EMR_SELECTPALETTE EMR_SELECTPALETTE EMR_SETBKCOLOR EMR_SETBKCOLOR EMR_SETBKMODE EMR_SETBRUSHORGEX EMR_SETCOLORADJUSTMENT EMR_SETCOLORSPACE EMR_SETDIBITSTODEVICE EMR_ SETICMMODEEMR_SETICMPROFILEA EMR_SETICMPROFILEW EMR_SETLAYOUT EMR_SETMAPMODE EMR_SETMAPMODE EMR_SETMETARGN EMR_SETMAPPERFLAGS EMR_SETMITERLIMIT EMR_SETPALETTEENTRIES EMR_SETPIXELV EMR_SETPOLYFILLMODE EMR_SETROP2 EMR_SETSTRETCHBLTMODE EMR_SETTEXTALIGN EMR_SETTEXTCOLOR EMR_SETVIEWPORTEXTEX EMR_ SETVIEWPORTORGEXEMR_SETWINDOWEXTEX EMR_SETWINDOWORGEXEMR_SETWORLDTRANSFORM EMR_STRETCHBLT EMR_STRETCHBLT EMR_STRETCHDIBITS EMR_STROKEANDFILLPATH EMR_STROKEPATH EMR_TRANSPARENTBLT EMR_WIDENPATH
nSize
Dimensioni del record, in byte. Questo membro deve essere un multiplo di quattro.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Windows 2000 Professional [solo app desktop] |
Server minimo supportato | Windows 2000 Server [solo app desktop] |
Intestazione | wingdi.h (include Windows.h) |