Location:
clock.h
Link against: clock.lib
TAnalogDisplayHand
Supported from 5.0
A hand for an analogue clock (RAnalogClock
).
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.
|
Defined in TAnalogDisplayHand
:
AddCircle()
, AddLine()
, AddPolyLine()
, NumFeatures()
, TAnalogDisplayHand()
TAnalogDisplayHand(TAnalogDisplayHandType aType);
Constructs a hand for an analogue clock.
|
void AddCircle(CGraphicsContext::TPenStyle aPenStyle, TRgb aPenColor, const TSize& aPenSize, CGraphicsContext::TBrushStyle aBrushStyle, TRgb aBrushColor, const TPoint& aCircleCenter, TInt aRadius);
Adds a circle to the hand.
|
void AddLine(CGraphicsContext::TPenStyle aPenStyle, TRgb aPenColor, const TSize& aPenSize, 144 const TPoint& aStartPoint, const TPoint& aEndPoint);
Adds a line to the hand.
|
void AddPolyLine(CGraphicsContext::TPenStyle aPenStyle, TRgb aPenColor, const TSize& aPenSize, 146 CGraphicsContext::TBrushStyle aBrushStyle, TRgb aBrushColor, 147 TBool aClosed, const CArrayFix<TPoint>* aPointList);
Adds a polyline to the hand.
|
TInt NumFeatures() const;
Gets the number of features added to the hand.