Searched refs:rect (Results 1 - 25 of 607) sorted by last modified time

1234567891011>>

/haiku-fatelf/src/kits/print/
H A DPicturePrinter.cpp48 printf("rect [l: %f, t: %f, r: %f, b: %f] ", r->left, r->top, r->right, r->bottom);
116 void PicturePrinter::StrokeRect(BRect rect) { argument
117 Indent(); Print("StrokeRect"); Print(&rect); Cr();
121 void PicturePrinter::FillRect(BRect rect) { argument
122 Indent(); Print("FillRect"); Print(&rect); Cr();
126 void PicturePrinter::StrokeRoundRect(BRect rect, BPoint radii) { argument
127 Indent(); Print("StrokeRoundRect"); Print(&rect); Print("radii", &radii); Cr();
131 void PicturePrinter::FillRoundRect(BRect rect, BPoint radii) { argument
132 Indent(); Print("FillRoundRect"); Print(&rect); Print("radii", &radii); Cr();
/haiku-fatelf/src/preferences/backgrounds/
H A DBackgroundImage.cpp349 BackgroundImage::BRectRatio(BRect rect) argument
351 return rect.Width() / rect.Height();
H A DBackgroundImage.h116 void ScreenChanged(BRect rect, color_space space);
142 float BRectRatio(BRect rect);
/haiku-fatelf/src/apps/deskbar/
H A DBarView.cpp1172 TBarView::OffsetIconFrame(BRect rect) const
1177 + rect.left;
1179 + rect.top;
1181 frame.right = frame.left + rect.Width();
1182 frame.bottom = frame.top + rect.Height();
H A DDeskbarMenu.cpp411 BRect rect = Supermenu()->Bounds(); local
412 Supermenu()->ConvertToScreen(&rect);
416 point = rect.RightTop() + BPoint(0, 3);
419 point = rect.LeftTop() - BPoint(Bounds().Width(), 0) + BPoint(0, 3);
/haiku-fatelf/src/apps/workspaces/
H A DWorkspaces.cpp681 WorkspacesWindow::ScreenChanged(BRect rect, color_space mode) argument
683 fSettings->UpdateFramesForScreen(rect);
/haiku-fatelf/src/kits/storage/
H A DMime.cpp191 BRect rect; local
193 rect.Set(0, 0, 15, 15);
195 rect.Set(0, 0, 31, 31);
299 BRect rect;
301 rect.Set(0, 0, 15, 15);
303 rect.Set(0, 0, 31, 31);
307 if (icon->Bounds() != rect)
/haiku-fatelf/src/kits/tracker/
H A DTrackerSettingsWindow.cpp54 void DrawItem(BView* owner, BRect rect, bool drawEverything);
304 SettingsItem::DrawItem(BView* owner, BRect rect, bool drawEverything) argument
319 owner->FillRect(rect);
336 BPoint(rect.left + be_control_look->DefaultLabelSpacing(),
337 rect.top + fheight.ascent + 2 + floorf(fheight.leading / 2)));
H A DPoseView.cpp151 // maximum size of the transparent drag bitmap, use a drag rect
318 BRect rect(Frame());
319 rect.bottom = rect.top + kTitleViewHeight;
320 fTitleView = new BTitleView(rect, this);
2051 BRect rect(bounds);
2052 rect.top = rect.bottom + 1;
2053 rect.bottom = rect
3529 IsValidLocation(const BRect& rect) argument
8001 DrawOpenAnimation(BRect rect) argument
8542 RemoveFromExtent(const BRect &rect) argument
8567 BRect rect; local
8700 BRect rect = CalcPoseRect(pose, index, fullDraw); local
[all...]
H A DPoseView.h526 bool IsValidLocation(const BRect& rect);
737 BRect rect; member in struct:BPrivate::BPoseView::SelectionRectInfo
1015 BPoseView::AddToExtent(const BRect&rect)
1017 fExtent = fExtent | rect;
/haiku-fatelf/src/kits/interface/
H A DTextView.cpp262 \param frame The rect which will enclose the BTextView object.
279 \param frame The rect which will enclose the BTextView object.
336 BRect rect; local
338 if (archive->FindRect("_trect", &rect) != B_OK)
339 rect.Set(0, 0, 0, 0);
341 _InitObject(rect, NULL, NULL);
548 \param updateRect The rect which needs to be redrawn
1903 // convert from text rect coordinates
1937 // special case: if point is within the text rect and PixelToLine()
1947 // convert to text rect coordinate
2346 SetTextRect(BRect rect) argument
2356 fLayoutData->UpdateInsets(Bounds().OffsetToCopy(B_ORIGIN), rect); local
[all...]
H A DWindow.cpp1186 BRect rect; local
1187 if (msg->FindRect("be:area", &rect) == B_OK)
1188 view->Invalidate(rect);
1372 // the update rect is in screen coordinates...
1420 // read culmulated update rect (is in screen coords)
2069 BWindow::ConvertToScreen(BRect* rect) const
2071 rect->OffsetBy(fFrame.LeftTop());
2076 BWindow::ConvertToScreen(BRect rect) const
2078 return rect.OffsetByCopy(fFrame.LeftTop());
2083 BWindow::ConvertFromScreen(BRect* rect) cons
2588 CenterIn(const BRect& rect) argument
[all...]
H A DColumnListView.cpp722 BColumnListView::BColumnListView(BRect rect, const char* name, argument
726 BView(rect, name, resizingMode,
1422 BRect rect; local
1423 GetRowRect(row, &rect);
1432 rect.left = leftEdge;
1433 rect.right = rect.left + column->Width();
1443 float baseline = floor(rect.top + fh.ascent
1444 + (rect.Height()+1-(fh.ascent+fh.descent))/2);
1445 return BPoint(rect
1464 DrawLatch(BView* view, BRect rect, LatchType position, BRow*) argument
1688 BRect rect = Bounds(); local
2027 TitleView(BRect rect, OutlineView* horizontalSlave, BList* visibleColumns, BList* sortColumns, BColumnListView* listView, uint32 resizingMode) argument
2376 DrawTitle(BView* view, BRect rect, BColumn* column, bool depressed) argument
2948 OutlineView(BRect rect, BList* visibleColumns, BList* sortColumns, BColumnListView* listView) argument
3785 BRect rect; local
3796 BRect rect; local
3804 BRect rect; local
4462 BRect rect; local
[all...]
H A DScrollBar.cpp944 BRect rect(fPrivateData->fThumbFrame);
950 if (rect.left > thumbBG.left) {
953 rect.left > thumbBG.left + 1 ? dark4 : dark);
955 if (rect.left > thumbBG.left + 1) {
959 BPoint(rect.left - 1, thumbBG.top), dark2);
960 AddLine(BPoint(rect.left - 1, thumbBG.bottom),
964 if (rect.right < thumbBG.right - 1) {
965 AddLine(BPoint(rect.right + 2, thumbBG.top + 1),
966 BPoint(rect.right + 2, thumbBG.bottom), dark2);
967 AddLine(BPoint(rect
1114 FillRect(rect); variable
1160 FillRect(rect); variable
[all...]
H A DDragger.cpp768 BRect rect(0, 0, menuWidth, menuHeight);
769 rect.InsetBy(-0.5, -0.5);
770 rect.OffsetTo(point);
772 fPopUp->Go(point, true, false, rect, true);
H A DPicturePlayer.cpp206 *reinterpret_cast<const BRect *>(data)); /* rect */
213 *reinterpret_cast<const BRect *>(data)); /* rect */
220 *reinterpret_cast<const BRect *>(data), /* rect */
228 *reinterpret_cast<const BRect *>(data), /* rect */
269 const BRect *rect = reinterpret_cast<const BRect *>(data); local
270 BPoint radii((rect->Width() + 1) / 2.0f, (rect->Height() + 1) / 2.0f);
271 BPoint center = rect->LeftTop() + radii;
278 const BRect *rect = reinterpret_cast<const BRect *>(data); local
279 BPoint radii((rect
[all...]
/haiku-fatelf/src/add-ons/opengl/swpipe/
H A DSoftwareRenderer.cpp351 BRect rect(0.0, 0.0, fWidth, fHeight);
352 fBitmap = new (std::nothrow) BBitmap(rect, fColorSpace);
/haiku-fatelf/src/add-ons/opengl/swrast/
H A DMesaSoftwareRenderer.cpp438 BRect rect(0.0, 0.0, fWidth - 1, fHeight - 1);
439 fBitmap = new BBitmap(rect, fColorSpace);
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DDocInfoWindow.cpp286 BRect rect(2.0, fieldsHeight, width, rowHeight);
287 textControl = _AddFieldToTable(rect, name, value.String());
299 DocInfoWindow::_AddFieldToTable(BRect rect, const char* name, const char* value) argument
301 BTextControl *textControl = new BTextControl(rect, name, name, value, NULL,
307 textControl->ResizeTo(rect.Width(), height);
308 textControl->SetDivider(rect.Width() / 2.0);
462 BRect rect(tabView->Bounds().InsetByCopy(3.0, 15.0));
463 rect.OffsetTo(B_ORIGIN);
464 BBox* panel = new BBox(rect, "top_panel", B_FOLLOW_ALL,
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/
H A DVariablesView.cpp332 void DrawValue(const BVariant& value, BRect rect, BView* targetView) argument
339 node->TableCellRenderer()->RenderValue(node->GetValue(), rect,
350 fColumn.DrawField(&fField, rect, targetView);
/haiku-fatelf/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp103 MemoryView::Draw(BRect rect) argument
105 rect = Bounds();
108 StrokeLine(BPoint(divider, rect.top),
109 BPoint(divider, rect.bottom));
118 StrokeLine(BPoint(divider, rect.top),
119 BPoint(divider, rect.bottom));
125 int32 startLine = int32(rect.top / fLineHeight);
141 for (; currentAddress < maxAddress && drawPoint.y < rect.bottom
/haiku-fatelf/src/apps/showimage/
H A DShowImageWindow.cpp226 BRect rect; local
227 rect = contentView->Bounds();
228 rect.top = viewFrame.bottom + 1;
229 rect.left = viewFrame.left + kstatusWidth;
230 rect.right = viewFrame.right + 1;
231 rect.bottom += 1;
232 BScrollBar* horizontalScrollBar = new BScrollBar(rect, "hscroll",
236 rect.left = 0;
237 rect.right = kstatusWidth - 1;
238 rect
[all...]
/haiku-fatelf/src/apps/soundrecorder/
H A DRecorderWindow.cpp196 BRect rect = screen.Frame(); local
197 float width = rect.Width() - 12;
198 SetSizeLimits(min_width, width, min_height, rect.Height() - 24);
204 SetZoomLimits(width, rect.Height() - 24);
H A DTrackSlider.cpp16 TrackSlider::TrackSlider(BRect rect, const char *title, BMessage *msg, argument
19 BControl(rect, "slider", NULL, msg, resizeFlags, B_WILL_DRAW
74 BRect rect = Bounds(); local
76 fBitmap = new BBitmap(rect, BScreen().ColorSpace(), true);
78 fBitmapView = new SliderOffscreenView(rect.OffsetToSelf(B_ORIGIN), "bitmapView");
/haiku-fatelf/src/apps/resedit/
H A DResWindow.cpp17 ResWindow::ResWindow(const BRect &rect, const entry_ref *ref) argument
18 : BWindow(rect, "", B_DOCUMENT_WINDOW, B_ASYNCHRONOUS_CONTROLS)

Completed in 440 milliseconds

1234567891011>>