TGfxRoundRectangle2D Class Reference

class TGfxRoundRectangle2D : public TGfxRectangularShape

Implementation of a rounded-corner rectangle

Gfx2D.lib
Since
1.0

Inherits from

Constructor & Destructor Documentation

TGfxRoundRectangle2D()

TGfxRoundRectangle2D ( )

Constructor.

Since
1.0

TGfxRoundRectangle2D(const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &, const TFloatFixPt &)

TGfxRoundRectangle2D ( const TFloatFixPt & aX,
const TFloatFixPt & aY,
const TFloatFixPt & aW,
const TFloatFixPt & aH,
const TFloatFixPt & aArcWidth,
const TFloatFixPt & aArcHeight
)

Construct a rounded rectangle from top-left, width/height info.

Since
1.0

Parameters

const TFloatFixPt & aX : x coordinate of top-left corner
const TFloatFixPt & aY : y coordinate of top-left corner
const TFloatFixPt & aW
const TFloatFixPt & aH
const TFloatFixPt & aArcWidth : rounded corner width
const TFloatFixPt & aArcHeight : rounded corner height

Member Functions Documentation

GetPathIteratorL(TGfxAffineTransform *, CGfxPathIterator *&)

void GetPathIteratorL ( TGfxAffineTransform * aAt,
CGfxPathIterator *& aPitr
) [virtual]

Get the path iterator for this rounded rectangle.

Since
1.0

Parameters

TGfxAffineTransform * aAt : transform to apply.
CGfxPathIterator *& aPitr : path iterator holder.

GetPathIteratorL(TGfxAffineTransform *, TInt, CGfxPathIterator *&)

void GetPathIteratorL ( TGfxAffineTransform * aAt,
TInt aLimit,
CGfxPathIterator *& aPitr
) [virtual]

Get the path iterator for rounded rectangle.

Since
1.0

Parameters

TGfxAffineTransform * aAt : transform to apply.
TInt aLimit : maximum of points to define the iterator.
CGfxPathIterator *& aPitr : path iterator holder.

ShapeType()

TInt ShapeType ( ) [inline, virtual]

Member Data Documentation

TFloatFixPt iArcHeight

TFloatFixPt iArcHeight

TFloatFixPt iArcWidth

TFloatFixPt iArcWidth