Searched refs:rect (Results 426 - 450 of 512) sorted by relevance

<<11121314151617181920>>

/haiku/src/kits/interface/
H A DRegionSupport.cpp121 #define MEMCHECK(reg, rect, firstrect){\
128 (rect) = &(firstrect)[(reg)->fCount];\
375 register clipping_rect *rect,
379 while ((rectCount--) && (rect->bottom <= y))
380 rect++;
381 return(rect);
1568 const clipping_rect& rect)
1572 const clipping_rect* prect = &rect;
374 IndexRects( register clipping_rect *rect, register int rectCount, register int y) argument
H A DBMCPrivate.cpp200 BRect rect(Bounds());
208 be_control_look->DrawMenuFieldBackground(this, rect,
H A DTabView.cpp957 BRect rect(Bounds());
962 rect.top = fTabHeight;
966 rect.bottom -= fTabHeight;
970 rect.left = fTabHeight;
974 rect.right -= fTabHeight;
980 be_control_look->DrawGroupFrame(this, rect, rect, base, bordersToDraw);
982 be_control_look->DrawBorder(this, rect, rect, base, B_PLAIN_BORDER,
H A DDragger.cpp762 BRect rect(0, 0, menuWidth, menuHeight);
763 rect.InsetBy(-0.5, -0.5);
764 rect.OffsetTo(point);
766 fPopUp->Go(point, true, false, rect, true);
/haiku/src/apps/showimage/
H A DShowImageView.h62 void ConstrainToImage(BRect& rect) const;
167 void _DrawImage(BRect rect);
/haiku/src/kits/tracker/infowindow/
H A DHeaderView.cpp86 // The title rect
87 // The magic numbers are used to properly calculate the rect so that
105 // (Negative numbers increase the size of the rect)
199 // Reset the width of the text rect
231 // Adjust the size of the text rect
285 // Recalculate the rect width
346 // versus just in the container rect. The icons are always
411 BRect rect(0, 0, std::min(fIconRect.Width()
414 BBitmap* dragBitmap = new BBitmap(rect, B_RGBA32, true);
436 float hIconOffset = (rect
[all...]
/haiku/src/apps/soundrecorder/
H A DTrackSlider.cpp16 TrackSlider::TrackSlider(BRect rect, const char *title, BMessage *msg, argument
19 BControl(rect, "slider", NULL, msg, resizeFlags, B_WILL_DRAW
75 BRect rect = Bounds(); local
77 fBitmap = new BBitmap(rect, BScreen().ColorSpace(), true);
79 fBitmapView = new SliderOffscreenView(rect.OffsetToSelf(B_ORIGIN), "bitmapView");
/haiku/src/apps/mediaplayer/
H A DInfoWin.cpp151 BRect rect(Bounds());
156 DrawBitmap(fIconBitmap, BPoint(rect.left
157 + (rect.Width() - fIconBitmap->Bounds().Width()) / 2,
158 rect.top + (rect.Height() - fIconBitmap->Bounds().Height()) / 2));
/haiku/src/apps/charactermap/
H A DCharacterView.cpp379 BRect rect; local
382 _GetCharacterAt(where, character, &rect);
384 where = rect.LeftTop();
385 where.x += (rect.Width() - fMenu->Frame().Width()) / 2;
386 where.y += (rect.Height() - fMenu->Frame().Height()) / 2;
691 // Compute data rect
/haiku/src/apps/mediaplayer/playlist/
H A DListViews.cpp170 // update rect contains items
236 // figure out drag rect
349 BRect rect(Bounds());
353 if (rect.Contains(point)) {
355 float hotDist = rect.Height() * SCROLL_AREA;
356 if (point.y > rect.bottom - hotDist)
357 scrollV = hotDist - (rect.bottom - point.y);
358 else if (point.y < rect.top + hotDist)
359 scrollV = (point.y - rect.top) - hotDist;
/haiku/src/preferences/backgrounds/
H A DBackgroundImage.cpp350 BackgroundImage::BRectRatio(BRect rect) argument
352 return rect.Width() / rect.Height();
H A DBackgroundsView.h70 virtual void Draw(BRect rect);
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp354 BRect rect = _BitmapRect(); local
355 where.ConstrainTo(rect);
356 where -= rect.LeftTop();
/haiku/src/apps/mail/
H A DSignature.cpp66 TSignatureWindow::TSignatureWindow(BRect rect) argument
68 BWindow(rect, B_TRANSLATE("Signatures"), B_TITLED_WINDOW,
114 if (!rect.IsValid()) {
/haiku/src/preferences/filetypes/
H A DApplicationTypesWindow.cpp276 BRect rect; local
277 if (settings.FindRect("app_types_frame", &rect) == B_OK)
278 return rect;
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/
H A DSonixCamDevice.h79 virtual status_t SetVideoFrame(BRect rect);
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollView.cpp933 BRect rect(_InnerRect());
935 rect.right -= B_V_SCROLL_BAR_WIDTH;
937 rect.bottom -= B_H_SCROLL_BAR_HEIGHT;
939 return rect;
944 // Returns an approximation of the visible rect for the
947 // visible rect.
958 // Returns the maximal possible visible rect in the current situation, that
959 // is depending on if the visible rect is the child's bounds either the
961 // the scroll offset) or the current visible rect.
/haiku/src/apps/icon-o-matic/shape/
H A DPathManipulator.h125 void _InvalidateCanvas(BRect rect) const;
/haiku/src/libs/agg/src/
H A Dagg_rounded_rect.cpp37 void rounded_rect::rect(double x1, double y1, double x2, double y2) function in class:agg::rounded_rect
/haiku/src/tests/servers/app/newClipping/
H A DLayer.cpp46 Layer::ConvertToScreen2(BRect* rect) const
50 rect->OffsetBy(-fOrigin.x, -fOrigin.y);
51 rect->OffsetBy(fFrame.left, fFrame.top);
53 fParent->ConvertToScreen2(rect);
/haiku/headers/os/interface/
H A DColorControl.h101 void _DrawColorRamp(BRect rect, BView* target,
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp102 void GetLineRange(BRect rect, int32& minLine,
218 virtual void Draw(BView* view, BRect rect) = 0;
229 virtual void Draw(BView* view, BRect rect);
258 virtual void Draw(BView* view, BRect rect);
449 SourceView::BaseView::GetLineRange(BRect rect, int32& minLine, argument
453 minLine = (int32)rect.top / lineHeight;
454 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
505 BRect rect)
519 BPoint tip(rect.right - 3.5f, floorf((rect
504 Draw(BView* view, BRect rect) argument
579 Draw(BView* view, BRect rect) argument
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp373 BRect rect = first->GetBoundingRectangle(); local
376 rect = rect | band->GetBoundingRectangle();
378 return rect;
/haiku/src/servers/app/
H A DDrawState.h89 bool ClipToRect(BRect rect, bool inverse);
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.h122 void SetDropRect(BRect rect);

Completed in 242 milliseconds

<<11121314151617181920>>