TAnalogDisplayHand Class Reference

#include <mw/clock.h>

Link against: clkdatetimeview.lib

class TAnalogDisplayHand : public TDisplayAddition

Inherits from

Detailed Description

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.

See also: RAnalogClock

Constructor & Destructor Documentation

TAnalogDisplayHand ( TAnalogDisplayHandType )

IMPORT_CTAnalogDisplayHand(TAnalogDisplayHandTypeaType)

Member Function 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
)

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
)

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
)

NumFeatures ( )

TInt NumFeatures()const [inline]

Gets the number of features added to the hand.