/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/native_theme/ |
H A D | native_theme_aura_unittest.cc | 99 EXPECT_EQ(48.f, bounding_rect.x()); in TEST_F() 100 EXPECT_EQ(67.f, bounding_rect.y()); in TEST_F() 102 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 108 EXPECT_EQ(49.f, bounding_rect.x()); in TEST_F() 109 EXPECT_EQ(66.f, bounding_rect.y()); in TEST_F() 111 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 118 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 127 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 134 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 139 EXPECT_EQ(3.f, bounding_rect.x()); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/native_theme/ |
H A D | native_theme_aura_unittest.cc | 99 EXPECT_EQ(48.f, bounding_rect.x()); in TEST_F() 100 EXPECT_EQ(67.f, bounding_rect.y()); in TEST_F() 102 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 108 EXPECT_EQ(49.f, bounding_rect.x()); in TEST_F() 109 EXPECT_EQ(66.f, bounding_rect.y()); in TEST_F() 111 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 118 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 127 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 134 EXPECT_EQ(bounding_rect.width(), bounding_rect.height()); in TEST_F() 139 EXPECT_EQ(3.f, bounding_rect.x()); in TEST_F() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/geo-0.13.0/src/algorithm/ |
H A D | bounding_rect.rs | 156 let bounding_rect = linestring.bounding_rect(); in empty_linestring_test() localVariable 162 let bounding_rect = Rect::new( in linestring_one_point_test() localVariable 172 assert_eq!(bounding_rect, linestring.bounding_rect().unwrap()); in linestring_one_point_test() 183 assert_eq!(bounding_rect, linestring.bounding_rect().unwrap()); in linestring_test() 193 let bounding_rect = Rect::new( in multilinestring_test() localVariable 197 assert_eq!(bounding_rect, multiline.bounding_rect().unwrap()); in multilinestring_test() 203 assert_eq!(bounding_rect, multipoint.bounding_rect().unwrap()); in multipoint_test() 225 let bounding_rect = Rect::new( in multipolygon_test() localVariable 229 assert_eq!(bounding_rect, mpoly.bounding_rect().unwrap()); in multipolygon_test() 236 line1.bounding_rect(), in line_test() [all …]
|
H A D | intersects.rs | 220 bounding_rect.min().x, in intersects() 221 bounding_rect.min().x + bounding_rect.width(), in intersects() 223 bounding_rect.min().x, in intersects() 230 bounding_rect.min().y, in intersects() 231 bounding_rect.min().y + bounding_rect.height(), in intersects() 233 bounding_rect.min().y, in intersects() 259 (bounding_rect.min().x, bounding_rect.min().y), in intersects() 260 (bounding_rect.min().x, bounding_rect.max().y), in intersects() 261 (bounding_rect.max().x, bounding_rect.max().y), in intersects() 262 (bounding_rect.max().x, bounding_rect.min().y), in intersects() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Curved_kernel_via_analysis_2/ |
H A D | Fig_stream_Curve_renderer_2.h | 49 Bbox_2 bbox (CGAL::to_double(ws.bounding_rect().xmin()), 50 CGAL::to_double(ws.bounding_rect().ymin()), 51 CGAL::to_double(ws.bounding_rect().xmax()), 52 CGAL::to_double(ws.bounding_rect().ymax())); 68 const NT x_min = ws.bounding_rect().xmin(); 69 const NT y_min = ws.bounding_rect().ymin(); 70 const NT x_scale = NT(width) / (ws.bounding_rect().xmax() - x_min); 108 Bbox_2 bbox(CGAL::to_double(ws.bounding_rect().xmin()), 109 CGAL::to_double(ws.bounding_rect().ymin()), 110 CGAL::to_double(ws.bounding_rect().xmax()), [all …]
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/filters/deskew/ |
H A D | Thumbnail.cpp | 41 const QRectF bounding_rect(boundingRect()); in prePaintOverImage() local 44 const double left = bounding_rect.left(); in prePaintOverImage() 45 const double right = bounding_rect.right(); in prePaintOverImage() 46 const double top = bounding_rect.top(); in prePaintOverImage() 47 const double bottom = bounding_rect.bottom(); in prePaintOverImage() 48 const double w = bounding_rect.width(); in prePaintOverImage() 49 const double h = bounding_rect.height(); in prePaintOverImage() 51 const QPointF center(bounding_rect.center()); in prePaintOverImage()
|
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/src/long_operations/ |
H A D | select_long_operation.cc | 368 o.bounding_rect = Rect(baseposx, baseposy, back_surface_->GetSize()); in ButtonSelectLongOperation() 370 o.bounding_rect = in ButtonSelectLongOperation() 390 if (buttons_[i].bounding_rect.Contains(p)) { in MouseMotion() 456 Rect bounding_rect = buttons_[i].bounding_rect; in Render() local 457 bounding_rect = Rect(bounding_rect.origin() + offset, bounding_rect.size()); in Render() 461 bounding_rect, in Render() 467 bounding_rect); in Render() 471 RenderTextSurface(buttons_[i].select_surface, bounding_rect); in Render() 473 RenderTextSurface(buttons_[i].default_surface, bounding_rect); in Render() 480 const Rect& bounding_rect) { in RenderTextSurface() argument [all …]
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/Viewers/ |
H A D | ISelectionBox.cpp | 102 QRectF bounding_rect = mParent->boundingRect(); in mouseMoveEvent() local 110 if (mSelectedArea.left() + motion_vector.x() < bounding_rect.left()) in mouseMoveEvent() 111 motion_vector.setX(bounding_rect.left() - mSelectedArea.left()); in mouseMoveEvent() 112 if (mSelectedArea.right() + motion_vector.x() > bounding_rect.right()) in mouseMoveEvent() 113 motion_vector.setX(bounding_rect.right() - mSelectedArea.right()); in mouseMoveEvent() 115 if (mSelectedArea.top() + motion_vector.y() < bounding_rect.top()) in mouseMoveEvent() 116 motion_vector.setY(bounding_rect.top() - mSelectedArea.top()); in mouseMoveEvent() 117 if (mSelectedArea.bottom() + motion_vector.y() > bounding_rect.bottom()) in mouseMoveEvent() 118 motion_vector.setY(bounding_rect.bottom() - mSelectedArea.bottom()); in mouseMoveEvent()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | warp.cpp | 527 Rect bounding_rect; in get_sub_renddesc_vfunc() local 562 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 575 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 590 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 603 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 683 Rect bounding_rect; in accelerated_render() local 726 bounding_rect=Rect(p); in accelerated_render() 739 bounding_rect=Rect(p); in accelerated_render() 754 bounding_rect=Rect(p); in accelerated_render() 767 bounding_rect=Rect(p); in accelerated_render() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | warp.cpp | 527 Rect bounding_rect; in get_sub_renddesc_vfunc() local 562 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 575 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 590 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 603 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 683 Rect bounding_rect; in accelerated_render() local 726 bounding_rect=Rect(p); in accelerated_render() 739 bounding_rect=Rect(p); in accelerated_render() 754 bounding_rect=Rect(p); in accelerated_render() 767 bounding_rect=Rect(p); in accelerated_render() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | warp.cpp | 527 Rect bounding_rect; in get_sub_renddesc_vfunc() local 562 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 575 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 590 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 603 bounding_rect=Rect(p); in get_sub_renddesc_vfunc() 683 Rect bounding_rect; in accelerated_render() local 726 bounding_rect=Rect(p); in accelerated_render() 739 bounding_rect=Rect(p); in accelerated_render() 754 bounding_rect=Rect(p); in accelerated_render() 767 bounding_rect=Rect(p); in accelerated_render() [all …]
|
/dports/games/widelands/widelands-build21/src/graphic/ |
H A D | game_renderer.cc | 59 const Recti& bounding_rect = dst->get_rect(); in draw_terrain() local 69 Rectf(bounding_rect.x, surface_height - bounding_rect.y - bounding_rect.h, bounding_rect.w, in draw_terrain() 70 bounding_rect.h); in draw_terrain()
|
/dports/cad/qelectrotech/qet-0.7.0/sources/qetgraphicsitem/ |
H A D | crossrefitem.cpp | 535 QRectF bounding_rect; in drawAsContacts() local 558 bounding_rect = bounding_rect.united(br); in drawAsContacts() 562 bounding_rect.adjust(-4, -4, 4, 4); in drawAsContacts() 564 m_bounding_rect = bounding_rect; in drawAsContacts() 565 m_shape_path.addRect(bounding_rect); in drawAsContacts() 580 QRectF bounding_rect; in drawContact() local 589 bounding_rect = QRectF(0, offset, 24, 10); in drawContact() 679 bounding_rect = bounding_rect.united(text_rect); in drawContact() 696 bounding_rect = QRectF(0, offset, 24, 20); in drawContact() 739 bounding_rect = bounding_rect.united(text_rect); in drawContact() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/pdf/pdfium/ |
H A D | pdfium_page_unittest.cc | 194 CompareRect({380, 78, 67, 68}, page->images_[0].bounding_rect); in TEST_F() 196 CompareRect({380, 385, 27, 28}, page->images_[1].bounding_rect); in TEST_F() 198 CompareRect({380, 678, 1, 1}, page->images_[2].bounding_rect); in TEST_F() 213 CompareRect({380, 78, 67, 68}, page->images_[0].bounding_rect); in TEST_F() 217 CompareRect({380, 678, 1, 1}, page->images_[2].bounding_rect); in TEST_F() 355 pp::Rect bounding_rect; in TEST_F() member 383 CompareRect(kExpectedHighlights[i].bounding_rect, in TEST_F() 384 page->highlights_[i].bounding_rect); in TEST_F() 395 pp::Rect bounding_rect; in TEST_F() member 420 CompareRect(kExpectedTextFields[i].bounding_rect, in TEST_F() [all …]
|
/dports/biology/sigviewer/sigviewer-0.6.4-13-gf62f8d9/src/gui_impl/signal_browser/ |
H A D | x_axis_widget_4.cpp | 127 …QRect bounding_rect = p.boundingRect (0, 0, 0, font.pixelSize(), Qt::AlignHCenter | Qt::AlignVCent… in paintEvent() local 128 bounding_rect.moveTo (time_to_highlight_ * pixel_per_sec_, 5); in paintEvent() 129 p.fillRect (bounding_rect, Qt::white); in paintEvent() 131 …p.drawText (bounding_rect, Qt::AlignLeft | Qt::AlignTop, QString::number(time_to_highlight_, 'f', … in paintEvent() 132 last_highlight_rect_ = bounding_rect; in paintEvent()
|
/dports/graphics/milton/milton-1.9.1/src/ |
H A D | StrokeList.cc | 9 bucket->bounding_rect = rect_without_size(); in strokelist_init_bucket() 37 bucket->bounding_rect = rect_union(bucket->bounding_rect, element.bounding_rect); in push() 78 bucket->bounding_rect = rect_without_size(); in reset()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/pdf/pdfium/ |
H A D | pdfium_page_unittest.cc | 472 gfx::Rect bounding_rect; in TEST_F() member 499 EXPECT_EQ(kExpectedHighlights[i].bounding_rect, in TEST_F() 500 page.highlights_[i].bounding_rect); in TEST_F() 511 gfx::Rect bounding_rect; in TEST_F() member 535 EXPECT_EQ(kExpectedTextFields[i].bounding_rect, in TEST_F() 536 page.text_fields_[i].bounding_rect); in TEST_F() 552 gfx::Rect bounding_rect; in TEST_F() member 623 page.choice_fields_[i].bounding_rect); in TEST_F() 639 gfx::Rect bounding_rect; in TEST_F() member 704 EXPECT_EQ(kExpectedButtons[i].bounding_rect, in TEST_F() [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/src/ |
H A D | batch.rs | 157 bounding_rect: &PictureRect, in set_params_and_get_batch() 239 bounding_rect: &PictureRect, in set_params_and_get_batch() 321 bounding_rect: &PictureRect, in push_single_instance() 347 bounding_rect: &PictureRect, in set_params_and_get_batch() 680 bounding_rect, in add_prim_to_batch() 752 bounding_rect, in add_prim_to_batch() 958 bounding_rect, in add_prim_to_batch() 1618 bounding_rect, in add_prim_to_batch() 2181 bounding_rect, in add_segment_to_batch() 2292 bounding_rect: &PictureRect, in add_gradient_tiles() [all …]
|
H A D | segment.rs | 179 bounding_rect: Option<LayoutRect>, field 192 bounding_rect: None, in new() 208 self.bounding_rect = Some(local_rect); in initialize() 318 self.bounding_rect = self.bounding_rect.and_then(|bounding_rect| { in push_clip_rect() 319 bounding_rect.intersection(&rect) in push_clip_rect() 428 let bounding_rect = match self.bounding_rect { in build() localVariable 429 Some(bounding_rect) => bounding_rect, in build() 441 rect: bounding_rect, in build() 477 Au::from_f32_px(bounding_rect.origin.x), in build() 482 Au::from_f32_px(bounding_rect.origin.x + bounding_rect.size.width), in build() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/src/ |
H A D | batch.rs | 646 bounding_rect, in add_brush_instance_to_batches() 670 bounding_rect, in add_split_composite_instance_to_batches() 785 bounding_rect, in emit_placeholder() 909 bounding_rect, in add_prim_to_batch() 986 bounding_rect, in add_prim_to_batch() 1205 bounding_rect, in add_prim_to_batch() 1919 bounding_rect, in add_prim_to_batch() 1981 bounding_rect, in add_prim_to_batch() 2104 bounding_rect, in add_prim_to_batch() 2703 bounding_rect, in add_segment_to_batch() [all …]
|
H A D | segment.rs | 225 bounding_rect: Option<LayoutRect>, field 238 bounding_rect: None, in new() 254 self.bounding_rect = Some(local_rect); in initialize() 364 self.bounding_rect = self.bounding_rect.and_then(|bounding_rect| { in push_clip_rect() 365 bounding_rect.intersection(&rect) in push_clip_rect() 474 let bounding_rect = match self.bounding_rect { in build() localVariable 475 Some(bounding_rect) => bounding_rect, in build() 487 rect: bounding_rect, in build() 523 Au::from_f32_px(bounding_rect.origin.x), in build() 528 Au::from_f32_px(bounding_rect.origin.x + bounding_rect.size.width), in build() [all …]
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/modules/mod_particle/ |
H A D | plant.cpp | 102 bounding_rect=Rect::zero(); in Plant() 157 bounding_rect.expand(position); in branch() 184 bounding_rect=Rect::zero(); in calc_bounding_rect() 199 bounding_rect.expand(iter->get_vertex()); in calc_bounding_rect() 205 bounding_rect.expand_x(gravity[0]); in calc_bounding_rect() 206 bounding_rect.expand_y(gravity[1]); in calc_bounding_rect() 207 bounding_rect.expand_x(size); in calc_bounding_rect() 208 bounding_rect.expand_y(size); in calc_bounding_rect() 231 bounding_rect=Rect::zero(); in sync() 278 bounding_rect.expand(point); in sync() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/modules/mod_particle/ |
H A D | plant.cpp | 102 bounding_rect=Rect::zero(); in Plant() 157 bounding_rect.expand(position); in branch() 184 bounding_rect=Rect::zero(); in calc_bounding_rect() 199 bounding_rect.expand(iter->get_vertex()); in calc_bounding_rect() 205 bounding_rect.expand_x(gravity[0]); in calc_bounding_rect() 206 bounding_rect.expand_y(gravity[1]); in calc_bounding_rect() 207 bounding_rect.expand_x(size); in calc_bounding_rect() 208 bounding_rect.expand_y(size); in calc_bounding_rect() 231 bounding_rect=Rect::zero(); in sync() 278 bounding_rect.expand(point); in sync() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/modules/mod_particle/ |
H A D | plant.cpp | 102 bounding_rect=Rect::zero(); in Plant() 157 bounding_rect.expand(position); in branch() 184 bounding_rect=Rect::zero(); in calc_bounding_rect() 199 bounding_rect.expand(iter->get_vertex()); in calc_bounding_rect() 205 bounding_rect.expand_x(gravity[0]); in calc_bounding_rect() 206 bounding_rect.expand_y(gravity[1]); in calc_bounding_rect() 207 bounding_rect.expand_x(size); in calc_bounding_rect() 208 bounding_rect.expand_y(size); in calc_bounding_rect() 231 bounding_rect=Rect::zero(); in sync() 278 bounding_rect.expand(point); in sync() [all …]
|
/dports/x11/gnome-shell/gnome-shell-41.1/src/ |
H A D | shell-window-preview-layout.c | 196 MetaRectangle bounding_rect = { 0, }; in on_layout_changed() local 217 bounding_rect = frame_rect; in on_layout_changed() 222 meta_rectangle_union (&frame_rect, &bounding_rect, &bounding_rect); in on_layout_changed() 226 (float) bounding_rect.x, in on_layout_changed() 227 (float) bounding_rect.y); in on_layout_changed() 229 (float) bounding_rect.width, in on_layout_changed() 230 (float) bounding_rect.height); in on_layout_changed()
|