52 while(tmpHours > 12) {
64 ch->
angle = (short)((9/25.0)*(tm->
ms));
102 for(i=0; i < numHands; ++i) {
103 cf->
hands[i] = chs[i];
shape * CHToShape(clockhand *ch)
shape * shape_create(ushort num_points,...)
Representation of a shape.
void CFDestroyClockFace(clockface *cf)
void CHCalculateAngle(clockhand *ch, clocktime *tm)
void CFUpdateTime(clockface *cf)
point * shape_duplicate_point(point *p)
shape ** CFToShapes(clockface *cf)
clockhand * CHCreateClockHand(point *center, ushort radius, uchar type)
void CHDestroyClockHand(clockhand *ch)
shape * shape_duplicate_shape(shape *s)
void CFDestroyShapes(clockface *cf)
void CHDestroyClockHandShape(clockhand *ch)
point * pointOnCircumference
Representation of an ordered pair with a shade.
clockface * CFCreateClockFace(ushort numHands, clockhand **chs, clocktime *th)
clockhand * CHDuplicateClockHand(clockhand *ch)