Lines Matching defs:bounds

170 	\param bounds The bitmap dimensions.
178 BBitmap::BBitmap(BRect bounds, uint32 flags, color_space colorSpace,
194 _InitObject(bounds, colorSpace, flags, bytesPerRow, screenID);
199 \param bounds The bitmap dimensions.
207 BBitmap::BBitmap(BRect bounds, color_space colorSpace, bool acceptsViews,
225 _InitObject(bounds, colorSpace, flags, B_ANY_BYTES_PER_ROW,
311 BBitmap::BBitmap(area_id area, ptrdiff_t areaOffset, BRect bounds,
328 _InitObject(bounds, colorSpace, flags,
380 BRect bounds;
382 if (data->FindRect("_frame", &bounds) == B_OK
384 _InitObject(bounds, cspace, flags, rowBytes, B_MAIN_SCREEN_ID);
1032 \param bounds The bitmap dimensions.
1041 BBitmap::_InitObject(BRect bounds, color_space colorSpace, uint32 flags,
1044 //printf("BBitmap::InitObject(bounds: BRect(%.1f, %.1f, %.1f, %.1f), format: %ld, flags: %ld, bpr: %ld\n",
1045 // bounds.left, bounds.top, bounds.right, bounds.bottom, colorSpace, flags, bytesPerRow);
1047 // TODO: Should we handle rounding of the "bounds" here? How does R5 behave?
1058 if (!bounds.IsValid() || !bitmaps_support_space(colorSpace, NULL)) {
1061 // bounds is in floats and might be valid but much larger than what we
1063 double realSize = bounds.Width() * bounds.Height();
1065 fprintf(stderr, "bitmap bounds is much too large: "
1067 bounds.left, bounds.top, bounds.right, bounds.bottom);
1072 int32 bpr = get_bytes_per_row(colorSpace, bounds.IntegerWidth() + 1);
1082 int32 size = bytesPerRow * (bounds.IntegerHeight() + 1);
1089 fBounds = bounds;
1108 link.Attach<BRect>(bounds);
1123 fBounds = bounds;
1138 // 1) BRect bounds
1144 link.Attach<BRect>(bounds);
1178 size = bytesPerRow * (bounds.IntegerHeight() + 1);
1184 fBounds = bounds;