Home
last modified time | relevance | path

Searched refs:fRadius (Results 1 – 2 of 2) sorted by relevance

/haiku/src/preferences/time/
H A DAnalogClock.cpp39 fRadius(0.0), in TAnalogClock()
171 fRadius = floorf((MIN(bounds.Width(), bounds.Height()) / 2.0)) - 5.5; in DoLayout()
257 bounds.Set(fCenterX - fRadius, fCenterY - fRadius, in DrawClock()
258 fCenterX + fRadius, fCenterY + fRadius); in DrawClock()
282 float x1 = fCenterX + sinf(minute * M_PI / 30.0) * fRadius; in DrawClock()
283 float y1 = fCenterY + cosf(minute * M_PI / 30.0) * fRadius; in DrawClock()
284 float x2 = fCenterX + sinf(minute * M_PI / 30.0) * (fRadius * 0.95); in DrawClock()
285 float y2 = fCenterY + cosf(minute * M_PI / 30.0) * (fRadius * 0.95); in DrawClock()
295 float x1 = fCenterX + sinf(hour * M_PI / 6.0) * fRadius; in DrawClock()
296 float y1 = fCenterY + cosf(hour * M_PI / 6.0) * fRadius; in DrawClock()
[all …]
H A DAnalogClock.h66 float fRadius; variable