TAnalogDisplayHand Class Reference

class TAnalogDisplayHand : public TDisplayAddition

A hand for an analogue clock.

A hand is a vector drawing made from a number of features (lines, circles, polylines). These are specified with the hand assumed to be in the 12 o'clock position, with TPoint(0,0) being the center of the clock.

RAnalogClock

Inherits from

Constructor & Destructor Documentation

TAnalogDisplayHand(TAnalogDisplayHandType)

IMPORT_C TAnalogDisplayHand ( TAnalogDisplayHandType aType )

Parameters

TAnalogDisplayHandType aType

Member Functions Documentation

AddCircle(CGraphicsContext::TPenStyle, TRgb, const TSize &, CGraphicsContext::TBrushStyle, TRgb, const TPoint &, TInt)

IMPORT_C void AddCircle ( CGraphicsContext::TPenStyle aPenStyle,
TRgb aPenColor,
const TSize & aPenSize,
CGraphicsContext::TBrushStyle aBrushStyle,
TRgb aBrushColor,
const TPoint & aCircleCenter,
TInt aRadius
)

Parameters

CGraphicsContext::TPenStyle aPenStyle
TRgb aPenColor
const TSize & aPenSize
CGraphicsContext::TBrushStyle aBrushStyle
TRgb aBrushColor
const TPoint & aCircleCenter
TInt aRadius

AddLine(CGraphicsContext::TPenStyle, TRgb, const TSize &, const TPoint &, const TPoint &)

IMPORT_C void AddLine ( CGraphicsContext::TPenStyle aPenStyle,
TRgb aPenColor,
const TSize & aPenSize,
const TPoint & aStartPoint,
const TPoint & aEndPoint
)

Parameters

CGraphicsContext::TPenStyle aPenStyle
TRgb aPenColor
const TSize & aPenSize
const TPoint & aStartPoint
const TPoint & aEndPoint

AddPolyLine(CGraphicsContext::TPenStyle, TRgb, const TSize &, CGraphicsContext::TBrushStyle, TRgb, TBool, const CArrayFix< TPoint > *)

IMPORT_C void AddPolyLine ( CGraphicsContext::TPenStyle aPenStyle,
TRgb aPenColor,
const TSize & aPenSize,
CGraphicsContext::TBrushStyle aBrushStyle,
TRgb aBrushColor,
TBool aClosed,
const CArrayFix < TPoint > * aPointList
)

Parameters

CGraphicsContext::TPenStyle aPenStyle
TRgb aPenColor
const TSize & aPenSize
CGraphicsContext::TBrushStyle aBrushStyle
TRgb aBrushColor
TBool aClosed
const CArrayFix < TPoint > * aPointList

AppendType(TAnalogDisplayHandFeatureType)

void AppendType ( TAnalogDisplayHandFeatureType aType ) [private]

NumFeatures()

TInt NumFeatures ( ) const [inline]

Gets the number of features added to the hand.

Member Data Documentation

TInt * iNumFeaturesPtr

TInt * iNumFeaturesPtr [private]