Searched refs:pieRect (Results 1 – 3 of 3) sorted by relevance
397 BRect pieRect = Bounds(); in _DrawPieChart() local398 if (!updateRect.Intersects(pieRect)) in _DrawPieChart()401 pieRect.InsetBy(kPieOuterMargin, kPieOuterMargin); in _DrawPieChart()404 if (pieRect.Width() > pieRect.Height()) { in _DrawPieChart()405 float moveBy = (pieRect.Width() - pieRect.Height()) / 2; in _DrawPieChart()406 pieRect.left += moveBy; in _DrawPieChart()407 pieRect.right -= moveBy; in _DrawPieChart()409 float moveBy = (pieRect.Height() - pieRect.Width()) / 2; in _DrawPieChart()410 pieRect.top -= moveBy; in _DrawPieChart()411 pieRect.bottom += moveBy; in _DrawPieChart()[all …]
26 MainWindow::MainWindow(BRect pieRect) in MainWindow() argument28 BWindow(pieRect, B_TRANSLATE_SYSTEM_NAME("DiskUsage"), B_TITLED_WINDOW, in MainWindow()
23 MainWindow(BRect pieRect);