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_CTAnalogDisplayHand(TAnalogDisplayHandTypeaType)

Parameters

TAnalogDisplayHandType aType

Member Functions Documentation

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

IMPORT_C voidAddCircle(CGraphicsContext::TPenStyleaPenStyle,
TRgbaPenColor,
const TSize &aPenSize,
CGraphicsContext::TBrushStyleaBrushStyle,
TRgbaBrushColor,
const TPoint &aCircleCenter,
TIntaRadius
)

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 voidAddLine(CGraphicsContext::TPenStyleaPenStyle,
TRgbaPenColor,
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 voidAddPolyLine(CGraphicsContext::TPenStyleaPenStyle,
TRgbaPenColor,
const TSize &aPenSize,
CGraphicsContext::TBrushStyleaBrushStyle,
TRgbaBrushColor,
TBoolaClosed,
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)

voidAppendType(TAnalogDisplayHandFeatureTypeaType)[private]

NumFeatures()

TInt NumFeatures()const [inline]

Gets the number of features added to the hand.

Member Data Documentation

TInt * iNumFeaturesPtr

TInt *iNumFeaturesPtr[private]