Searched refs:bounds (Results 176 - 200 of 293) sorted by relevance

1234567891011>>

/haiku/src/apps/showimage/
H A DPrintOptionsWindow.h23 // bounds of the image
25 void SetBounds(BRect bounds);
/haiku/src/libs/icon/style/
H A DGradientTransformable.h107 void FitToBounds(const BRect& bounds);
H A DGradientTransformable.cpp522 Gradient::FitToBounds(const BRect& bounds) argument
525 parl[0] = bounds.left;
526 parl[1] = bounds.top;
527 parl[2] = bounds.right;
528 parl[3] = bounds.top;
529 parl[4] = bounds.right;
530 parl[5] = bounds.bottom;
/haiku/src/preferences/printers/
H A DPrinterListView.h79 void DrawItem(BView* owner, BRect bounds,
/haiku/src/apps/clock/
H A Dcl_view.cpp205 InitObject(data->FindRect("bounds"), data->FindInt32("mRadius"),
219 status = data->AddRect("bounds", Bounds());
328 BRect bounds = Bounds(); local
333 bounds.InsetBy(12,12);
334 Invalidate(bounds);
337 Invalidate(bounds);
/haiku/src/apps/deskbar/
H A DTimeView.cpp233 BRect bounds(Bounds());
234 BPoint center(bounds.LeftTop());
235 center += BPoint(bounds.Width() / 2, bounds.Height() / 2);
280 // Update bounds when the size of the strings has changed
/haiku/src/apps/pulse/
H A DMiniPulseView.cpp70 BRect bounds(Bounds());
73 int h = bounds.IntegerHeight() - 2;
76 float bar_width = (bounds.Width()) / sys_info.cpu_count - 2;
/haiku/src/preferences/network/
H A DNetworkSettingsAddOn.cpp132 BNetworkInterfaceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument
143 owner->FillRect(bounds);
146 // Set the initial bounds of item contents
147 BPoint labelLocation = bounds.LeftTop() + BPoint(fSpacing, fLineOffset);
/haiku/src/tests/servers/app/inverse_clipping/
H A Dmain.cpp263 BRect bounds(window->Bounds());
264 scroll->ResizeTo(bounds.Width(), bounds.Height());
/haiku/src/kits/interface/
H A DRadioButton.cpp133 BRect bounds = Bounds(); local
139 bool inside = bounds.Contains(where);
530 BRect bounds(Bounds());
535 FillRect(bounds);
539 Draw(bounds);
H A DAbstractSpinner.cpp1019 BRect bounds = Bounds(); local
1021 if (bounds.Width() > fLayoutData->previous_width) {
1023 BRect rect = bounds;
1027 } else if (bounds.Width() < fLayoutData->previous_width) {
1029 BRect rect = bounds;
1036 if (bounds.Height() > fLayoutData->previous_height) {
1038 BRect rect = bounds;
1043 rect = bounds;
1046 } else if (bounds.Height() < fLayoutData->previous_height) {
1048 BRect rect = bounds;
[all...]
H A DPrivateScreen.cpp357 BPrivateScreen::GetBitmap(BBitmap**_bitmap, bool drawCursor, BRect* bounds) argument
363 if (bounds != NULL)
364 rect = *bounds;
386 BPrivateScreen::ReadBitmap(BBitmap* bitmap, bool drawCursor, BRect* bounds) argument
392 if (bounds != NULL)
393 rect = *bounds;
H A DDragger.cpp252 BRect bounds(Bounds());
255 BPoint where = bounds.RightBottom() - BPoint(fBitmap->Bounds().Width(),
682 BRect bounds(Frame());
684 if (!parentBounds.Contains(bounds)) {
685 MoveTo(parentBounds.right - bounds.Width(),
686 parentBounds.bottom - bounds.Height());
/haiku/src/servers/notification/
H A DNotificationWindow.cpp299 BRect bounds = DecoratorFrame(); local
303 float leftOffset = Frame().left - bounds.left;
304 float topOffset = Frame().top - bounds.top + 1;
305 float rightOffset = bounds.right - Frame().right;
306 float bottomOffset = bounds.bottom - Frame().bottom;
/haiku/src/add-ons/translators/shared/
H A DBaseTranslator.cpp303 if (header.rowBytes * (header.bounds.Height() + 1) != header.dataSize)
329 pheader->bounds = header.bounds;
421 result = DerivedCanHandleImageSize(bitmap.bounds.Width() + 1.0,
422 bitmap.bounds.Height() + 1.0);
656 // outExtent, the bounds of the view are
/haiku/src/kits/tracker/
H A DUtilities.h194 OffscreenBitmap(BRect bounds);
198 BView* BeginUsing(BRect bounds);
222 FlickerFreeStringView(BRect bounds, const char* name,
225 FlickerFreeStringView(BRect bounds, const char* name,
331 virtual void Draw(BRect bounds);
H A DPoseView.cpp1683 BRect bounds(Bounds());
1686 if (bounds.top > lastItemTop)
1687 BView::ScrollTo(bounds.left, std::max(lastItemTop, 0.0f));
1818 // Simple optimization: if the new pose bounds is completely below
1819 // the current view bounds, we do not need to draw.
1860 // if new pose above current view bounds, cache up
1912 // were we passed the bounds of the view?
2124 BRect bounds(Bounds());
2128 srcRect = srcRect & bounds;
2132 if (srcRect.Intersects(bounds) || destRec
3482 BRect bounds = Bounds(); local
5728 BRect bounds = Bounds(); local
5920 BRect bounds = Bounds(); local
10444 BRect bounds = Bounds(); local
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A DViewLayer.cpp69 BRect bounds(fScrollingOffset.x, fScrollingOffset.y,
72 return bounds;
77 ViewLayer::ConvertToVisibleInTopView(BRect* bounds) const
79 *bounds = *bounds & Bounds();
81 ConvertToParent(bounds);
84 fParent->ConvertToVisibleInTopView(bounds);
489 // old and new bounds
573 // remember old bounds for tracking dirty region
719 // the clipping spans over the bounds are
[all...]
/haiku/src/build/libbe/storage/
H A DAppFileInfo.cpp693 BRect bounds; local
699 bounds.Set(0, 0, 15, 15);
705 bounds.Set(0, 0, 31, 31);
719 if (icon->ColorSpace() == B_CMAP8 && icon->Bounds() != bounds)
725 = icon->ColorSpace() != B_CMAP8 || icon->Bounds() != bounds;
797 BRect bounds; local
804 bounds.Set(0, 0, 15, 15);
812 bounds.Set(0, 0, 31, 31);
837 && (icon->InitCheck() != B_OK || icon->Bounds() != bounds)) {
848 BBitmap bitmap(bounds, B_BITMAP_NO_SERVER_LIN
[all...]
/haiku/src/kits/storage/
H A DAppFileInfo.cpp691 BRect bounds; local
697 bounds.Set(0, 0, 15, 15);
703 bounds.Set(0, 0, 31, 31);
717 if (icon->ColorSpace() == B_CMAP8 && icon->Bounds() != bounds)
723 = icon->ColorSpace() != B_CMAP8 || icon->Bounds() != bounds;
795 BRect bounds; local
802 bounds.Set(0, 0, 15, 15);
810 bounds.Set(0, 0, 31, 31);
835 && (icon->InitCheck() != B_OK || icon->Bounds() != bounds)) {
846 BBitmap bitmap(bounds, B_BITMAP_NO_SERVER_LIN
[all...]
/haiku/src/add-ons/screen_savers/ifs/
H A DIFS.cpp157 IFS::IFS(BRect bounds) argument
166 if (!bounds.IsValid())
232 Fractal->Width = bounds.IntegerWidth() / 2 + 1;
233 Fractal->Height = bounds.IntegerHeight() / 2 + 1;
235 Fractal->Width = bounds.IntegerWidth() + 1;
236 Fractal->Height = bounds.IntegerHeight() + 1;
478 // in this version, remember the bounds rectangle
512 int32 left = info->bounds.left;
513 int32 top = info->bounds.top;
517 int32 screenWidth = info->bounds
[all...]
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp360 BRect bounds(Bounds());
361 bounds.bottom--;
362 FillRect(bounds, B_SOLID_LOW);
363 bounds.bottom++;
364 StrokeLine(bounds.LeftBottom(), bounds.RightBottom());
/haiku/src/add-ons/translators/png/
H A DPNGTranslator.cpp412 bitsHeader.bounds.left = 0;
413 bitsHeader.bounds.top = 0;
414 bitsHeader.bounds.right = width - 1;
415 bitsHeader.bounds.bottom = height - 1;
744 width = static_cast<png_uint_32>(bitsHeader.bounds.Width() + 1);
745 height = static_cast<png_uint_32>(bitsHeader.bounds.Height() + 1);
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp666 uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
667 uint32 height = bitsHeader.bounds.IntegerHeight() + 1;
850 bitsHeader.bounds.left = 0;
851 bitsHeader.bounds.top = 0;
852 bitsHeader.bounds.right = width - 1;
853 bitsHeader.bounds.bottom = height - 1;
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformBox.cpp227 BRect bounds; local
228 bounds.left = min5(lt.x, rt.x, lb.x, rb.x, c.x);
229 bounds.top = min5(lt.y, rt.y, lb.y, rb.y, c.y);
230 bounds.right = max5(lt.x, rt.x, lb.x, rb.x, c.x);
231 bounds.bottom = max5(lt.y, rt.y, lb.y, rb.y, c.y);
232 return bounds;

Completed in 196 milliseconds

1234567891011>>