Searched refs:center (Results 51 - 68 of 68) sorted by relevance

123

/haiku/src/kits/interface/
H A DPictureDataWriter.cpp400 PictureDataWriter::WriteDrawArc(const BPoint& center, const BPoint& radius, argument
405 Write<BPoint>(center);
591 PictureDataWriter::WriteDrawArcGradient(const BPoint& center, const BPoint& radius, argument
596 Write<BPoint>(center);
H A DView.cpp3335 BView::StrokeEllipse(BPoint center, float xRadius, float yRadius, argument
3338 StrokeEllipse(BRect(center.x - xRadius, center.y - yRadius,
3339 center.x + xRadius, center.y + yRadius), pattern);
3360 BView::FillEllipse(BPoint center, float xRadius, float yRadius, argument
3363 FillEllipse(BRect(center.x - xRadius, center.y - yRadius,
3364 center.x + xRadius, center
3369 FillEllipse(BPoint center, float xRadius, float yRadius, const BGradient& gradient) argument
3410 StrokeArc(BPoint center, float xRadius, float yRadius, float startAngle, float arcAngle, ::pattern pattern) argument
3438 FillArc(BPoint center,float xRadius, float yRadius, float startAngle, float arcAngle, ::pattern pattern) argument
3447 FillArc(BPoint center,float xRadius, float yRadius, float startAngle, float arcAngle, const BGradient& gradient) argument
[all...]
H A DTabView.cpp280 BPoint center(frame.left + frame.Width() / 2,
301 frame.top = center.y - originalFrame.Width() / 2;
302 frame.bottom = center.y + originalFrame.Width() / 2;
303 frame.left = center.x - originalFrame.Height() / 2;
304 frame.right = center.x + originalFrame.Height() / 2;
308 transform.RotateBy(center, rotation * M_PI / 180.0f);
H A DColorControl.cpp518 BPoint center = _SelectorPosition(_RampFrame(i), components[i]); local
521 target->StrokeEllipse(center, kSelectorSize / 2, kSelectorSize / 2);
523 target->StrokeEllipse(center, kSelectorSize, kSelectorSize,
526 target->StrokeEllipse(center,
H A DHaikuControlLook.cpp3003 BPoint center(roundf((rect.left + rect.right) / 2.0),
3008 triangle[0] = center + BPoint(-metric, -offset);
3009 triangle[1] = center + BPoint(metric, -offset);
3010 triangle[2] = center + BPoint(0.0, metric * 0.8f);
/haiku/docs/interface_guidelines/docbook-css/
H A Dstyles.css71 text-align:center;
77 text-align:center;
632 text-align: center;
/haiku/headers/os/interface/
H A DView.h418 void StrokeEllipse(BPoint center, float xRadius,
423 void FillEllipse(BPoint center, float xRadius,
428 void FillEllipse(BPoint center, float xRadius,
433 void StrokeArc(BPoint center, float xRadius,
440 void FillArc(BPoint center, float xRadius,
447 void FillArc(BPoint center, float xRadius,
/haiku/src/apps/deskbar/
H A DSwitcher.cpp750 // center the window
1339 float center = (bounds.right + bounds.left) / 2; local
1365 AddLine(box.LeftTop(), BPoint(center - kWedge, box.top), veryDarkGray);
1366 AddLine(BPoint(center + kWedge, box.top), box.RightTop(), veryDarkGray);
1368 AddLine(box.LeftBottom(), BPoint(center - kWedge, box.bottom),
1370 AddLine(BPoint(center + kWedge, box.bottom), box.RightBottom(),
1373 BPoint(center - kWedge, box.bottom + 1), white);
1374 AddLine(BPoint(center + kWedge, box.bottom) + BPoint(0, 1),
1383 BPoint point(center - kWedge, box.top);
1385 AddLine(point + BPoint(kWedge, kWedge), BPoint(center
[all...]
/haiku/src/servers/app/
H A DPictureBoundingBoxPlayer.cpp327 determine_bounds_draw_arc(void* _state, const BPoint& center, argument
330 BRect rect(center.x - radii.x, center.y - radii.y,
331 center.x + radii.x - 1, center.y + radii.y - 1);
H A DServerWindow.cpp3467 BPoint center = rect.LeftTop() + radii; local
3469 picture->WriteDrawArc(center, radii, startTheta, arcTheta,
3553 BPoint center = rect.LeftTop() + radii; local
3555 picture->WriteDrawArcGradient(center, radii, startTheta, arcTheta, *gradient,
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp728 BPoint center(r.left + xRadius,
732 fPainter->FillArc(center, xRadius, yRadius, angle, span);
734 fPainter->StrokeArc(center, xRadius, yRadius, angle, span);
752 BPoint center(r.left + xRadius,
755 fPainter->FillArc(center, xRadius, yRadius, angle, span, gradient);
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js851 var center = new RemotePoint(remoteMessage);
854 this.gradient = context.createRadialGradient(center.x, center.y, 0,
855 center.x, center.y, radius);
/haiku/src/bin/
H A Dsetmime.cpp371 } else if (strcasecmp(value, "center") == 0) {
396 : (fAlignment == B_ALIGN_LEFT ? "left" : "center");
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp1804 BPoint center(roundf((rect.left + rect.right) / 2.0),
1807 triangle[0] = center + BPoint(-2.5, -0.5);
1808 triangle[1] = center + BPoint(2.5, -0.5);
1809 triangle[2] = center + BPoint(0.0, 2.0);
/haiku/src/kits/tracker/
H A DUtilities.cpp745 float center = (bounds.right - bounds.left) / 2; local
746 loc.x = center - (width/2);
H A DPoseView.cpp3082 // Try to lock the center of the pose view when scaling icons, but not
3089 BPoint center(bounds.LeftTop());
3090 center.x += bounds.Width() / 2.0;
3091 center.y += bounds.Height() / 2.0;
3092 // convert the center into "unscaled icon placement" space
3094 BPoint unscaledCenter(center.x / oldScale, center.y / oldScale);
3095 // get the new center in "scaled icon placement" place
3099 scaleOffset = newCenter - center;
7941 // center aroun
[all...]
/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex188 \begin{center}
207 \end{center}
/haiku/src/apps/bootmanager/
H A Dbootman.S497 add al, 3 ; center menu item

Completed in 246 milliseconds

123