Method

HsRectangleinit

Declaration [src]

void
hs_rectangle_init (
  HsRectangle* self,
  int x,
  int y,
  int width,
  int height
)

Description [src]

Initializes the given rectangle with the given values.

Parameters

x

Type: int

The X coordinate of the top left corner.

y

Type: int

The Y coordinate of the top left corner.

width

Type: int

The width of the rectangle.

height

Type: int

The height of the rectangle.