Public Member Functions | Public Attributes

Celartem::Size Struct Reference

#include <cel_geom.h>

List of all members.

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.
ssize_t height
 Height of the rectangle.

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:
inWidth Width of the rectangle.
inHeight Height of the rectangle.
Celartem::Size::Size ( const Rect inRect  )  [inline, explicit]

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


Member Data Documentation

Height of the rectangle.

Width of the rectangle.


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

This document is made with doxygen 1.7.1 at Sat Mar 31 2012 04:35:57.
Caminova Logo