Public Member Functions | Public Attributes | List of all members
Celartem::Size Struct Reference

#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...
 

Detailed Description

A Size struct stores the metrics (width/height) of the rectangle.

Constructor & Destructor Documentation

Celartem::Size::Size ( ssize_t  inWidth = 0,
ssize_t  inHeight = 0 
)
inline

This constructor initializes the Size instance.

Parameters
inWidthWidth of the rectangle.
inHeightHeight of the rectangle.
Celartem::Size::Size ( const Rect inRect)
inlineexplicit

This constructor converts the Rect instance into the Size instance using Rect::width and Rect::height member.

Member Data Documentation

ssize_t Celartem::Size::height

Height of the rectangle.

ssize_t Celartem::Size::width

Width of the rectangle.


The documentation for this struct was generated from the following file:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo