| 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.
| Public Member Functions | |
|---|---|
| TAnalogDisplayHand(TAnalogDisplayHandType) | |
| IMPORT_C void | AddCircle(CGraphicsContext::TPenStyle, TRgb, const TSize &, CGraphicsContext::TBrushStyle, TRgb, const TPoint &, TInt) |
| IMPORT_C void | AddLine(CGraphicsContext::TPenStyle, TRgb, const TSize &, const TPoint &, const TPoint &) |
| IMPORT_C void | AddPolyLine(CGraphicsContext::TPenStyle, TRgb, const TSize &, CGraphicsContext::TBrushStyle, TRgb, TBool, const CArrayFix< TPoint > *) |
| TInt | NumFeatures() |
| Private Member Functions | |
|---|---|
| void | AppendType(TAnalogDisplayHandFeatureType) |
| Inherited Functions | |
|---|---|
| TDisplayAddition::Buf()const | |
| Private Attributes | |
|---|---|
| TInt * | iNumFeaturesPtr |
| Inherited Attributes | |
|---|---|
| TDisplayAddition::iBuf | |
| IMPORT_C | TAnalogDisplayHand | ( | TAnalogDisplayHandType | aType | ) |
| TAnalogDisplayHandType aType |
| IMPORT_C void | AddCircle | ( | CGraphicsContext::TPenStyle | aPenStyle, |
| TRgb | aPenColor, | |||
| const TSize & | aPenSize, | |||
| CGraphicsContext::TBrushStyle | aBrushStyle, | |||
| TRgb | aBrushColor, | |||
| const TPoint & | aCircleCenter, | |||
| TInt | aRadius | |||
| ) | ||||
| CGraphicsContext::TPenStyle aPenStyle | |
| TRgb aPenColor | |
| const TSize & aPenSize | |
| CGraphicsContext::TBrushStyle aBrushStyle | |
| TRgb aBrushColor | |
| const TPoint & aCircleCenter | |
| TInt aRadius |
| IMPORT_C void | AddLine | ( | CGraphicsContext::TPenStyle | aPenStyle, |
| TRgb | aPenColor, | |||
| const TSize & | aPenSize, | |||
| const TPoint & | aStartPoint, | |||
| const TPoint & | aEndPoint | |||
| ) | ||||
| CGraphicsContext::TPenStyle aPenStyle | |
| TRgb aPenColor | |
| const TSize & aPenSize | |
| const TPoint & aStartPoint | |
| const TPoint & aEndPoint |
| IMPORT_C void | AddPolyLine | ( | CGraphicsContext::TPenStyle | aPenStyle, |
| TRgb | aPenColor, | |||
| const TSize & | aPenSize, | |||
| CGraphicsContext::TBrushStyle | aBrushStyle, | |||
| TRgb | aBrushColor, | |||
| TBool | aClosed, | |||
| const CArrayFix< TPoint > * | aPointList | |||
| ) | ||||
| CGraphicsContext::TPenStyle aPenStyle | |
| TRgb aPenColor | |
| const TSize & aPenSize | |
| CGraphicsContext::TBrushStyle aBrushStyle | |
| TRgb aBrushColor | |
| TBool aClosed | |
| const CArrayFix< TPoint > * aPointList |
| void | AppendType | ( | TAnalogDisplayHandFeatureType | aType | ) | [private] |
| TAnalogDisplayHandFeatureType aType |