godot/editor/plugins/abstract_polygon_2d_editor.cpp

/**************************************************************************/
/*  abstract_polygon_2d_editor.cpp                                        */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#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() {}