godot/scene/resources/text_paragraph.cpp

/**************************************************************************/
/*  text_paragraph.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 "scene/resources/text_paragraph.h"

void TextParagraph::_bind_methods() {}

void TextParagraph::_shape_lines() {}

RID TextParagraph::get_rid() const {}

RID TextParagraph::get_line_rid(int p_line) const {}

RID TextParagraph::get_dropcap_rid() const {}

void TextParagraph::clear() {}

void TextParagraph::set_preserve_invalid(bool p_enabled) {}

bool TextParagraph::get_preserve_invalid() const {}

void TextParagraph::set_preserve_control(bool p_enabled) {}

bool TextParagraph::get_preserve_control() const {}

void TextParagraph::set_direction(TextServer::Direction p_direction) {}

TextServer::Direction TextParagraph::get_direction() const {}

void TextParagraph::set_custom_punctuation(const String &p_punct) {}

String TextParagraph::get_custom_punctuation() const {}

void TextParagraph::set_orientation(TextServer::Orientation p_orientation) {}

TextServer::Orientation TextParagraph::get_orientation() const {}

bool TextParagraph::set_dropcap(const String &p_text, const Ref<Font> &p_font, int p_font_size, const Rect2 &p_dropcap_margins, const String &p_language) {}

void TextParagraph::clear_dropcap() {}

bool TextParagraph::add_string(const String &p_text, const Ref<Font> &p_font, int p_font_size, const String &p_language, const Variant &p_meta) {}

void TextParagraph::set_bidi_override(const Array &p_override) {}

bool TextParagraph::add_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align, int p_length, float p_baseline) {}

bool TextParagraph::resize_object(Variant p_key, const Size2 &p_size, InlineAlignment p_inline_align, float p_baseline) {}

void TextParagraph::set_alignment(HorizontalAlignment p_alignment) {}

HorizontalAlignment TextParagraph::get_alignment() const {}

void TextParagraph::tab_align(const Vector<float> &p_tab_stops) {}

void TextParagraph::set_justification_flags(BitField<TextServer::JustificationFlag> p_flags) {}

BitField<TextServer::JustificationFlag> TextParagraph::get_justification_flags() const {}

void TextParagraph::set_break_flags(BitField<TextServer::LineBreakFlag> p_flags) {}

BitField<TextServer::LineBreakFlag> TextParagraph::get_break_flags() const {}

void TextParagraph::set_text_overrun_behavior(TextServer::OverrunBehavior p_behavior) {}

TextServer::OverrunBehavior TextParagraph::get_text_overrun_behavior() const {}

void TextParagraph::set_ellipsis_char(const String &p_char) {}

String TextParagraph::get_ellipsis_char() const {}

void TextParagraph::set_width(float p_width) {}

float TextParagraph::get_width() const {}

Size2 TextParagraph::get_non_wrapped_size() const {}

Size2 TextParagraph::get_size() const {}

int TextParagraph::get_line_count() const {}

void TextParagraph::set_max_lines_visible(int p_lines) {}

int TextParagraph::get_max_lines_visible() const {}

Array TextParagraph::get_line_objects(int p_line) const {}

Rect2 TextParagraph::get_line_object_rect(int p_line, Variant p_key) const {}

Size2 TextParagraph::get_line_size(int p_line) const {}

Vector2i TextParagraph::get_line_range(int p_line) const {}

float TextParagraph::get_line_ascent(int p_line) const {}

float TextParagraph::get_line_descent(int p_line) const {}

float TextParagraph::get_line_width(int p_line) const {}

float TextParagraph::get_line_underline_position(int p_line) const {}

float TextParagraph::get_line_underline_thickness(int p_line) const {}

Size2 TextParagraph::get_dropcap_size() const {}

int TextParagraph::get_dropcap_lines() const {}

void TextParagraph::draw(RID p_canvas, const Vector2 &p_pos, const Color &p_color, const Color &p_dc_color) const {}

void TextParagraph::draw_outline(RID p_canvas, const Vector2 &p_pos, int p_outline_size, const Color &p_color, const Color &p_dc_color) const {}

int TextParagraph::hit_test(const Point2 &p_coords) const {}

void TextParagraph::draw_dropcap(RID p_canvas, const Vector2 &p_pos, const Color &p_color) const {}

void TextParagraph::draw_dropcap_outline(RID p_canvas, const Vector2 &p_pos, int p_outline_size, const Color &p_color) const {}

void TextParagraph::draw_line(RID p_canvas, const Vector2 &p_pos, int p_line, const Color &p_color) const {}

void TextParagraph::draw_line_outline(RID p_canvas, const Vector2 &p_pos, int p_line, int p_outline_size, const Color &p_color) const {}

TextParagraph::TextParagraph(const String &p_text, const Ref<Font> &p_font, int p_font_size, const String &p_language, float p_width, TextServer::Direction p_direction, TextServer::Orientation p_orientation) {}

TextParagraph::TextParagraph() {}

TextParagraph::~TextParagraph() {}