/dports/devel/godot/godot-3.2.3-stable/scene/gui/ |
H A D | split_container.cpp | 65 fit_child_in_rect(first, Rect2(Point2(), get_size())); in _resort() 67 fit_child_in_rect(second, Rect2(Point2(), get_size())); in _resort() 109 fit_child_in_rect(first, Rect2(Point2(0, 0), Size2(get_size().width, middle_sep))); in _resort() 111 …fit_child_in_rect(second, Rect2(Point2(0, sofs), Size2(get_size().width, get_size().height - sofs)… in _resort() 113 fit_child_in_rect(first, Rect2(Point2(0, 0), Size2(middle_sep, get_size().height))); in _resort() 115 …fit_child_in_rect(second, Rect2(Point2(sofs, 0), Size2(get_size().width - sofs, get_size().height)… in _resort()
|
H A D | item_list.h | 70 Rect2 rect_cache; 71 Rect2 min_rect_cache; 140 void set_item_icon_region(int p_idx, const Rect2 &p_region); 141 Rect2 get_item_icon_region(int p_idx) const;
|
H A D | item_list.cpp | 156 ERR_FAIL_INDEX_V(p_idx, items.size(), Rect2()); in get_item_icon_region() 506 Rect2 rc = items[i].rect_cache; in _gui_input() 838 draw_style_box(bg, Rect2(Point2(), size)); in _notification() 998 Rect2 r = items[current].rect_cache; in _notification() 1039 Rect2 rcache = items[i].rect_cache; in _notification() 1052 Rect2 r = rcache; in _notification() 1062 Rect2 r = rcache; in _notification() 1104 Rect2 draw_rect = Rect2(pos, icon_size); in _notification() 1123 …Rect2 region = (items[i].icon_region.size.x == 0 || items[i].icon_region.size.y == 0) ? Rect2(Vect… in _notification() 1211 Rect2 r = rcache; in _notification() [all …]
|
H A D | tabs.h | 71 Rect2 rb_rect; 72 Rect2 cb_rect; 166 Rect2 get_tab_rect(int p_tab) const;
|
H A D | tree.h | 195 void set_icon_region(int p_column, const Rect2 &p_icon_region); 196 Rect2 get_icon_region(int p_column) const; 328 Rect2 pressing_item_rect; 339 Rect2 custom_popup_rect; 476 Rect2 search_item_rect(TreeItem *p_from, TreeItem *p_item); 528 Rect2 _get_item_rect(Object *p_item, int p_column) const { in _get_item_rect() 575 Rect2 get_custom_popup_rect() const; 578 Rect2 get_item_rect(TreeItem *p_item, int p_column = -1) const;
|
/dports/devel/godot/godot-3.2.3-stable/scene/2d/ |
H A D | touch_screen_button.cpp | 272 if (!touched && Rect2(Point2(), bitmask->get_size()).has_point(coord)) { in _is_point_inside() 281 touched = Rect2(Size2(), texture->get_size()).has_point(coord); in _is_point_inside() 329 Rect2 TouchScreenButton::_edit_get_rect() const { in _edit_get_rect() 333 return Rect2(Size2(), texture->get_size()); in _edit_get_rect() 341 Rect2 TouchScreenButton::get_anchorable_rect() const { in get_anchorable_rect() 345 return Rect2(Size2(), texture->get_size()); in get_anchorable_rect()
|
H A D | collision_polygon_2d.cpp | 193 aabb = Rect2(polygon[i], Size2()); in set_polygon() 197 if (aabb == Rect2()) { in set_polygon() 199 aabb = Rect2(-10, -10, 20, 20); in set_polygon() 233 Rect2 CollisionPolygon2D::_edit_get_rect() const { in _edit_get_rect() 322 aabb = Rect2(-10, -10, 20, 20); in CollisionPolygon2D()
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/ |
H A D | split_container.cpp | 65 fit_child_in_rect(first, Rect2(Point2(), get_size())); in _resort() 67 fit_child_in_rect(second, Rect2(Point2(), get_size())); in _resort() 109 fit_child_in_rect(first, Rect2(Point2(0, 0), Size2(get_size().width, middle_sep))); in _resort() 111 …fit_child_in_rect(second, Rect2(Point2(0, sofs), Size2(get_size().width, get_size().height - sofs)… in _resort() 113 fit_child_in_rect(first, Rect2(Point2(0, 0), Size2(middle_sep, get_size().height))); in _resort() 115 …fit_child_in_rect(second, Rect2(Point2(sofs, 0), Size2(get_size().width - sofs, get_size().height)… in _resort()
|
H A D | item_list.h | 70 Rect2 rect_cache; 71 Rect2 min_rect_cache; 140 void set_item_icon_region(int p_idx, const Rect2 &p_region); 141 Rect2 get_item_icon_region(int p_idx) const;
|
H A D | item_list.cpp | 156 ERR_FAIL_INDEX_V(p_idx, items.size(), Rect2()); in get_item_icon_region() 506 Rect2 rc = items[i].rect_cache; in _gui_input() 838 draw_style_box(bg, Rect2(Point2(), size)); in _notification() 998 Rect2 r = items[current].rect_cache; in _notification() 1039 Rect2 rcache = items[i].rect_cache; in _notification() 1052 Rect2 r = rcache; in _notification() 1062 Rect2 r = rcache; in _notification() 1104 Rect2 draw_rect = Rect2(pos, icon_size); in _notification() 1123 …Rect2 region = (items[i].icon_region.size.x == 0 || items[i].icon_region.size.y == 0) ? Rect2(Vect… in _notification() 1211 Rect2 r = rcache; in _notification() [all …]
|
H A D | tabs.h | 71 Rect2 rb_rect; 72 Rect2 cb_rect; 166 Rect2 get_tab_rect(int p_tab) const;
|
H A D | tree.h | 195 void set_icon_region(int p_column, const Rect2 &p_icon_region); 196 Rect2 get_icon_region(int p_column) const; 328 Rect2 pressing_item_rect; 339 Rect2 custom_popup_rect; 476 Rect2 search_item_rect(TreeItem *p_from, TreeItem *p_item); 528 Rect2 _get_item_rect(Object *p_item, int p_column) const { in _get_item_rect() 575 Rect2 get_custom_popup_rect() const; 578 Rect2 get_item_rect(TreeItem *p_item, int p_column = -1) const;
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/2d/ |
H A D | position_2d.cpp | 39 Rect2 Position2D::get_item_rect() const { in get_item_rect() 41 return Rect2(Point2(-10, -10), Size2(20, 20)); in get_item_rect()
|
/dports/devel/godot2/godot-2.1.6-stable/scene/2d/ |
H A D | position_2d.cpp | 39 Rect2 Position2D::get_item_rect() const { in get_item_rect() 41 return Rect2(Point2(-10, -10), Size2(20, 20)); in get_item_rect()
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/2d/ |
H A D | collision_polygon_2d.cpp | 193 aabb = Rect2(polygon[i], Size2()); in set_polygon() 197 if (aabb == Rect2()) { in set_polygon() 199 aabb = Rect2(-10, -10, 20, 20); in set_polygon() 233 Rect2 CollisionPolygon2D::_edit_get_rect() const { in _edit_get_rect() 322 aabb = Rect2(-10, -10, 20, 20); in CollisionPolygon2D()
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/physics_2d/ |
H A D | shape_2d_sw.cpp | 36 void Shape2DSW::configure(const Rect2 &p_aabb) { in configure() 190 configure(Rect2(0, 0, 0.001, length)); in set_data() 250 Rect2 r = p_data; in set_data() 255 Rect2 aabb; in set_data() 267 Rect2 r; in get_data() 392 configure(Rect2(-half_extents, half_extents * 2.0)); in set_data() 530 configure(Rect2(-he, he * 2)); in set_data() 630 Rect2 aabb; in get_moment_of_inertia() 686 Rect2 aabb; in set_data() 869 Rect2 global_aabb = p_bvh[0].aabb; in _generate_bvh() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/servers/physics_2d/ |
H A D | shape_2d_sw.cpp | 34 void Shape2DSW::configure(const Rect2 &p_aabb) { in configure() 186 configure(Rect2(0, 0, 0.001, length)); in set_data() 248 Rect2 r = p_data; in set_data() 253 Rect2 aabb; in set_data() 265 Rect2 r; in get_data() 385 configure(Rect2(-half_extents, half_extents * 2.0)); in set_data() 523 configure(Rect2(-he, he * 2)); in set_data() 621 Rect2 aabb; in get_moment_of_inertia() 677 Rect2 aabb; in set_data() 858 Rect2 global_aabb = p_bvh[0].aabb; in _generate_bvh() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/physics_2d/ |
H A D | shape_2d_sw.cpp | 34 void Shape2DSW::configure(const Rect2 &p_aabb) { in configure() 186 configure(Rect2(0, 0, 0.001, length)); in set_data() 248 Rect2 r = p_data; in set_data() 253 Rect2 aabb; in set_data() 265 Rect2 r; in get_data() 385 configure(Rect2(-half_extents, half_extents * 2.0)); in set_data() 523 configure(Rect2(-he, he * 2)); in set_data() 621 Rect2 aabb; in get_moment_of_inertia() 677 Rect2 aabb; in set_data() 858 Rect2 global_aabb = p_bvh[0].aabb; in _generate_bvh() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/servers/physics_2d/ |
H A D | shape_2d_sw.cpp | 36 void Shape2DSW::configure(const Rect2 &p_aabb) { in configure() 190 configure(Rect2(0, 0, 0.001, length)); in set_data() 250 Rect2 r = p_data; in set_data() 255 Rect2 aabb; in set_data() 267 Rect2 r; in get_data() 392 configure(Rect2(-half_extents, half_extents * 2.0)); in set_data() 530 configure(Rect2(-he, he * 2)); in set_data() 630 Rect2 aabb; in get_moment_of_inertia() 686 Rect2 aabb; in set_data() 869 Rect2 global_aabb = p_bvh[0].aabb; in _generate_bvh() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/core/ |
H A D | image.h | 319 void blit_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); 320 …void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, co… 321 void blend_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); 322 …void blend_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, c… 325 Rect2 get_used_rect() const; 326 Ref<Image> get_rect(const Rect2 &p_area) const;
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/gui/ |
H A D | texture_button.cpp | 121 Rect2 tex_regin = Rect2(Point2(), texdraw->get_size()); in _notification() 165 tex_regin = Rect2(ofs, size / scale); in _notification() 172 draw_texture_rect(texdraw, Rect2(ofs, size), tile, modulate); in _notification() 174 draw_texture_rect_region(texdraw, Rect2(ofs, size), tex_regin, modulate); in _notification() 178 Rect2 drect(Point2(), get_size()); in _notification()
|
/dports/devel/godot2/godot-2.1.6-stable/scene/gui/ |
H A D | texture_button.cpp | 121 Rect2 tex_regin = Rect2(Point2(), texdraw->get_size()); in _notification() 165 tex_regin = Rect2(ofs, size / scale); in _notification() 172 draw_texture_rect(texdraw, Rect2(ofs, size), tile, modulate); in _notification() 174 draw_texture_rect_region(texdraw, Rect2(ofs, size), tex_regin, modulate); in _notification() 178 Rect2 drect(Point2(), get_size()); in _notification()
|
/dports/devel/godot/godot-3.2.3-stable/core/ |
H A D | image.h | 319 void blit_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); 320 …void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, co… 321 void blend_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); 322 …void blend_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, c… 325 Rect2 get_used_rect() const; 326 Ref<Image> get_rect(const Rect2 &p_area) const;
|
/dports/devel/godot-tools/godot-3.2.3-stable/core/math/ |
H A D | rect2.cpp | 33 bool Rect2::is_equal_approx(const Rect2 &p_rect) const { in is_equal_approx() 38 bool Rect2::intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 *r_pos, Point2 *r_n… in intersects_segment() 96 bool Rect2::intersects_transformed(const Transform2D &p_xform, const Rect2 &p_rect) const { in intersects_transformed()
|
/dports/devel/godot/godot-3.2.3-stable/core/math/ |
H A D | rect2.cpp | 33 bool Rect2::is_equal_approx(const Rect2 &p_rect) const { in is_equal_approx() 38 bool Rect2::intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 *r_pos, Point2 *r_n… in intersects_segment() 96 bool Rect2::intersects_transformed(const Transform2D &p_xform, const Rect2 &p_rect) const { in intersects_transformed()
|