TSvgFourPointRect Class Reference

class TSvgFourPointRect : public MRect

This class implements the interface for a MRect object

SVGEngine.lib
Since
1.0

Inherits from

Constructor & Destructor Documentation

TSvgFourPointRect()

TSvgFourPointRect ( )

Construct a rectangle.

Since
1.0

TSvgFourPointRect(TPoint, TPoint, TPoint, TPoint)

TSvgFourPointRect ( TPoint aPoint1,
TPoint aPoint2,
TPoint aPoint3,
TPoint aPoint4
)

Parameters

TPoint aPoint1
TPoint aPoint2
TPoint aPoint3
TPoint aPoint4

TSvgFourPointRect(TGfxRectangle2D)

TSvgFourPointRect ( TGfxRectangle2D aRect )

Parameters

TGfxRectangle2D aRect

TSvgFourPointRect(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D)

TSvgFourPointRect ( TGfxPoint2D aPoint1,
TGfxPoint2D aPoint2,
TGfxPoint2D aPoint3,
TGfxPoint2D aPoint4
)

Parameters

TGfxPoint2D aPoint1
TGfxPoint2D aPoint2
TGfxPoint2D aPoint3
TGfxPoint2D aPoint4

TSvgFourPointRect(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)

TSvgFourPointRect ( TFloatFixPt aX,
TFloatFixPt aY,
TFloatFixPt aWidth,
TFloatFixPt aHeight
)

Member Functions Documentation

Center(TPoint &)

void Center ( TPoint & aCenter ) [virtual]

Determine the center point of this rectangle

Since
1.0

Parameters

TPoint & aCenter the center point

GetPoints(TPoint &, TPoint &, TPoint &, TPoint &)

void GetPoints ( TPoint & aPoint1,
TPoint & aPoint2,
TPoint & aPoint3,
TPoint & aPoint4
) const [virtual]

Get the four points for a rectangle

Since
1.0

Parameters

TPoint & aPoint1
TPoint & aPoint2
TPoint & aPoint3
TPoint & aPoint4

GetPoints(TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &, TGfxPoint2D &)

void GetPoints ( TGfxPoint2D & aPoint1,
TGfxPoint2D & aPoint2,
TGfxPoint2D & aPoint3,
TGfxPoint2D & aPoint4
)

Parameters

TGfxPoint2D & aPoint1
TGfxPoint2D & aPoint2
TGfxPoint2D & aPoint3
TGfxPoint2D & aPoint4

GetTRect(TRect &)

void GetTRect ( TRect & aRect )

Parameters

TRect & aRect

GetTRect(TGfxRectangle2D &)

void GetTRect ( TGfxRectangle2D & aRect )

Parameters

TGfxRectangle2D & aRect

Intersects(const MRect &)

TBool Intersects ( const MRect & aRect ) [virtual]

Determine if the given rectangle intersects with this rectangle.

Since
1.0

Parameters

const MRect & aRect : rectangle to check for intersection.

SetRectPoints(TFloatFixPt, TFloatFixPt, TFloatFixPt, TFloatFixPt)

void SetRectPoints ( TFloatFixPt aX,
TFloatFixPt aY,
TFloatFixPt aWidth,
TFloatFixPt aHeight
)

SetRectPoints(TPoint, TPoint, TPoint, TPoint)

void SetRectPoints ( TPoint aPoint1,
TPoint aPoint2,
TPoint aPoint3,
TPoint aPoint4
)

Parameters

TPoint aPoint1
TPoint aPoint2
TPoint aPoint3
TPoint aPoint4

SetRectPoints(TGfxPoint2D, TGfxPoint2D, TGfxPoint2D, TGfxPoint2D)

void SetRectPoints ( TGfxPoint2D aPoint1,
TGfxPoint2D aPoint2,
TGfxPoint2D aPoint3,
TGfxPoint2D aPoint4
)

Parameters

TGfxPoint2D aPoint1
TGfxPoint2D aPoint2
TGfxPoint2D aPoint3
TGfxPoint2D aPoint4

SetRectPoints(TGfxRectangle2D)

void SetRectPoints ( TGfxRectangle2D aRect )

Parameters

TGfxRectangle2D aRect

Member Data Documentation

TGfxPoint2D iPoint1

TGfxPoint2D iPoint1

Determine if the given point is contained within this rectangle.

Since
1.0

TGfxPoint2D iPoint2

TGfxPoint2D iPoint2

TGfxPoint2D iPoint3

TGfxPoint2D iPoint3

TGfxPoint2D iPoint4

TGfxPoint2D iPoint4