Home
last modified time | relevance | path

Searched refs:bottom_rect (Results 1 – 22 of 22) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/accessibility/
H A Daccessibility_focus_ring_group.cc275 gfx::Rect bottom_rect = rects[n - 1]; in SplitIntoParagraphShape() local
276 int bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
280 bottom_rect.Union(rects[n - bottom_count - 1]); in SplitIntoParagraphShape()
281 bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
294 enclosing_rect.Union(bottom_rect); in SplitIntoParagraphShape()
296 int middle_bottom = (bottom_rect.y() * 2 + bottom_rect.bottom()) / 3; in SplitIntoParagraphShape()
298 bottom_rect.set_height(bottom_rect.bottom() - middle_bottom); in SplitIntoParagraphShape()
299 bottom_rect.set_y(middle_bottom); in SplitIntoParagraphShape()
318 if (middle_rect.bottom() < bottom_rect.y()) { in SplitIntoParagraphShape()
319 middle_rect.set_height(bottom_rect.y() - middle_rect.y()); in SplitIntoParagraphShape()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/graphics/accessibility/
H A Daccessibility_focus_ring_controller.cc331 gfx::Rect bottom_rect = rects[n - 1]; in SplitIntoParagraphShape() local
332 int bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
336 bottom_rect.Union(rects[n - bottom_count - 1]); in SplitIntoParagraphShape()
337 bottom_middle = (bottom_rect.y() + bottom_rect.bottom()) / 2; in SplitIntoParagraphShape()
350 enclosing_rect.Union(bottom_rect); in SplitIntoParagraphShape()
352 int middle_bottom = (bottom_rect.y() * 2 + bottom_rect.bottom()) / 3; in SplitIntoParagraphShape()
354 bottom_rect.set_height(bottom_rect.bottom() - middle_bottom); in SplitIntoParagraphShape()
355 bottom_rect.set_y(middle_bottom); in SplitIntoParagraphShape()
374 if (middle_rect.bottom() < bottom_rect.y()) { in SplitIntoParagraphShape()
375 middle_rect.set_height(bottom_rect.y() - middle_rect.y()); in SplitIntoParagraphShape()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/image_transforms/
H A Dintegral_image.h176 rectangle bottom_rect; in haar_y() local
177 bottom_rect.set_left ( top_rect.left() ); in haar_y()
178 bottom_rect.set_top ( p.y() ); in haar_y()
179 bottom_rect.set_right ( top_rect.right() ); in haar_y()
180 bottom_rect.set_bottom ( top_rect.top() + width - 1 ); in haar_y()
182 return img.get_sum_of_area(bottom_rect) - img.get_sum_of_area(top_rect); in haar_y()
/dports/science/dlib-cpp/dlib-19.22/dlib/image_transforms/
H A Dintegral_image.h176 rectangle bottom_rect; in haar_y() local
177 bottom_rect.set_left ( top_rect.left() ); in haar_y()
178 bottom_rect.set_top ( p.y() ); in haar_y()
179 bottom_rect.set_right ( top_rect.right() ); in haar_y()
180 bottom_rect.set_bottom ( top_rect.top() + width - 1 ); in haar_y()
182 return img.get_sum_of_area(bottom_rect) - img.get_sum_of_area(top_rect); in haar_y()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/pdf/draw_utils/
H A Dcoordinates.cc36 const pp::Rect& bottom_rect) { in GetBottomGapBetweenRects() argument
37 if (page_rect_bottom >= bottom_rect.bottom()) in GetBottomGapBetweenRects()
40 return pp::Rect(bottom_rect.x(), page_rect_bottom, bottom_rect.width(), in GetBottomGapBetweenRects()
41 bottom_rect.bottom() - page_rect_bottom); in GetBottomGapBetweenRects()
H A Dcoordinates.h58 const pp::Rect& bottom_rect);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/display/win/
H A Dscaling_util.cc233 gfx::Rect bottom_rect(CoordinateRotateRect(rect, degrees)); in SquaredDistanceBetweenRects() local
234 if (bottom_rect.right() < top_rect.x()) in SquaredDistanceBetweenRects()
235 return (bottom_rect.top_right() - top_rect.bottom_left()).LengthSquared(); in SquaredDistanceBetweenRects()
236 else if (top_rect.right() < bottom_rect.x()) in SquaredDistanceBetweenRects()
237 return (bottom_rect.origin() - top_rect.bottom_right()).LengthSquared(); in SquaredDistanceBetweenRects()
239 int distance = bottom_rect.y() - top_rect.bottom(); in SquaredDistanceBetweenRects()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/win/
H A Dscaling_util.cc236 gfx::Rect bottom_rect(CoordinateRotateRect(rect, degrees)); in SquaredDistanceBetweenRects() local
237 if (bottom_rect.right() < top_rect.x()) in SquaredDistanceBetweenRects()
238 return (bottom_rect.top_right() - top_rect.bottom_left()).LengthSquared(); in SquaredDistanceBetweenRects()
239 else if (top_rect.right() < bottom_rect.x()) in SquaredDistanceBetweenRects()
240 return (bottom_rect.origin() - top_rect.bottom_right()).LengthSquared(); in SquaredDistanceBetweenRects()
242 int distance = bottom_rect.y() - top_rect.bottom(); in SquaredDistanceBetweenRects()
/dports/www/chromium-legacy/chromium-88.0.4324.182/pdf/draw_utils/
H A Dcoordinates.cc45 const gfx::Rect& bottom_rect) { in GetBottomGapBetweenRects() argument
46 if (page_rect_bottom >= bottom_rect.bottom()) in GetBottomGapBetweenRects()
49 return gfx::Rect(bottom_rect.x(), page_rect_bottom, bottom_rect.width(), in GetBottomGapBetweenRects()
50 bottom_rect.bottom() - page_rect_bottom); in GetBottomGapBetweenRects()
H A Dcoordinates.h64 const gfx::Rect& bottom_rect);
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/video/sdl/
H A Dsdl_painter.cpp425 SDL_Rect& bottom_rect = rects[2*slices+1]; in draw_inverse_ellipse() local
432 bottom_rect.x = 0; in draw_inverse_ellipse()
433 bottom_rect.y = top + static_cast<int>(h); in draw_inverse_ellipse()
434 bottom_rect.w = viewport.get_screen_width(); in draw_inverse_ellipse()
435 bottom_rect.h = viewport.get_screen_height() - bottom_rect.y; in draw_inverse_ellipse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/app_list/model/
H A Dfolder_image.cc270 gfx::Rect bottom_rect = center_rect; in GetTopIconsBounds() local
271 bottom_rect.Offset(0, origin_offset); in GetTopIconsBounds()
272 top_icon_bounds.emplace_back(scale_and_translate_bounds(bottom_rect)); in GetTopIconsBounds()
/dports/graphics/gimp-app/gimp-2.10.30/app/paint/
H A Dgimpheal.c193 const GeglRectangle *bottom_rect, in gimp_heal_sub() argument
211 gegl_buffer_iterator_add (iter, bottom_buffer, bottom_rect, 0, format, in gimp_heal_sub()
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DBinaryImage.cpp352 QRect bottom_rect(bounded_outer_rect); in fillFrame() local
353 bottom_rect.setTop(bounded_inner_rect.bottom() + 1); in fillFrame()
354 if (bottom_rect.height() != 0) { in fillFrame()
355 fillRectImpl(data, bottom_rect, color); in fillFrame()
/dports/devel/godot/godot-3.2.3-stable/editor/
H A Deditor_inspector.cpp98 Rect2 bottom_rect; in _notification() local
138bottom_rect = Rect2(m, rect.size.height + get_constant("vseparation", "Tree"), size.width - m, bot… in _notification()
174 fit_child_in_rect(bottom_editor, bottom_rect); in _notification()
175 bottom_child_rect = bottom_rect; in _notification()
/dports/devel/godot-tools/godot-3.2.3-stable/editor/
H A Deditor_inspector.cpp98 Rect2 bottom_rect; in _notification() local
138bottom_rect = Rect2(m, rect.size.height + get_constant("vseparation", "Tree"), size.width - m, bot… in _notification()
174 fit_child_in_rect(bottom_editor, bottom_rect); in _notification()
175 bottom_child_rect = bottom_rect; in _notification()
/dports/biology/sra-tools/sra-tools-2.11.0/tools/vdb-config/
H A Dinteractive.cpp171 Tui_Rect bottom_rect( Tui_Rect const &r ) const in bottom_rect() function in vdbconf_view
350 populate_bottom( bottom_rect( r ), resize ); in populate()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtktextview.c3357 GdkRectangle bottom_rect; in gtk_text_view_size_allocate() local
3413 bottom_rect.width = text_rect.width; in gtk_text_view_size_allocate()
3426 bottom_rect.height = text_view->bottom_window->requisition.height; in gtk_text_view_size_allocate()
3428 bottom_rect.height = 0; in gtk_text_view_size_allocate()
3430 height -= bottom_rect.height; in gtk_text_view_size_allocate()
3448 bottom_rect.x = text_rect.x; in gtk_text_view_size_allocate()
3451 bottom_rect.y = text_rect.y + text_rect.height; in gtk_text_view_size_allocate()
3470 &bottom_rect); in gtk_text_view_size_allocate()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtktextview.c4556 GdkRectangle bottom_rect; in gtk_text_view_size_allocate() local
4576 bottom_rect.width = text_rect.width; in gtk_text_view_size_allocate()
4579 bottom_rect.height = priv->border_window_size.bottom; in gtk_text_view_size_allocate()
4580 height = widget_height - top_rect.height - bottom_rect.height; in gtk_text_view_size_allocate()
4596 bottom_rect.x = text_rect.x; in gtk_text_view_size_allocate()
4599 bottom_rect.y = text_rect.y + text_rect.height; in gtk_text_view_size_allocate()
4630 gtk_widget_size_allocate (GTK_WIDGET (priv->bottom_child), &bottom_rect, -1); in gtk_text_view_size_allocate()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtktextview.c4273 GdkRectangle bottom_rect; in gtk_text_view_size_allocate() local
4324 bottom_rect.width = text_rect.width; in gtk_text_view_size_allocate()
4336 bottom_rect.height = priv->bottom_window->requisition.height; in gtk_text_view_size_allocate()
4338 bottom_rect.height = 0; in gtk_text_view_size_allocate()
4340 height -= bottom_rect.height; in gtk_text_view_size_allocate()
4358 bottom_rect.x = text_rect.x; in gtk_text_view_size_allocate()
4361 bottom_rect.y = text_rect.y + text_rect.height; in gtk_text_view_size_allocate()
4380 &bottom_rect); in gtk_text_view_size_allocate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/app_list/views/
H A Dapps_grid_view.cc356 gfx::Rect bottom_rect(0, size.height() - fadeout_mask_height_, size.width(), in OnPaintLayer() local
385 canvas->DrawRect(bottom_rect, flags); in OnPaintLayer()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/
H A DThemeWin32Classic.cs3630 Rectangle bottom_rect = new Rectangle ( in DrawMonthCalendar()
3636 if (mc.ShowToday && bottom_rect.IntersectsWith (clip_rectangle)) in DrawMonthCalendar()
3638 dc.FillRectangle (GetControlBackBrush (mc.BackColor), bottom_rect); in DrawMonthCalendar()