TSvgFourPointRect Class Reference
class TSvgFourPointRect : public MRect |
This class implements the interface for a MRect object
Public Member Functions |
---|
| TSvgFourPointRect() |
| TSvgFourPointRect(TPoint, TPoint, TPoint, TPoint) |
| TSvgFourPointRect(TGfxRectangle2D) |
| TSvgFourPointRect(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D) |
| TSvgFourPointRect(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt) |
void | Center(TPoint &) |
void | GetPoints(TPoint &, TPoint &, TPoint &, TPoint &) |
void | GetPoints(TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &) |
void | GetTRect(TRect &) |
void | GetTRect(TGfxRectangle2D &) |
TBool
| Intersects(const MRect &) |
void | SetRectPoints(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt) |
void | SetRectPoints(TPoint, TPoint, TPoint, TPoint) |
void | SetRectPoints(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D) |
void | SetRectPoints(TGfxRectangle2D) |
Constructor & Destructor Documentation
TSvgFourPointRect(TPoint, TPoint, TPoint, TPoint)
TSvgFourPointRect(TGfxRectangle2D)
TSvgFourPointRect(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D)
TSvgFourPointRect(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)
Member Functions Documentation
Center(TPoint &)
void | Center | ( | TPoint & | aCenter | ) | [virtual] |
Determine the center point of this rectangle
Parameters
TPoint & aCenter | the center point |
GetPoints(TPoint &, TPoint &, TPoint &, TPoint &)
Get the four points for a rectangle
GetPoints(TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &)
GetTRect(TRect &)
void | GetTRect | ( | TRect & | aRect | ) | |
GetTRect(TGfxRectangle2D &)
Intersects(const MRect &)
Determine if the given rectangle intersects with this rectangle.
Parameters
const MRect & aRect | : rectangle to check for intersection. |
SetRectPoints(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)
SetRectPoints(TPoint, TPoint, TPoint, TPoint)
SetRectPoints(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D)
SetRectPoints(TGfxRectangle2D)
Member Data Documentation
TGfxPoint2D
iPoint1
Determine if the given point is contained within this rectangle.
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.