Public Methods | |
| void | rect_set (struct rect_t *ptr_rect, int x, int y, int width, int height) |
| bool | rect_and (struct rect_t *ptr_rectangle, struct rect_t *ptr_rectangle_1, struct rect_t *ptr_rectangle_2) |
| bool | rect_or (struct rect_t *ptr_rectangle, struct rect_t *ptr_rectangle_1, struct rect_t *ptr_rectangle_2) |
Public Attributes | |
| short | x |
| short | y |
| short | w |
| short | h |
A rectangle.
|
|
Intersects two rectangles.
|
|
|
Merges two rectangles.
|
|
|
Initializes a rectangle.
|
|
|
Rectangle's height. |
|
|
Rectangle's width. |
|
|
Rectangle's x-coordinate. |
|
|
Rectangle's y-coordinate. |
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |