MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

FCam::Size Struct Reference

A class to represent sizes of two dimensional objects like images. More...

List of all members.

Public Member Functions

  Size ()
  Construct a size with width and height of zero.
  Size (int w, int h)
  Construct a size of the given width and height.
bool  operator== (const Size &other) const
  Compare two sizes for equality.
bool  operator!= (const Size &other) const
  Compare two sizes for equality.

Public Attributes

int  width
  The width as an int.
int  height
  The height as an int.

Detailed Description

A class to represent sizes of two dimensional objects like images.


Constructor & Destructor Documentation

FCam::Size::Size (  )  [inline]

Construct a size with width and height of zero.

FCam::Size::Size ( int  w,
int  h  
) [inline]

Construct a size of the given width and height.


Member Data Documentation

The width as an int.

The height as an int.


Copyright (c) 2012, Nokia Corporation and/or its subsidiary(-ies). All rights reserved. See Copyright.
MeeGo 1.2 Harmattan API