Searched refs:bounds (Results 151 - 175 of 293) sorted by relevance

1234567891011>>

/haiku/headers/os/translation/
H A DTranslatorFormats.h72 BRect bounds; member in struct:TranslatorBitmap
/haiku/headers/libs/print/libprint/
H A DMarginView.h154 virtual void Draw(BRect bounds);
/haiku/src/kits/tracker/
H A DCountView.cpp200 BRect bounds(Bounds());
207 be_control_look->DrawBorder(this, bounds, updateRect,
210 be_control_look->DrawMenuBarBackground(this, bounds, updateRect, color);
243 bounds.top++;
/haiku/src/apps/serialconnect/
H A DTermView.h19 TermView(BRect bounds);
/haiku/src/libs/icon/transformable/
H A DTransformable.h67 // transforms the rectangle "bounds" and
69 BRect TransformBounds(BRect bounds) const;
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp152 BRect bounds = Bounds(); local
157 be_control_look->DrawTextControlBorder(this, bounds, updateRect,
159 BRegion region(bounds);
165 DrawBitmap(fBitmap, bounds.LeftTop());
168 FillRect(bounds);
173 StrokeEllipse(fMarkerPosition + bounds.LeftTop(), 5.0, 5.0);
175 StrokeEllipse(fMarkerPosition + bounds.LeftTop(), 4.0, 4.0);
/haiku/src/kits/interface/
H A DStringView.cpp275 BRect bounds = Bounds(); local
283 if (fTruncation != B_NO_TRUNCATION && width > bounds.Width()) {
287 TruncateString(&truncated, fTruncation, bounds.Width());
292 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.descent))
298 x = bounds.Width() - width;
302 x = (bounds.Width() - width) / 2.0;
H A DChannelSlider.cpp246 BRect bounds(Bounds());
249 DrawString(Label(), BPoint((bounds.Width() - labelWidth) / 2.0,
256 float x = (bounds.Width() - StringWidth(MinLimitLabel()))
258 DrawString(MinLimitLabel(), BPoint(x, bounds.bottom
263 DrawString(MinLimitLabel(), BPoint(kPadding, bounds.bottom
272 float x = (bounds.Width() - StringWidth(MaxLimitLabel()))
278 DrawString(MaxLimitLabel(), BPoint(bounds.right - kPadding
279 - StringWidth(MaxLimitLabel()), bounds.bottom - kPadding));
690 BRect bounds = Bounds(); local
694 range = bounds
[all...]
H A DSlider.cpp386 BRect bounds(Bounds());
389 fOffScreenView = new BView(bounds, "", B_FOLLOW_ALL, B_WILL_DRAW);
397 fOffScreenBits = new BBitmap(bounds, B_RGBA32, true, false);
421 // makes sure the value is within valid bounds
482 BRect bounds(Bounds());
484 if (bounds.right <= 0.0f || bounds.bottom <= 0.0f)
492 fOffScreenView->ResizeTo(bounds.Width(), bounds.Height());
563 Makes sure the \a point is within valid bounds
[all...]
H A DTextView.cpp1164 // bounds are invalid, set them based on text
2107 const BRect bounds(Bounds());
2123 bounds.right - fLayoutData->rightInset);
2131 bounds.left + fLayoutData->leftInset);
2134 bounds.right - fLayoutData->rightInset);
2141 bounds.left + fLayoutData->leftInset);
2153 BRect bounds = Bounds(); local
2159 if (point.x < bounds.left)
2160 scrollBy.x = point.x - bounds.right;
2161 else if (point.x > bounds
4905 BRect bounds = Bounds(); local
4997 BRect bounds = Bounds(); local
5072 BRect bounds = Bounds(); local
5081 BRect bounds = Bounds(); local
6008 const BRect& bounds = Bounds(); local
[all...]
H A DView.cpp829 // + our bounds location within the parent
860 // - our bounds location within the parent
892 // + our bounds location within the parent
915 // - our bounds location within the parent
1732 // make sure scrolling is within valid bounds
1768 // we modify our bounds rectangle by deltaX/deltaY coord units hor/ver.
3573 BView::StrokePolygon(const BPoint* pointArray, int32 numPoints, BRect bounds, argument
3585 polygon.MapTo(polygon.Frame(), bounds);
3678 BView::FillPolygon(const BPoint* pointArray, int32 numPoints, BRect bounds, argument
3686 polygon.MapTo(polygon.Frame(), bounds);
3692 FillPolygon(const BPoint* pointArray, int32 numPoints, BRect bounds, const BGradient& gradient) argument
3855 StrokeTriangle(BPoint point1, BPoint point2, BPoint point3, BRect bounds, ::pattern pattern) argument
3996 FillTriangle(BPoint point1, BPoint point2, BPoint point3, BRect bounds, ::pattern pattern) argument
4016 FillTriangle(BPoint point1, BPoint point2, BPoint point3, BRect bounds, const BGradient& gradient) argument
[all...]
/haiku/src/kits/storage/
H A DNodeInfo.cpp172 BRect bounds; local
179 bounds.Set(0, 0, 15, 15);
186 bounds.Set(0, 0, 31, 31);
198 && (icon->InitCheck() != B_OK || icon->Bounds() != bounds)) {
210 BBitmap bitmap(bounds, B_BITMAP_NO_SERVER_LINK, B_CMAP8);
450 BRect bounds;
453 bounds.Set(0, 0, 15, 15);
457 bounds.Set(0, 0, 31, 31);
463 bounds = icon->Bounds();
468 if (icon->InitCheck() != B_OK || icon->Bounds() != bounds)
[all...]
/haiku/src/add-ons/translators/pcx/
H A DPCX.cpp279 bitsHeader.bounds.left = 0;
280 bitsHeader.bounds.top = 0;
281 bitsHeader.bounds.right = width - 1;
282 bitsHeader.bounds.bottom = height - 1;
283 bitsHeader.bounds.Set(0, 0, width - 1, height - 1);
/haiku/src/apps/screenshot/
H A DScreenshot.cpp226 BRect bounds = fUtility->cursorBitmap->Bounds(); local
227 fUtility->cursorAreaBitmap = new BBitmap(bounds, B_RGBA32);
230 fUtility->cursorPosition, BPoint(0, 0), bounds.Size());
235 int cursorWidth = bounds.IntegerWidth() + 1;
236 int cursorHeight = bounds.IntegerHeight() + 1;
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.cpp211 BRect bounds = bitmap->Bounds(); local
214 rc.left = (int)bounds.left;
215 rc.top = (int)bounds.top;
216 rc.right = (int)bounds.right;
217 rc.bottom = (int)bounds.bottom;
/haiku/src/apps/powerstatus/
H A DExtendedInfoWindow.cpp267 BRect bounds(Bounds());
276 return BRect(offset + index * width, bounds.bottom - height,
277 offset + index * width + width, bounds.bottom);
282 return BRect(bounds.right - height, offset + index * width,
283 bounds.right, offset + index * width + width);
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp395 hdr.bounds.left = B_HOST_TO_BENDIAN_FLOAT(0);
396 hdr.bounds.top = B_HOST_TO_BENDIAN_FLOAT(0);
397 hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width - 1);
398 hdr.bounds.bottom = B_HOST_TO_BENDIAN_FLOAT(height - 1);
784 hdr.bounds.left = B_BENDIAN_TO_HOST_FLOAT(hdr.bounds.left);
785 hdr.bounds.right = B_BENDIAN_TO_HOST_FLOAT(hdr.bounds.right);
786 hdr.bounds.top = B_BENDIAN_TO_HOST_FLOAT(hdr.bounds
[all...]
/haiku/src/add-ons/translators/ico/
H A DICO.cpp227 for (int32 y = 0; y < bitsHeader.bounds.IntegerHeight() + 1; y++) {
228 for (int32 x = 0; x < bitsHeader.bounds.IntegerWidth() + 1; x++) {
632 bitsHeader.bounds.left = 0;
633 bitsHeader.bounds.top = 0;
634 bitsHeader.bounds.right = entry.width - 1;
635 bitsHeader.bounds.bottom = entry.height - 1;
636 bitsHeader.bounds.Set(0, 0, entry.width - 1, entry.height - 1);
665 int32 width = bitsHeader.bounds.IntegerWidth() + 1;
666 int32 height = bitsHeader.bounds.IntegerHeight() + 1;
/haiku/src/add-ons/translators/sgi/
H A DSGITranslator.cpp287 uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
288 uint32 height = bitsHeader.bounds.IntegerHeight() + 1;
499 bitsHeader.bounds.left = 0;
500 bitsHeader.bounds.top = 0;
501 bitsHeader.bounds.right = width - 1;
502 bitsHeader.bounds.bottom = height - 1;
/haiku/src/add-ons/translators/icns/
H A DICNSTranslator.cpp174 icns_type_t type = ICNSFormat(bitsHeader.bounds.Width() + 1,
175 bitsHeader.bounds.Height() + 1, bitsHeader.colors);
/haiku/src/servers/app/
H A DLayer.cpp212 // view bounds here
219 Layer::_AllocateBitmap(const BRect& bounds) argument
221 BReference<UtilityBitmap> layerBitmap(new(std::nothrow) UtilityBitmap(bounds,
H A DCanvas.cpp281 const DrawState& state, const IntRect& bounds)
285 fBounds(bounds)
280 OffscreenCanvas(DrawingEngine* engine, const DrawState& state, const IntRect& bounds) argument
/haiku/src/apps/charactermap/
H A DCharacterView.cpp688 BRect bounds = Bounds(); local
692 fDataRect.right = bounds.Width();
695 fCharactersPerLine = int32(bounds.Width() / (fGap + fCharacterWidth));
716 if (bounds.Height() > fDataRect.Height()) {
721 scroller->SetRange(0.0f, fDataRect.Height() - bounds.Height() - 1.0f);
722 scroller->SetProportion(bounds.Height () / fDataRect.Height());
727 if (fDataRect.Height() < bounds.bottom)
728 ScrollBy(0.0f, bounds.bottom - fDataRect.Height());
/haiku/src/servers/app/drawing/
H A DAlphaMask.h40 IntRect bounds);
60 ServerBitmap* _CreateTemporaryBitmap(BRect bounds) const;
/haiku/src/kits/app/
H A DCursor.cpp99 BRect bounds = bitmap->Bounds();
109 link.Attach<BRect>(bounds);

Completed in 148 milliseconds

1234567891011>>