|
NXWidgets
1.19
|
Go to the source code of this file.
Functions | |
| CRect | fromCoordinates (nxgl_coord_t x1, nxgl_coord_t y1, nxgl_coord_t x2, nxgl_coord_t y2) |
| CRect fromCoordinates | ( | nxgl_coord_t | x1, |
| nxgl_coord_t | y1, | ||
| nxgl_coord_t | x2, | ||
| nxgl_coord_t | y2 | ||
| ) |
Create a rect object from the supplied coordinates.
| x1 | The x coordinate of the rect's top-left corner. |
| y1 | The y coordinate of the rect's top-left corner. |
| x2 | The x coordinate of the rect's bottom-right corner. |
| y2 | The y coordinate of the rect's bottom-right corner. |
1.8.13