#include <cel_geom.h>
Public Member Functions | |
Size (ssize_t inWidth=0, ssize_t inHeight=0) | |
Size (const Rect &inRect) | |
Public Attributes | |
ssize_t | width |
Width of the rectangle. More... | |
ssize_t | height |
Height of the rectangle. More... | |
A Size struct stores the metrics (width/height) of the rectangle.
|
inline |
This constructor initializes the Size instance.
inWidth | Width of the rectangle. |
inHeight | Height of the rectangle. |
|
inlineexplicit |
This constructor converts the Rect instance into the Size instance using Rect::width and Rect::height member.
ssize_t Celartem::Size::height |
Height of the rectangle.
ssize_t Celartem::Size::width |
Width of the rectangle.