Home
last modified time | relevance | path

Searched refs:top_rect (Results 1 – 18 of 18) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/accessibility/
H A Daccessibility_focus_ring_group.cc265 gfx::Rect top_rect = rects[0]; in SplitIntoParagraphShape() local
266 int top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
270 top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
295 int middle_top = (top_rect.y() + top_rect.bottom() * 2) / 3; in SplitIntoParagraphShape()
297 top_rect.set_height(middle_top - top_rect.y()); in SplitIntoParagraphShape()
303 int middle_top = (top_rect.y() * 2 + top_rect.bottom()) / 3; in SplitIntoParagraphShape()
304 int middle_bottom = (top_rect.y() + top_rect.bottom() * 2) / 3; in SplitIntoParagraphShape()
305 middle_rect = gfx::Rect(top_rect.x(), middle_top, top_rect.width(), in SplitIntoParagraphShape()
307 bottom_rect = gfx::Rect(top_rect.x(), middle_bottom, top_rect.width(), in SplitIntoParagraphShape()
309 top_rect.set_height(middle_top - top_rect.y()); in SplitIntoParagraphShape()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/graphics/accessibility/
H A Daccessibility_focus_ring_controller.cc321 gfx::Rect top_rect = rects[0]; in SplitIntoParagraphShape() local
322 int top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
326 top_middle = (top_rect.y() + top_rect.bottom()) / 2; in SplitIntoParagraphShape()
351 int middle_top = (top_rect.y() + top_rect.bottom() * 2) / 3; in SplitIntoParagraphShape()
353 top_rect.set_height(middle_top - top_rect.y()); in SplitIntoParagraphShape()
359 int middle_top = (top_rect.y() * 2 + top_rect.bottom()) / 3; in SplitIntoParagraphShape()
360 int middle_bottom = (top_rect.y() + top_rect.bottom() * 2) / 3; in SplitIntoParagraphShape()
361 middle_rect = gfx::Rect(top_rect.x(), middle_top, top_rect.width(), in SplitIntoParagraphShape()
363 bottom_rect = gfx::Rect(top_rect.x(), middle_bottom, top_rect.width(), in SplitIntoParagraphShape()
365 top_rect.set_height(middle_top - top_rect.y()); in SplitIntoParagraphShape()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/image_transforms/
H A Dintegral_image.h170 rectangle top_rect; in haar_y() local
171 top_rect.set_left ( p.x() - width / 2 ); in haar_y()
172 top_rect.set_top ( p.y() - width / 2 ); in haar_y()
173 top_rect.set_right ( top_rect.left() + width - 1 ); in haar_y()
174 top_rect.set_bottom ( p.y()-1 ); in haar_y()
177 bottom_rect.set_left ( top_rect.left() ); 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.h170 rectangle top_rect; in haar_y() local
171 top_rect.set_left ( p.x() - width / 2 ); in haar_y()
172 top_rect.set_top ( p.y() - width / 2 ); in haar_y()
173 top_rect.set_right ( top_rect.left() + width - 1 ); in haar_y()
174 top_rect.set_bottom ( p.y()-1 ); in haar_y()
177 bottom_rect.set_left ( top_rect.left() ); 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/ui/display/win/
H A Dscaling_util.cc232 gfx::Rect top_rect(CoordinateRotateRect(ref, 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.cc235 gfx::Rect top_rect(CoordinateRotateRect(ref, 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/games/supertux2/SuperTux-v0.6.3-Source/src/video/sdl/
H A Dsdl_painter.cpp424 SDL_Rect& top_rect = rects[2*slices+0]; in draw_inverse_ellipse() local
427 top_rect.x = 0; in draw_inverse_ellipse()
428 top_rect.y = 0; in draw_inverse_ellipse()
429 top_rect.w = viewport.get_screen_width(); in draw_inverse_ellipse()
430 top_rect.h = top; in draw_inverse_ellipse()
/dports/graphics/gimp-app/gimp-2.10.30/app/paint/
H A Dgimpheal.c191 const GeglRectangle *top_rect, in gimp_heal_sub() argument
208 iter = gegl_buffer_iterator_new (top_buffer, top_rect, 0, format, in gimp_heal_sub()
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DBinaryImage.cpp332 QRect top_rect(bounded_outer_rect); in fillFrame() local
333 top_rect.setBottom(bounded_inner_rect.top() - 1); in fillFrame()
334 if (top_rect.height() != 0) { in fillFrame()
335 fillRectImpl(data, top_rect, color); in fillFrame()
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/ribbon/
H A Dart_msw.cpp2310 wxRect top_rect(preview); in DrawMinimisedPanel() local
2311 top_rect.x += 1; in DrawMinimisedPanel()
2312 top_rect.y += 1; in DrawMinimisedPanel()
2313 top_rect.width -= 2; in DrawMinimisedPanel()
2314 top_rect.height = mid_pos; in DrawMinimisedPanel()
2315 dc.GradientFillLinear(top_rect, in DrawMinimisedPanel()
2319 wxRect btm_rect(top_rect); in DrawMinimisedPanel()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/ribbon/
H A Dart_msw.cpp2179 wxRect top_rect(preview); in DrawMinimisedPanel() local
2180 top_rect.x += 1; in DrawMinimisedPanel()
2181 top_rect.y += 1; in DrawMinimisedPanel()
2182 top_rect.width -= 2; in DrawMinimisedPanel()
2183 top_rect.height = mid_pos; in DrawMinimisedPanel()
2184 dc.GradientFillLinear(top_rect, in DrawMinimisedPanel()
2188 wxRect btm_rect(top_rect); in DrawMinimisedPanel()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/ribbon/
H A Dart_msw.cpp2179 wxRect top_rect(preview); in DrawMinimisedPanel() local
2180 top_rect.x += 1; in DrawMinimisedPanel()
2181 top_rect.y += 1; in DrawMinimisedPanel()
2182 top_rect.width -= 2; in DrawMinimisedPanel()
2183 top_rect.height = mid_pos; in DrawMinimisedPanel()
2184 dc.GradientFillLinear(top_rect, in DrawMinimisedPanel()
2188 wxRect btm_rect(top_rect); in DrawMinimisedPanel()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/agw/ribbon/
H A Dart_msw.py1804 top_rect = wx.Rect(*preview)
1805 top_rect.x += 1
1806 top_rect.y += 1
1807 top_rect.width -= 2
1808 top_rect.height = mid_pos
1809 dc.GradientFillLinear(top_rect, self._page_hover_background_top_colour,
1812 btm_rect = wx.Rect(*top_rect)
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtktextview.c3356 GdkRectangle top_rect; in gtk_text_view_size_allocate() local
3412 top_rect.width = text_rect.width; in gtk_text_view_size_allocate()
3419 top_rect.height = text_view->top_window->requisition.height; in gtk_text_view_size_allocate()
3421 top_rect.height = 0; in gtk_text_view_size_allocate()
3423 height -= top_rect.height; in gtk_text_view_size_allocate()
3439 top_rect.y = focus_edge_width + GTK_CONTAINER (text_view)->border_width; in gtk_text_view_size_allocate()
3442 text_rect.y = top_rect.y + top_rect.height; in gtk_text_view_size_allocate()
3447 top_rect.x = text_rect.x; in gtk_text_view_size_allocate()
3466 &top_rect); in gtk_text_view_size_allocate()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtktextview.c4555 GdkRectangle top_rect; in gtk_text_view_size_allocate() local
4575 top_rect.width = text_rect.width; in gtk_text_view_size_allocate()
4578 top_rect.height = priv->border_window_size.top; in gtk_text_view_size_allocate()
4580 height = widget_height - top_rect.height - bottom_rect.height; in gtk_text_view_size_allocate()
4587 top_rect.y = 0; in gtk_text_view_size_allocate()
4590 text_rect.y = top_rect.y + top_rect.height; in gtk_text_view_size_allocate()
4595 top_rect.x = text_rect.x; in gtk_text_view_size_allocate()
4624 gtk_widget_size_allocate (GTK_WIDGET (priv->top_child), &top_rect, -1); in gtk_text_view_size_allocate()
/dports/games/frogatto/frogatto-1.3.1/src/
H A Dlevel_runner.cpp208 SDL_Rect top_rect = {0, 0, graphics::screen_width(), center_rect.y}; in iris_scene() local
209 graphics::draw_rect(top_rect, graphics::color_black()); in iris_scene()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtktextview.c4272 GdkRectangle top_rect; in gtk_text_view_size_allocate() local
4323 top_rect.width = text_rect.width; in gtk_text_view_size_allocate()
4329 top_rect.height = priv->top_window->requisition.height; in gtk_text_view_size_allocate()
4331 top_rect.height = 0; in gtk_text_view_size_allocate()
4333 height -= top_rect.height; in gtk_text_view_size_allocate()
4349 top_rect.y = border_width; in gtk_text_view_size_allocate()
4352 text_rect.y = top_rect.y + top_rect.height; in gtk_text_view_size_allocate()
4357 top_rect.x = text_rect.x; in gtk_text_view_size_allocate()
4376 &top_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.cc355 gfx::Rect top_rect(0, 0, size.width(), fadeout_mask_height_); in OnPaintLayer() local
380 canvas->DrawRect(top_rect, flags); in OnPaintLayer()