Home
last modified time | relevance | path

Searched refs:other_rect (Results 1 – 25 of 31) sorted by relevance

12

/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/util/
H A Dutil.cpp73 rect.setLeft(other_rect.left()); in rectInclude()
75 rect.setRight(other_rect.right()); in rectInclude()
77 if (other_rect.top() < rect.top()) in rectInclude()
78 rect.setTop(other_rect.top()); in rectInclude()
85 if (other_rect.isValid()) in rectIncludeSafe()
88 rectInclude(rect, other_rect); in rectIncludeSafe()
90 rect = other_rect; in rectIncludeSafe()
96 if (other_rect.isValid()) in rectIncludeSafe()
101 rect.setLeft(other_rect.left()); in rectIncludeSafe()
106 rect.setTop(other_rect.top()); in rectIncludeSafe()
[all …]
H A Dutil.h124 void rectInclude(QRectF& rect, const QRectF& other_rect);
131 void rectIncludeSafe(QRectF& rect, const QRectF& other_rect);
140 void rectIncludeSafe(QRect& rect, const QRect& other_rect);
/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/
H A Drectangle_2d.h44 bool IntersectsWith(const Rectangle2D& other_rect) const in IntersectsWith() argument
46 return !(left > other_rect.right || in IntersectsWith()
47 right < other_rect.left || in IntersectsWith()
48 top > other_rect.bottom || in IntersectsWith()
49 bottom < other_rect.top); in IntersectsWith()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/
H A Dclip_rect.h70 bool operator!=(const PhysicalRect& other_rect) const {
71 return Rect() != other_rect;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/
H A Dclip_rect.h70 bool operator!=(const PhysicalRect& other_rect) const {
71 return Rect() != other_rect;
/dports/devel/godot/godot-3.2.3-stable/scene/gui/
H A Dscroll_container.cpp244 Rect2 other_rect = p_control->get_global_rect(); in _ensure_focused_visible() local
254 …float diff = MAX(MIN(other_rect.position.y, global_rect.position.y), other_rect.position.y + other… in _ensure_focused_visible()
256 …diff = MAX(MIN(other_rect.position.x, global_rect.position.x), other_rect.position.x + other_rect.… in _ensure_focused_visible()
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/
H A Dscroll_container.cpp244 Rect2 other_rect = p_control->get_global_rect(); in _ensure_focused_visible() local
254 …float diff = MAX(MIN(other_rect.position.y, global_rect.position.y), other_rect.position.y + other… in _ensure_focused_visible()
256 …diff = MAX(MIN(other_rect.position.x, global_rect.position.x), other_rect.position.x + other_rect.… in _ensure_focused_visible()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/
H A Dborder_unittest.cc50 SkRect other_rect = other.rrect.rect(); in operator <() local
52 std::tie(other_rect.fLeft, other_rect.fTop, other_rect.fRight, in operator <()
53 other_rect.fBottom); in operator <()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/
H A Dborder_unittest.cc50 SkRect other_rect = other.rrect.rect(); in operator <() local
52 std::tie(other_rect.fLeft, other_rect.fTop, other_rect.fRight, in operator <()
53 other_rect.fBottom); in operator <()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcrt/include/
H A Dfx_coordinates.h158 void Union(const FX_RECT& other_rect);
173 FX_BOOL Contains(const FX_RECT& other_rect) const { in Contains()
174 return other_rect.left >= left && other_rect.right <= right && in Contains()
175 other_rect.top >= top && other_rect.bottom <= bottom; in Contains()
224 bool Contains(const CFX_FloatRect& other_rect) const;
228 void Intersect(const CFX_FloatRect& other_rect);
229 void Union(const CFX_FloatRect& other_rect);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcrt/
H A Dfx_coordinates.cpp107 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect() argument
109 CFX_FloatRect other = other_rect; in Intersect()
119 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union() argument
121 CFX_FloatRect other = other_rect; in Union()
175 bool CFX_FloatRect::Contains(const CFX_FloatRect& other_rect) const { in Contains()
177 CFX_FloatRect n2(other_rect); in Contains()
H A Dfx_coordinates.h243 bool Contains(const CFX_FloatRect& other_rect) const;
245 void Intersect(const CFX_FloatRect& other_rect);
246 void Union(const CFX_FloatRect& other_rect);
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcrt/
H A Dfx_basic_coords.cpp96 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect() argument
98 CFX_FloatRect other = other_rect; in Intersect()
108 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union() argument
110 CFX_FloatRect other = other_rect; in Union()
199 bool CFX_FloatRect::Contains(const CFX_FloatRect& other_rect) const { in Contains()
201 CFX_FloatRect n2(other_rect); in Contains()
H A Dfx_coordinates.h477 bool Contains(const CFX_FloatRect& other_rect) const;
479 void Intersect(const CFX_FloatRect& other_rect);
480 void Union(const CFX_FloatRect& other_rect);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcrt/
H A Dfx_coordinates.cpp115 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect() argument
117 CFX_FloatRect other = other_rect; in Intersect()
127 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union() argument
129 CFX_FloatRect other = other_rect; in Union()
183 bool CFX_FloatRect::Contains(const CFX_FloatRect& other_rect) const { in Contains()
185 CFX_FloatRect n2(other_rect); in Contains()
H A Dfx_coordinates.h237 bool Contains(const CFX_FloatRect& other_rect) const;
239 void Intersect(const CFX_FloatRect& other_rect);
240 void Union(const CFX_FloatRect& other_rect);
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcrt/
H A Dfx_basic_coords.cpp36 void FX_RECT::Union(const FX_RECT& other_rect) { in Union() argument
38 FX_RECT other = other_rect; in Union()
87 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect() argument
89 CFX_FloatRect other = other_rect; in Intersect()
99 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union() argument
101 CFX_FloatRect other = other_rect; in Union()
191 bool CFX_FloatRect::Contains(const CFX_FloatRect& other_rect) const { in Contains()
193 CFX_FloatRect n2(other_rect); in Contains()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/map/map_objects/
H A Dmap_object.cpp259 Rectangle2D other_rect = other_object->GetGridCollisionRectangle(); in IsCollidingWith() local
260 if (!GetGridCollisionRectangle().IntersectsWith(other_rect)) in IsCollidingWith()
/dports/x11-wm/mutter/mutter-41.1/src/core/
H A Dplace.c379 MetaRectangle other_rect; in rectangle_overlaps_some_window() local
402 meta_window_get_frame_rect (other, &other_rect); in rectangle_overlaps_some_window()
404 if (meta_rectangle_intersect (rect, &other_rect, &dest)) in rectangle_overlaps_some_window()
/dports/x11-wm/marco/marco-1.26.0/src/core/
H A Dplace.c429 MetaRectangle other_rect; in rectangle_overlaps_some_window() local
444 meta_window_get_outer_rect (other, &other_rect); in rectangle_overlaps_some_window()
446 if (meta_rectangle_intersect (rect, &other_rect, &dest)) in rectangle_overlaps_some_window()
/dports/x11-wm/muffin/muffin-4.8.0/src/core/
H A Dplace.c456 MetaRectangle other_rect; in rectangle_overlaps_some_window() local
479 meta_window_get_outer_rect (other, &other_rect); in rectangle_overlaps_some_window()
481 if (meta_rectangle_intersect (rect, &other_rect, &dest)) in rectangle_overlaps_some_window()
/dports/games/frogatto/frogatto-1.3.1/src/
H A Dcollision_utils.cpp205 const rect& other_rect = other.solid_rect(); in entity_collides_with_entity() local
207 if(!rects_intersect(our_rect, other_rect)) { in entity_collides_with_entity()
215 const rect area = intersection_rect(our_rect, other_rect); in entity_collides_with_entity()
/dports/x11-wm/metacity/metacity-3.42.0/src/core/
H A Dplace.c388 MetaRectangle other_rect; in rectangle_overlaps_some_window() local
410 meta_window_get_outer_rect (other, &other_rect); in rectangle_overlaps_some_window()
412 if (meta_rectangle_intersect (rect, &other_rect, &dest)) in rectangle_overlaps_some_window()
/dports/graphics/rapid-photo-downloader/rapid-photo-downloader-0.9.26/raphodo/
H A Ddevicedisplay.py849 other_rect = QRect(other_x, details_y, other_width, self.details_height)
852 painter.drawText(other_rect, Qt.AlignLeft|Qt.AlignTop, d.comp3_text)
853 painter.drawText(other_rect, Qt.AlignLeft|Qt.AlignBottom, d.comp3_size_text)
/dports/sysutils/mate-control-center/mate-control-center-1.26.0/capplets/display/
H A Dxrandr-capplet.c1432 GdkRectangle other_rect; in output_overlaps() local
1434 get_output_rect (outputs[i], &other_rect); in output_overlaps()
1435 if (gdk_rectangle_intersect (&output_rect, &other_rect, NULL)) in output_overlaps()

12