3.2.64 EMR_ROUNDRECT Example

This section provides an example of the EMF EMR_ROUNDRECT record ([MS-EMF] section 2.3.5.35).

 00000920:                         2C 00 00 00 20 00 00 00 
 00000930: FD FF FF FF FE FF FF FF 4F 02 00 00 50 02 00 00
 00000940: C8 00 00 00 C8 00 00 00 


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 (0x0000002C)

Size (0x00000020)

Box (0xFFFFFFFD)

... (0xFFFFFFFE)

... (0x0000024F)

... (0x00000250)

Corner (0x000000C8)

... (0x000000C8)

Type (4 bytes): 0x0000002C identifies the record type as EMR_ROUNDRECT.

Size (4 bytes): 0x00000020 specifies the size of this record in bytes.

Box (16 bytes): (0xFFFFFFFD, 0xFFFFFFFE, 0x0000024F, 0x00000250) defines the inclusive-inclusive bounding rectangle in logical coordinates.

Corner (8 bytes): (0x000000C8, 0x000000C8) specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.