An area defining a region of a Frame.
More...
#include <Frame.hpp>
List of all members.
Public Member Functions |
| | Area (int x0, int y0, int x1, int y1) |
| | Constuctor.
|
| | Area (int width, int height) |
| | Creates a new area starting at (0, 0) with the specified width and height.
|
| | Area (const sal3d::Frame &frame) |
| | Creates a new area that is as big as a frame.
|
Public Attributes |
|
int | x0 |
| | The X coordinate of area's top left corner.
|
|
int | y0 |
| | The Y coordinate of area's top left corner.
|
|
int | x1 |
| | The X coordinate of area's bottom right corner.
|
|
int | y1 |
| | The Y coordinate of area's bottom right corner.
|
Detailed Description
An area defining a region of a Frame.
Constructor & Destructor Documentation
Constuctor.
- Parameters:
-
| x0 | The X coordinate of area's top left corner. |
| y0 | The Y coordinate of area's top left corner. |
| x1 | The X coordinate of area's bottom right corner. |
| y1 | The Y coordinate of area's bottom right corner. |
Creates a new area starting at (0, 0) with the specified width and height.
- Parameters:
-
| width | The width the area must have. |
| height | The height the area must have. |
Creates a new area that is as big as a frame.
- Parameters:
-
| frame | The frame the size of which is used to create the Area. |
The documentation for this struct was generated from the following file: