Struct

HsRectangle

Description [src]

struct HsRectangle {
  int x;
  int y;
  int width;
  int height;
}

An integer rectangle.

Used for hs_software_context_set_area().

Structure members
x: int

The X coordinate of the top left corner.

y: int

The Y coordinate of the top left corner.

width: int

The width of the rectangle.

height: int

The height of the rectangle.

Instance methods

hs_rectangle_copy

Copies self.

hs_rectangle_free

Frees self.

hs_rectangle_init

Initializes the given rectangle with the given values.