Searched refs:topLeft (Results 1 - 9 of 9) sorted by relevance

/haiku/src/preferences/input/
H A DInputIcons.h22 static BRect IconRectAt(const BPoint& topLeft);
H A DInputIcons.cpp75 InputIcons::IconRectAt(const BPoint& topLeft) argument
77 return BRect(sBounds).OffsetToSelf(topLeft);
/haiku/src/preferences/media/
H A DMediaIcons.h31 static BRect IconRectAt(const BPoint& topLeft);
H A DMediaIcons.cpp58 MediaIcons::IconRectAt(const BPoint& topLeft) argument
60 return BRect(sBounds).OffsetToSelf(topLeft);
/haiku/src/tests/kits/interface/menu/menuworld/
H A DViewLayoutFactory.cpp95 BPoint topLeft; local
98 topLeft = pos;
101 topLeft.x = pos.x;
102 topLeft.y = pos.y - frame.Height();
105 topLeft.x = pos.x - frame.Width();
106 topLeft.y = pos.y;
109 topLeft.x = pos.x - frame.Width();
110 topLeft.y = pos.y - frame.Height();
114 view.MoveTo(topLeft);
/haiku/src/servers/app/
H A DPictureBoundingBoxPlayer.cpp270 BPoint topLeft = points[0]; local
273 if (points[index].x < topLeft.x || points[index].y < topLeft.y)
274 topLeft = points[index];
275 if (points[index].x > topLeft.x || points[index].y > topLeft.y)
278 outRect.SetLeftTop(topLeft);
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp750 BRect topLeft = rect; local
762 topLeft.bottom = bottomLeft.top;
763 topLeft.right = bottomLeft.right + 1;
766 topRight.bottom = topLeft.bottom;
767 topRight.left = topLeft.right;
773 be_control_look->DrawButtonFrame(view, topLeft, updateRect,
777 be_control_look->DrawButtonBackground(view, topLeft, updateRect,
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp1014 BPoint topLeft(GetFloatAttribute(attributes, "x"), GetFloatAttribute(attributes, "y"));
1015 BPoint bottomRight(topLeft.x + GetFloatAttribute(attributes, "width"),
1016 topLeft.y + GetFloatAttribute(attributes, "height"));
1018 fState.fMatrix.Transform(&topLeft);
1027 DrawBitmap(bitmap, BRect(topLeft, bottomRight));
/haiku/src/apps/stylededit/
H A DStyledEditWindow.cpp1395 BPoint topLeft((i % nbColumns) * (itemHeight + margin),
1397 BRect buttonArea(topLeft.x, topLeft.y, topLeft.x + itemHeight,
1398 topLeft.y + itemHeight);

Completed in 210 milliseconds