2.2.1.2.2 Rectangle (TS_RECTANGLE_16)
The TS_RECTANGLE_16 structure describes a rectangle by using its top-left and bottom-right coordinates. The units depend on the context in which this structure is used.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Left |
Top |
||||||||||||||||||||||||||||||
Right |
Bottom |
Left (2 bytes): An unsigned 16-bit integer. The x-coordinate of the rectangle's top-left corner.
Top (2 bytes): An unsigned 16-bit integer. The y-coordinate of the rectangle's top-left corner.
Right (2 bytes): An unsigned 16-bit integer. The x-coordinate of the rectangle's bottom-right corner.
Bottom (2 bytes): An unsigned 16-bit integer. The y-coordinate of the rectangle's bottom-right corner.