/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/ |
H A D | control.h | 230 void _compute_margins(Rect2 p_rect, const float p_anchors[4], float (&r_margins)[4]); 231 void _compute_anchors(Rect2 p_rect, const float p_margins[4], float (&r_anchors)[4]); 292 virtual void _edit_set_rect(const Rect2 &p_edit_rect); 293 virtual Rect2 _edit_get_rect() const; 356 Rect2 get_rect() const; 357 Rect2 get_global_rect() const; 358 Rect2 get_window_rect() const; ///< use with care, as it blocks waiting for the visual server 359 Rect2 get_anchorable_rect() const; 468 Rect2 get_parent_anchorable_rect() const;
|
H A D | popup.cpp | 147 Rect2 rect; in popup_centered() 157 Rect2 rect; in popup_centered_ratio() 165 void Popup::popup(const Rect2 &p_bounds) { in popup() 170 void Popup::_popup(const Rect2 &p_bounds, const bool p_centered) { in _popup() 215 ClassDB::bind_method(D_METHOD("popup", "bounds"), &Popup::popup, DEFVAL(Rect2())); in _bind_methods() 293 get_stylebox("panel")->draw(get_canvas_item(), Rect2(Point2(), get_size())); in _notification()
|
/dports/devel/godot/godot-3.2.3-stable/scene/gui/ |
H A D | control.h | 230 void _compute_margins(Rect2 p_rect, const float p_anchors[4], float (&r_margins)[4]); 231 void _compute_anchors(Rect2 p_rect, const float p_margins[4], float (&r_anchors)[4]); 292 virtual void _edit_set_rect(const Rect2 &p_edit_rect); 293 virtual Rect2 _edit_get_rect() const; 356 Rect2 get_rect() const; 357 Rect2 get_global_rect() const; 358 Rect2 get_window_rect() const; ///< use with care, as it blocks waiting for the visual server 359 Rect2 get_anchorable_rect() const; 468 Rect2 get_parent_anchorable_rect() const;
|
H A D | popup.cpp | 147 Rect2 rect; in popup_centered() 157 Rect2 rect; in popup_centered_ratio() 165 void Popup::popup(const Rect2 &p_bounds) { in popup() 170 void Popup::_popup(const Rect2 &p_bounds, const bool p_centered) { in _popup() 215 ClassDB::bind_method(D_METHOD("popup", "bounds"), &Popup::popup, DEFVAL(Rect2())); in _bind_methods() 293 get_stylebox("panel")->draw(get_canvas_item(), Rect2(Point2(), get_size())); in _notification()
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/3d/ |
H A D | sprite_3d.cpp | 459 Rect2 base_rect; in _draw() 475 Rect2 final_rect; in _draw() 476 Rect2 final_src_rect; in _draw() 723 return Rect2(0, 0, 1, 1); in get_item_rect() 746 return Rect2(ofs, s); in get_item_rect() 832 Rect2 src_rect; in _draw() 840 Rect2 dst_rect(ofs, s); in _draw() 842 Rect2 final_rect; in _draw() 843 Rect2 final_src_rect; in _draw() 1132 return Rect2(0, 0, 1, 1); in get_item_rect() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/scene/3d/ |
H A D | sprite_3d.cpp | 459 Rect2 base_rect; in _draw() 475 Rect2 final_rect; in _draw() 476 Rect2 final_src_rect; in _draw() 723 return Rect2(0, 0, 1, 1); in get_item_rect() 746 return Rect2(ofs, s); in get_item_rect() 832 Rect2 src_rect; in _draw() 840 Rect2 dst_rect(ofs, s); in _draw() 842 Rect2 final_rect; in _draw() 843 Rect2 final_src_rect; in _draw() 1132 return Rect2(0, 0, 1, 1); in get_item_rect() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/2d/ |
H A D | light_occluder_2d.h | 53 mutable Rect2 item_rect; 61 virtual Rect2 _edit_get_rect() const; 97 virtual Rect2 _edit_get_rect() const;
|
/dports/devel/godot/godot-3.2.3-stable/scene/2d/ |
H A D | light_occluder_2d.h | 53 mutable Rect2 item_rect; 61 virtual Rect2 _edit_get_rect() const; 97 virtual Rect2 _edit_get_rect() const;
|
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles2/ |
H A D | rasterizer_canvas_base_gles2.cpp | 150 void RasterizerCanvasBaseGLES2::draw_generic_textured_rect(const Rect2 &p_rect, const Rect2 &p_src)… in draw_generic_textured_rect() 253 draw_generic_textured_rect(Rect2(0, 0, black_margin[MARGIN_LEFT], window_h), in draw_window_margins() 259 draw_generic_textured_rect(Rect2(0, 0, black_margin[MARGIN_LEFT], window_h), Rect2(0, 0, 1, 1)); in draw_window_margins() 271 …draw_generic_textured_rect(Rect2(window_w - black_margin[MARGIN_RIGHT], 0, black_margin[MARGIN_RIG… in draw_window_margins() 278 draw_generic_textured_rect(Rect2(0, 0, window_w, black_margin[MARGIN_TOP]), in draw_window_margins() 279 Rect2(0, 0, (float)window_w / sz.x, (float)black_margin[MARGIN_TOP] / sz.y)); in draw_window_margins() 285 draw_generic_textured_rect(Rect2(0, 0, window_w, black_margin[MARGIN_TOP]), Rect2(0, 0, 1, 1)); in draw_window_margins() 301 …draw_generic_textured_rect(Rect2(0, window_h - black_margin[MARGIN_BOTTOM], window_w, black_margin… in draw_window_margins() 402 void RasterizerCanvasBaseGLES2::_copy_texscreen(const Rect2 &p_rect) { in _copy_texscreen() 664 void RasterizerCanvasBaseGLES2::_copy_screen(const Rect2 &p_rect) { in _copy_screen() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/drivers/gles2/ |
H A D | rasterizer_canvas_base_gles2.cpp | 150 void RasterizerCanvasBaseGLES2::draw_generic_textured_rect(const Rect2 &p_rect, const Rect2 &p_src)… in draw_generic_textured_rect() 253 draw_generic_textured_rect(Rect2(0, 0, black_margin[MARGIN_LEFT], window_h), in draw_window_margins() 259 draw_generic_textured_rect(Rect2(0, 0, black_margin[MARGIN_LEFT], window_h), Rect2(0, 0, 1, 1)); in draw_window_margins() 271 …draw_generic_textured_rect(Rect2(window_w - black_margin[MARGIN_RIGHT], 0, black_margin[MARGIN_RIG… in draw_window_margins() 278 draw_generic_textured_rect(Rect2(0, 0, window_w, black_margin[MARGIN_TOP]), in draw_window_margins() 279 Rect2(0, 0, (float)window_w / sz.x, (float)black_margin[MARGIN_TOP] / sz.y)); in draw_window_margins() 285 draw_generic_textured_rect(Rect2(0, 0, window_w, black_margin[MARGIN_TOP]), Rect2(0, 0, 1, 1)); in draw_window_margins() 301 …draw_generic_textured_rect(Rect2(0, window_h - black_margin[MARGIN_BOTTOM], window_w, black_margin… in draw_window_margins() 402 void RasterizerCanvasBaseGLES2::_copy_texscreen(const Rect2 &p_rect) { in _copy_texscreen() 664 void RasterizerCanvasBaseGLES2::_copy_screen(const Rect2 &p_rect) { in _copy_screen() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 116 Rect2 r = E->get(); in _region_draw() 273 Rect2 r; in _region_input() 330 rect = Rect2(drag_from, Size2()); in _region_input() 432 rect = Rect2(drag_from, Size2()); in _region_input() 442 rect = Rect2(p, Size2()); in _region_input() 448 rect = Rect2(p, Size2(rect_prev.size.x, 0)); in _region_input() 454 rect = Rect2(p, Size2()); in _region_input() 466 rect = Rect2(p, Size2()); in _region_input() 478 rect = Rect2(p, Size2()); in _region_input() 690 Rect2 grown = E->get().grow(1.5); in _edit_region() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 116 Rect2 r = E->get(); in _region_draw() 273 Rect2 r; in _region_input() 330 rect = Rect2(drag_from, Size2()); in _region_input() 432 rect = Rect2(drag_from, Size2()); in _region_input() 442 rect = Rect2(p, Size2()); in _region_input() 448 rect = Rect2(p, Size2(rect_prev.size.x, 0)); in _region_input() 454 rect = Rect2(p, Size2()); in _region_input() 466 rect = Rect2(p, Size2()); in _region_input() 478 rect = Rect2(p, Size2()); in _region_input() 690 Rect2 grown = E->get().grow(1.5); in _edit_region() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 123 Rect2 r = E->get(); in _region_draw() 311 Rect2 r; in _region_input() 377 rect = Rect2(drag_from, Size2()); in _region_input() 488 rect = Rect2(drag_from, Size2()); in _region_input() 498 rect = Rect2(p, Size2()); in _region_input() 510 rect = Rect2(p, Size2()); in _region_input() 522 rect = Rect2(p, Size2()); in _region_input() 534 rect = Rect2(p, Size2()); in _region_input() 662 if (rect == Rect2()) { in _update_rect() 696 Rect2 grown = E->get().grow(1.5); in _update_autoslice() [all …]
|
H A D | tile_set_editor_plugin.cpp | 1165 Rect2 region = tileset->tile_get_region(t_id); in _on_workspace_overlay_draw() 1254 Rect2 current_tile_region = Rect2(); in _on_workspace_input() 1271 Rect2 r = tileset->tile_get_region(t_id); in _on_workspace_input() 1308 edited_region = Rect2(); in _on_workspace_input() 1338 edited_region = Rect2(); in _on_workspace_input() 1376 edited_region = Rect2(); in _on_workspace_input() 1388 edited_region = Rect2(); in _on_workspace_input() 2447 Rect2 region; in draw_highlight_current_tile() 2531 Rect2 region = edited_region; in draw_edited_region_subdivision() 3097 Rect2 region(anchor, tile_size); in snap_point() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 123 Rect2 r = E->get(); in _region_draw() 311 Rect2 r; in _region_input() 377 rect = Rect2(drag_from, Size2()); in _region_input() 488 rect = Rect2(drag_from, Size2()); in _region_input() 498 rect = Rect2(p, Size2()); in _region_input() 510 rect = Rect2(p, Size2()); in _region_input() 522 rect = Rect2(p, Size2()); in _region_input() 534 rect = Rect2(p, Size2()); in _region_input() 662 if (rect == Rect2()) { in _update_rect() 696 Rect2 grown = E->get().grow(1.5); in _update_autoslice() [all …]
|
H A D | tile_set_editor_plugin.cpp | 1165 Rect2 region = tileset->tile_get_region(t_id); in _on_workspace_overlay_draw() 1254 Rect2 current_tile_region = Rect2(); in _on_workspace_input() 1271 Rect2 r = tileset->tile_get_region(t_id); in _on_workspace_input() 1308 edited_region = Rect2(); in _on_workspace_input() 1338 edited_region = Rect2(); in _on_workspace_input() 1376 edited_region = Rect2(); in _on_workspace_input() 1388 edited_region = Rect2(); in _on_workspace_input() 2447 Rect2 region; in draw_highlight_current_tile() 2531 Rect2 region = edited_region; in draw_edited_region_subdivision() 3097 Rect2 region(anchor, tile_size); in snap_point() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/servers/physics_2d/ |
H A D | broad_phase_2d_hash_grid.cpp | 99 void BroadPhase2DHashGrid::_enter_grid(Element *p_elem, const Rect2 &p_rect, bool p_static) { in _enter_grid() 200 void BroadPhase2DHashGrid::_exit_grid(Element *p_elem, const Rect2 &p_rect, bool p_static) { in _exit_grid() 334 void BroadPhase2DHashGrid::move(ID p_id, const Rect2 &p_aabb) { in move() 344 if (p_aabb != Rect2()) { in move() 349 if (e.aabb != Rect2()) { in move() 370 if (e.aabb != Rect2()) in set_static() 375 if (e.aabb != Rect2()) { in set_static() 387 if (e.aabb != Rect2()) in remove() 511 …_cull<false, true>(pos, Rect2(), p_from, p_to, p_results, p_max_results, p_result_indices, cullcou… in cull_segment() 544 …_cull<false, true>(pos, Rect2(), p_from, p_to, p_results, p_max_results, p_result_indices, cullcou… in cull_segment() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/physics_2d/ |
H A D | broad_phase_2d_hash_grid.cpp | 99 void BroadPhase2DHashGrid::_enter_grid(Element *p_elem, const Rect2 &p_rect, bool p_static) { in _enter_grid() 200 void BroadPhase2DHashGrid::_exit_grid(Element *p_elem, const Rect2 &p_rect, bool p_static) { in _exit_grid() 334 void BroadPhase2DHashGrid::move(ID p_id, const Rect2 &p_aabb) { in move() 344 if (p_aabb != Rect2()) { in move() 349 if (e.aabb != Rect2()) { in move() 370 if (e.aabb != Rect2()) in set_static() 375 if (e.aabb != Rect2()) { in set_static() 387 if (e.aabb != Rect2()) in remove() 511 …_cull<false, true>(pos, Rect2(), p_from, p_to, p_results, p_max_results, p_result_indices, cullcou… in cull_segment() 544 …_cull<false, true>(pos, Rect2(), p_from, p_to, p_results, p_max_results, p_result_indices, cullcou… in cull_segment() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/resources/ |
H A D | concave_polygon_shape_2d.cpp | 59 Rect2 ConcavePolygonShape2D::get_rect() const { in get_rect() 64 return Rect2(); in get_rect() 66 Rect2 rect; in get_rect()
|
/dports/devel/godot2/godot-2.1.6-stable/scene/resources/ |
H A D | concave_polygon_shape_2d.cpp | 59 Rect2 ConcavePolygonShape2D::get_rect() const { in get_rect() 64 return Rect2(); in get_rect() 66 Rect2 rect; in get_rect()
|
/dports/devel/godot/godot-3.2.3-stable/drivers/gles3/ |
H A D | rasterizer_canvas_gles3.h | 139 _FORCE_INLINE_ void _copy_texscreen(const Rect2 &p_rect); 148 void draw_generic_textured_rect(const Rect2 &p_rect, const Rect2 &p_src); 149 …void draw_lens_distortion_rect(const Rect2 &p_rect, float p_k1, float p_k2, const Vector2 &p_eye_c…
|
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles3/ |
H A D | rasterizer_canvas_gles3.h | 139 _FORCE_INLINE_ void _copy_texscreen(const Rect2 &p_rect); 148 void draw_generic_textured_rect(const Rect2 &p_rect, const Rect2 &p_src); 149 …void draw_lens_distortion_rect(const Rect2 &p_rect, float p_k1, float p_k2, const Vector2 &p_eye_c…
|
/dports/devel/godot-tools/godot-demo-projects-8d9d58f112d8/2d/gd_paint/ |
H A D | paint_root.tscn | 58 region_rect = Rect2( 0, 0, 16, 16 ) 71 region_rect = Rect2( 16, 0, 16, 16 ) 84 region_rect = Rect2( 0, 16, 16, 16 ) 97 region_rect = Rect2( 16, 16, 16, 16 ) 154 region_rect = Rect2( 0, 16, 16, 16 ) 167 region_rect = Rect2( 16, 16, 16, 16 )
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/gui/ |
H A D | tree.h | 175 void set_icon_region(int p_column, const Rect2 &p_icon_region); 176 Rect2 get_icon_region(int p_column) const; 285 Rect2 pressing_item_rect; 294 Rect2 custom_popup_rect; 421 Rect2 search_item_rect(TreeItem *p_from, TreeItem *p_item); 463 …Rect2 _get_item_rect(Object *p_item, int p_column) const { return get_item_rect(p_item->cast_to<Tr… in _get_item_rect() 503 Rect2 get_custom_popup_rect() const; 506 Rect2 get_item_rect(TreeItem *p_item, int p_column = -1) const;
|
/dports/devel/godot2/godot-2.1.6-stable/scene/gui/ |
H A D | tree.h | 175 void set_icon_region(int p_column, const Rect2 &p_icon_region); 176 Rect2 get_icon_region(int p_column) const; 285 Rect2 pressing_item_rect; 294 Rect2 custom_popup_rect; 421 Rect2 search_item_rect(TreeItem *p_from, TreeItem *p_item); 463 …Rect2 _get_item_rect(Object *p_item, int p_column) const { return get_item_rect(p_item->cast_to<Tr… in _get_item_rect() 503 Rect2 get_custom_popup_rect() const; 506 Rect2 get_item_rect(TreeItem *p_item, int p_column = -1) const;
|