Skip to content

RECTANGLE

Structure Definition

1
2
3
4
5
6
7
typedef struct _rectangle_
{
    unsigned int X1; 
    unsigned int Y1; 
    unsigned int X2; 
    unsigned int Y2; 
} RECTANGLE;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct RECTANGLE
{
    public UInt32 X1;
    public UInt32 Y1;
    public UInt32 X2;
    public UInt32 Y2;
}

Function Description

Rectangular frame.

Member Description

Member Type Remark
X1 unsigned int X coordinate of the upper left corner.
Y1 unsigned int Y coordinate of the upper left corner.
X2 unsigned int The X coordinate of the lower right corner.
Y2 unsigned int The Y coordinate of the lower right corner.
Error Code