UndefinedSpace1 (variable, optional): The number of unused bytes. The OutputString field is not required to follow immediately the preceding portion of this structure. OutputString (variable): An array of characters that specify the string to output. The location of this field is specified by the value of offString in bytes from the start of this record. The number of characters is specified by the value of Chars. DxBuffer (variable, optional): The character spacing buffer. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 UndefinedSpace2 (variable, optional) ... OutputDx (variable) ... UndefinedSpace2 (variable, optional): The number of unused bytes. The OutputDx field is not required to follow immediately the preceding portion of this structure. OutputDx (variable): An array of 32-bit unsigned integers that specify the output spacing between the origins of adjacent character cells in logical units. The location of this field is specified by the value of offDx in bytes from the start of this record. If spacing is defined, this field contains the same number of values as characters in the output string. If the Options field of the EmrText object contains the ETO_PDY flag, then this buffer contains twice as many values as there are characters in the output string, one horizontal and one vertical offset for each, in that order. If ETO_RTLREADING is specified, characters are laid right to left instead of left to right. No other options affect the interpretation of this field. The size and encoding of the characters in the OutputString is determined by the type of record that contains this object, as follows: EMR_EXTTEXTOUTA (section ) and EMR_POLYTEXTOUTA (section ) records: 8-bit characters. EMR_EXTTEXTOUTW (section ) and EMR_POLYTEXTOUTW (section ) records: 16-bit characters. EpsData Object The EpsData object is a container for data. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 SizeData Version Points (24 bytes) ...
ihCS (4 bytes): An unsigned integer that specifies the index of the logical color space object in the EMF object table (section ). This index MUST be saved so that this object can be reused or modified. lcs (variable): A LogColorSpaceW object ( section 2.2.2.12) that can specify the name of a color profile in Unicode characters. dwFlags (4 bytes): An unsigned integer that provides information about the data in this record. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 0 C C (1 bit): If set, the Data field contains color profile data. cbData (4 bytes): An unsigned integer that specifies the size in bytes, of the Data field. Data (variable, optional): An array of bytes that specifies color profile data. The logical color space object defined by this record can be selected into the by an EMR_SETCOLORSPACE record (section ), which defines the logical color spaceto use in subsequent graphics operations. See section 2.3.7 for more object creation record types. EMR_CREATEDIBPATTERNBRUSHPT Record The EMR_CREATEDIBPATTERNBRUSHPT record defines a pattern brush for graphics operations. The pattern is specified by a . Fields not specified in this section are specified in section . 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 Type Size ihBrush Usage offBmi cbBmi offBits cbBits BitmapBuffer (variable) ...
Xform (24 bytes) ... ... ... TransformData (optional) Type (4 bytes): An unsigned integer that defines the type of record. The transform record types are listed in the following table. See the preceding table for descriptions of these record types. Name Value EMR_SETWORLDTRANSFORM 0x00000023 EMR_MODIFYWORLDTRANSFORM 0x00000024 Size (4 bytes): An unsigned integer that specifies the size in bytes of this record in the . This value MUST be a multiple of 4 bytes. Xform (24 bytes): An , which defines a world-space to page-space transform. TransformData (4 bytes, optional): An unsigned integer that specifies an additional parameter for the record. See section for more . EMR_MODIFYWORLDTRANSFORM Record The EMR_MODIFYWORLDTRANSFORM record modifies the current to in the . 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 Type Size Xform (24 bytes) ... ... ... ModifyWorldTransformMode Type (4 bytes): An unsigned integer that identifies this record type as EMR_MODIFYWORLDTRANSFORM. This value is 0x00000024.
Index A 19 27 28 B 28 48 48 74 18 216 C 277 101 29 48 48 29 29 106 20 30 114 D 20 50 50 Details 20 30 123 123 E 217 217 211 119 119 120 120 121 121 76 76 127 127 128 128 129 129 EMR_BITBLT example ( 234, 236) 81 81 130 130 178 178 190 190 107 107 110 110 108 108 108 108 111 111 112 112 109 109 113 113 232 167 167 168 168 168 168 169 169 171 171 172 172 173 173 179 179 EMR_DELETEOBJECT example ( 262, 267, 267) 179 179 163 163 131 131 268 115 115 103 103 EMR_EXTCREATEFONTINDIRECTW example ( 250, 255, 259, 263) 174 174 175 175 164 164 131 131 104 104
132 132 254 133 133 134 134 134 134 191 191 135 135 184 184 184 184 136 136 230 116 116 104 104 191 191 138 138 83 83 209 209 192 192 165 165 105 105 139 139 139 139 192 192 87 87 140 140 141 141 142 142 143 143 144 144 145 145 146 146 147 147 148 148 149 149 149 149 150 150 151 151 152 152 153 153 155 155 156 156 157 157 158 158 180 180 193 193 159 159 194 194 194 194 105 105 EMR_SELECTOBJECT example ( 233, 236, 253, 258, 262, 266, 266, 267) 180 180 181 181 195 195 196 196 250 196 196 197 197 197 197 181 181 91 91 198 198 198 198 199 199 200 200 200 200 201 201 202
202 202 202 182 182 159 159 203 203 203 203 204 204 204 204 205 205 206 206 206 206 207 207 207 207 210 210 160 160 93 93 96 96 161 161 162 162 99 99 31 50 50 51 51 20 53 53 162 Examples 216 217 211 EMR_BITBLT example ( 234, 236) 232 EMR_DELETEOBJECT example ( 262, 267, 267) 268 EMR_EXTCREATEFONTINDIRECTW example ( 250, 255, 259, 263) 254 230 EMR_SELECTOBJECT example ( 233, 236, 253, 258, 262, 266, 266, 267) 250 211 31 F 32 19 33 33 G 9 33 54 54 54 54 34 H 35 55 55 56 56 57 57 I 35 35 269 16 9 L 36 19 57 57 58 58 60 60 61 61 61 61 63 63 63 63 64 64 64 64 M 37 211 16
38 38 39 205 N 15 O 165 176 48 183 16 P 66 66 185 185 39 67 67 40 70 70 41 270 41 R 20 15 16 15 70 70 71 71 42 18 18 S 269 269 42 186 43 46 46 Structures 123 20 48 20 185 T 277 208 71 71 U 72 72 V 19 19 W 47 X 73 73 47