#include <vstgui.h>
struct CRect;
Structure used for the definition and support of the rectangle (values in pixel).
CRect |
1.0 |
Creates a rectangle, given each coordinate.
CBitmap *myBitmap = new CBitmap (kMyBitmapID);
CRect size (0, 0, myBitmap->getWidth(),
myBitmap->getHeight ());
...
CRect |
1.0 |
Creates a rectangle, given another rectangle.
operator () |
1.0 |
Overloads the ()
operator.
operator == |
2.1 |
Overloads the ==
operator.
operator != |
2.1 |
Overloads the !=
operator.
width |
1.0 |
Returns the width of the rectangle.
height |
1.0 |
Returns the height of the rectangle.
offset |
1.0 |
Add an offset to the rectangle.
inset |
2.1 |
Inset the rectangle to specified delta values.
pointInside |
2.0 |
Checks if the point is inside this rect.
isEmpty |
2.2 |
-
rectOverlap |
2.1 |
Checks if it is overlapped by the given rect.