| class TGfxRectangle2D : public TGfxRectangularShape |
Implementation of a rectangle.
| Public Member Functions | |
|---|---|
| TGfxRectangle2D() | |
| TGfxRectangle2D(const TGfxRectangle2D &) | |
| TGfxRectangle2D(const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &) | |
| TBool | Contains(TGfxPoint2D) |
| void | GetPathIteratorL(TGfxAffineTransform *, CGfxPathIterator *&) |
| void | GetPathIteratorL(TGfxAffineTransform *, TInt, CGfxPathIterator *&) |
| TBool | Intersects(const TGfxRectangle2D &) |
| TInt | ShapeType() |
| TInt | operator!=(const TGfxRectangle2D &) |
| TInt | operator==(const TGfxRectangle2D &) |
| Inherited Enumerations | |
|---|---|
| MGfxShape:HYB_SHAPE_TYPE | |
| Inherited Attributes | |
|---|---|
| TGfxRectangularShape::iHeight | |
| TGfxRectangularShape::iWidth | |
| TGfxRectangularShape::iX | |
| TGfxRectangularShape::iY | |
| TGfxRectangle2D | ( | const TGfxRectangle2D & | aRect | ) |
Construct a rectangle from another TGfxRectangle2D.
| const TGfxRectangle2D & aRect | : rectangle to copy |
| TGfxRectangle2D | ( | const TFloatFixPt & | aX, |
| const TFloatFixPt & | aY, | ||
| const TFloatFixPt & | aWidth, | ||
| const TFloatFixPt & | aHeight | ||
| ) | |||
Construct a rectangle from top-left, width/height info.
| const TFloatFixPt & aX | : x coordinate of top-left corner |
| const TFloatFixPt & aY | : y coordinate of top-left corner |
| const TFloatFixPt & aWidth | |
| const TFloatFixPt & aHeight | : height of rectangle |
| TBool | Contains | ( | TGfxPoint2D | aPoint | ) |
Determine if the given point is contained within this rectangle.
| TGfxPoint2D aPoint |
| void | GetPathIteratorL | ( | TGfxAffineTransform * | aAt, |
| CGfxPathIterator *& | aPitr | |||
| ) | [virtual] | |||
Get the path iterator for this rectangle.
| TGfxAffineTransform * aAt | : transform to apply. |
| CGfxPathIterator *& aPitr | : path iterator holder. |
| void | GetPathIteratorL | ( | TGfxAffineTransform * | aAt, |
| TInt | aLimit, | |||
| CGfxPathIterator *& | aPitr | |||
| ) | [virtual] | |||
Get the path iterator for this rectangle.
| TGfxAffineTransform * aAt | : transform to apply. |
| TInt aLimit | : maximum of points to define the iterator. |
| CGfxPathIterator *& aPitr | : path iterator holder. |
| TBool | Intersects | ( | const TGfxRectangle2D & | aRect | ) |
Determine if the given rectangle intersects with this rectangle.
| const TGfxRectangle2D & aRect | : rectangle to check for intersection. |
| TInt | operator!= | ( | const TGfxRectangle2D & | aRect | ) | const |
| const TGfxRectangle2D & aRect |
| TInt | operator== | ( | const TGfxRectangle2D & | aRect | ) | const |
| const TGfxRectangle2D & aRect |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.