MGfxShape Class Reference

class MGfxShape

This interface defines the methods that must be implement to be a 'Shape'.

Gfx2D.lib
Since
1.0

Member Functions Documentation

AreaSize()

TFloatFixPt AreaSize ( ) [pure virtual]

Get the area of this shape.

Since
1.0

GetBounds(const TGfxAffineTransform &, TGfxRectangle2D &)

void GetBounds ( const TGfxAffineTransform & aAt,
TGfxRectangle2D & aRect
) [pure virtual]

Get the bounding box

Since
1.0

Parameters

const TGfxAffineTransform & aAt : transform to apply.
TGfxRectangle2D & aRect : rectangle to store bounding box info.

GetPathIteratorL(TGfxAffineTransform *, CGfxPathIterator *&)

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

Get the path iterator for this 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
) [pure virtual]

Get the path iterator for this 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 ( ) [pure virtual]

Member Enumerations Documentation

Enum HYB_SHAPE_TYPE

Enumerators

ELine
ERect
ERoundRect
EEllipse
EPath