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.

Definition at line 62 of file cel_geom.h.


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.

Definition at line 74 of file cel_geom.h.

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.

Definition at line 419 of file cel_geom.h.


Member Data Documentation

ssize_t Celartem::Size::width

Width of the rectangle.

Definition at line 64 of file cel_geom.h.

Referenced by Celartem::PixelAttributes::estimateBufferSize().

ssize_t Celartem::Size::height

Height of the rectangle.

Definition at line 65 of file cel_geom.h.

Referenced by Celartem::PixelAttributes::estimateBufferSize().


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:17 2008.