Searched defs:radius (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Drotor.c76 float radius; member in struct:elem
225 pelem->radius = pelem->start_radius +
229 thisx += (int) (cos(pelem->angle) * pelem->radius);
230 thisy += (int) (sin(pelem->angle) * pelem->radius);
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1ClockP.h52 Dimension radius; /* radius factor */ member in struct:__anon290
H A DXaw3_1Clock.c261 int radius = ((int) min(w->core.width, w->core.height) - (int) (2 * w->clock.padding)) / 2; local
262 w->clock.radius = (Dimension) max (radius, 1);
264 w->clock.second_hand_length = ((SECOND_HAND_FRACT * w->clock.radius) / 100);
265 w->clock.minute_hand_length = ((MINUTE_HAND_FRACT * w->clock.radius) / 100);
266 w->clock.hour_hand_length = ((HOUR_HAND_FRACT * w->clock.radius) / 100);
267 w->clock.hand_width = ((HAND_WIDTH_FRACT * w->clock.radius) / 100);
268 w->clock.second_hand_width = ((SECOND_WIDTH_FRACT * w->clock.radius) / 100);
698 register int delta = (w->clock.radius - w->clock.second_hand_length) / 3;
705 (w->clock.radius
[all...]

Completed in 12 milliseconds