#include "abstract_polygon_2d_editor.h"
#include "canvas_item_editor_plugin.h"
#include "core/math/geometry_2d.h"
#include "core/os/keyboard.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/button.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/separator.h"
bool AbstractPolygon2DEditor::Vertex::operator==(const AbstractPolygon2DEditor::Vertex &p_vertex) const { … }
bool AbstractPolygon2DEditor::Vertex::operator!=(const AbstractPolygon2DEditor::Vertex &p_vertex) const { … }
bool AbstractPolygon2DEditor::Vertex::valid() const { … }
bool AbstractPolygon2DEditor::_is_empty() const { … }
bool AbstractPolygon2DEditor::_is_line() const { … }
bool AbstractPolygon2DEditor::_has_uv() const { … }
int AbstractPolygon2DEditor::_get_polygon_count() const { … }
Variant AbstractPolygon2DEditor::_get_polygon(int p_idx) const { … }
void AbstractPolygon2DEditor::_set_polygon(int p_idx, const Variant &p_polygon) const { … }
void AbstractPolygon2DEditor::_action_set_polygon(int p_idx, const Variant &p_previous, const Variant &p_polygon) { … }
Vector2 AbstractPolygon2DEditor::_get_offset(int p_idx) const { … }
void AbstractPolygon2DEditor::_commit_action() { … }
void AbstractPolygon2DEditor::_action_add_polygon(const Variant &p_polygon) { … }
void AbstractPolygon2DEditor::_action_remove_polygon(int p_idx) { … }
void AbstractPolygon2DEditor::_action_set_polygon(int p_idx, const Variant &p_polygon) { … }
bool AbstractPolygon2DEditor::_has_resource() const { … }
void AbstractPolygon2DEditor::_create_resource() { … }
void AbstractPolygon2DEditor::_menu_option(int p_option) { … }
void AbstractPolygon2DEditor::_notification(int p_what) { … }
void AbstractPolygon2DEditor::_node_removed(Node *p_node) { … }
void AbstractPolygon2DEditor::_wip_changed() { … }
void AbstractPolygon2DEditor::_wip_cancel() { … }
void AbstractPolygon2DEditor::_wip_close() { … }
void AbstractPolygon2DEditor::disable_polygon_editing(bool p_disable, const String &p_reason) { … }
bool AbstractPolygon2DEditor::forward_gui_input(const Ref<InputEvent> &p_event) { … }
void AbstractPolygon2DEditor::forward_canvas_draw_over_viewport(Control *p_overlay) { … }
void AbstractPolygon2DEditor::edit(Node *p_polygon) { … }
void AbstractPolygon2DEditor::remove_point(const Vertex &p_vertex) { … }
AbstractPolygon2DEditor::Vertex AbstractPolygon2DEditor::get_active_point() const { … }
AbstractPolygon2DEditor::PosVertex AbstractPolygon2DEditor::closest_point(const Vector2 &p_pos) const { … }
AbstractPolygon2DEditor::PosVertex AbstractPolygon2DEditor::closest_edge_point(const Vector2 &p_pos) const { … }
AbstractPolygon2DEditor::AbstractPolygon2DEditor(bool p_wip_destructive) { … }
void AbstractPolygon2DEditorPlugin::edit(Object *p_object) { … }
bool AbstractPolygon2DEditorPlugin::handles(Object *p_object) const { … }
void AbstractPolygon2DEditorPlugin::make_visible(bool p_visible) { … }
AbstractPolygon2DEditorPlugin::AbstractPolygon2DEditorPlugin(AbstractPolygon2DEditor *p_polygon_editor, const String &p_class) : … { … }
AbstractPolygon2DEditorPlugin::~AbstractPolygon2DEditorPlugin() { … }