A class to represent rectangles, like regions of an image. More...
Public Member Functions |
|
Rect () | |
Construct a size zero rectangle at the origin. |
|
Rect (int x_, int y_, int w_, int h_) | |
Construct a rectangle with the given x, y, width, and height. |
|
bool | operator== (const Rect &other) const |
Compare two rectangles for equality. |
|
bool | operator!= (const Rect &other) const |
Compare two rectangles for equality. |
|
Public Attributes |
|
int | x |
The x coord of the top left corner. |
|
int | y |
The y coord of the top left corner. |
|
int | width |
The width of the rectangle. |
|
int | height |
The height of the rectangle. |
A class to represent rectangles, like regions of an image.
Copyright (c) 2012, Nokia Corporation and/or its subsidiary(-ies). All rights reserved. See Copyright. |
MeeGo 1.2 Harmattan API
|