21 #define CH_MAX_HOURS 12
22 #define CH_MAX_MINUTES 60
23 #define CH_MAX_SECONDS 60
24 #define CH_MAX_MS 1000
26 #define CH_MAX_DEGREES 360
27 #define CH_ANGLE_OFFSET 90.0
29 #define PI_PI 3.142159
struct clockhand clockhand
void CFDestroyClockFace(clockface *cf)
clockface * CFCreateClockFace(ushort numHands, clockhand **chs, clocktime *th)
Representation of a shape.
struct clockface clockface
void CFDestroyShapes(clockface *cf)
shape * CHToShape(clockhand *ch)
point * pointOnCircumference
void CFUpdateTime(clockface *cf)
Representation of an ordered pair with a shade.
void CHDestroyClockHand(clockhand *ch)
void CHCalculateAngle(clockhand *ch, clocktime *tm)
void CHDestroyClockHandShape(clockhand *ch)
shape ** CFToShapes(clockface *cf)
clockhand * CHCreateClockHand(point *center, ushort radius, uchar type)