2.3.5.35 EMR_ROUNDRECT Record

The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.


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

Box

...

...

...

Corner

...

Type (4 bytes): An unsigned integer that identifies this record type as EMR_ROUNDRECT. This value is 0x0000002C.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

Box (16 bytes): A RectL object ([MS-WMF] section 2.2.2.19), which specifies the inclusive-inclusive bounding rectangle, in logical coordinates.

Corner (8 bytes): A 64-bit SizeL object ([MS-WMF] section 2.2.2.22), which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.

See section 2.3.5 for more drawing record types.