Searched refs:centerY (Results 1 – 5 of 5) sorted by relevance
/haiku/src/add-ons/screen_savers/simpleclock/ |
H A D | SimpleClock.cpp | 32 float centerX, centerY; member in Clock 101 centerY = height / 2.0; in Draw() 108 float y = centerY + markRadius * sin(markAngle); in Draw() 119 float y = centerY + markRadius * sin(markAngle); in Draw() 124 _drawArrow(&offscreenView, centerX, centerY, in Draw() 127 _drawArrow(&offscreenView, centerX, centerY, in Draw() 129 offscreenView.FillEllipse(BPoint(centerX, centerY), in Draw() 133 _drawArrow(&offscreenView, centerX, centerY, in Draw() 135 offscreenView.FillEllipse(BPoint(centerX, centerY), in Draw()
|
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | BoolValueView.cpp | 72 float centerY = floorf(Bounds().top + height / 2.0); in FrameResized() local 73 fCheckBoxRect.Set(centerX - radius, centerY - radius, in FrameResized() 74 centerX + radius, centerY + radius); in FrameResized()
|
/haiku/src/preferences/screensaver/ |
H A D | ScreenCornerSelector.cpp | 247 float centerY = innerFrame.top + innerFrame.Height() / 2; in _ScreenCorner() local 249 return point.y < centerY ? UP_LEFT_CORNER : DOWN_LEFT_CORNER; in _ScreenCorner() 251 return point.y < centerY ? UP_RIGHT_CORNER : DOWN_RIGHT_CORNER; in _ScreenCorner()
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 465 RemoteRect.prototype.centerY = function() method in RemoteRect 484 context.ellipse(this.centerX(), this.centerY(), this.width() / 2, 1403 var centerY = Math.round(rect.centerY()); 1412 context.arc(centerX, centerY, radius, invertStart, 1421 context.moveTo(centerX, centerY); 1425 centerY + radius * Math.cos(startAngle)); 1428 centerY + radius * Math.cos(endAngle));
|
/haiku/src/apps/mandelbrot/ |
H A D | Mandelbrot.cpp | 269 centerY = lt.y + dragFrame.Height() / 2; in MouseUp() local 271 SetLocationFromFrame(centerX, centerY); in MouseUp()
|