godot/servers/text_server.cpp

/**************************************************************************/
/*  text_server.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 "servers/text_server.h"
#include "text_server.compat.inc"

#include "core/variant/typed_array.h"
#include "servers/rendering_server.h"

TextServerManager *TextServerManager::singleton =;

void TextServerManager::_bind_methods() {}

void TextServerManager::add_interface(const Ref<TextServer> &p_interface) {}

void TextServerManager::remove_interface(const Ref<TextServer> &p_interface) {}

int TextServerManager::get_interface_count() const {}

Ref<TextServer> TextServerManager::get_interface(int p_index) const {}

Ref<TextServer> TextServerManager::find_interface(const String &p_name) const {}

TypedArray<Dictionary> TextServerManager::get_interfaces() const {}

void TextServerManager::set_primary_interface(const Ref<TextServer> &p_primary_interface) {}

TextServerManager::TextServerManager() {}

TextServerManager::~TextServerManager() {}

/*************************************************************************/

bool Glyph::operator==(const Glyph &p_a) const {}

bool Glyph::operator!=(const Glyph &p_a) const {}

bool Glyph::operator<(const Glyph &p_a) const {}

bool Glyph::operator>(const Glyph &p_a) const {}

void TextServer::_bind_methods() {}

_FORCE_INLINE_ int32_t ot_tag_from_string(const char *p_str, int p_len) {}

int64_t TextServer::name_to_tag(const String &p_name) const {}

_FORCE_INLINE_ void ot_tag_to_string(int32_t p_tag, char *p_buf) {}

String TextServer::tag_to_name(int64_t p_tag) const {}

Vector2 TextServer::get_hex_code_box_size(int64_t p_size, int64_t p_index) const {}

void TextServer::_draw_hex_code_box_number(const RID &p_canvas, int64_t p_size, const Vector2 &p_pos, uint8_t p_index, const Color &p_color) const {}

void TextServer::draw_hex_code_box(const RID &p_canvas, int64_t p_size, const Vector2 &p_pos, int64_t p_index, const Color &p_color) const {}

bool TextServer::shaped_text_has_visible_chars(const RID &p_shaped) const {}

PackedInt32Array TextServer::shaped_text_get_line_breaks_adv(const RID &p_shaped, const PackedFloat32Array &p_width, int64_t p_start, bool p_once, BitField<TextServer::LineBreakFlag> p_break_flags) const {}

PackedInt32Array TextServer::shaped_text_get_line_breaks(const RID &p_shaped, double p_width, int64_t p_start, BitField<TextServer::LineBreakFlag> p_break_flags) const {}

PackedInt32Array TextServer::shaped_text_get_word_breaks(const RID &p_shaped, BitField<TextServer::GraphemeFlag> p_grapheme_flags, BitField<TextServer::GraphemeFlag> p_skip_grapheme_flags) const {}

CaretInfo TextServer::shaped_text_get_carets(const RID &p_shaped, int64_t p_position) const {}

Dictionary TextServer::_shaped_text_get_carets_wrapper(const RID &p_shaped, int64_t p_position) const {}

TextServer::Direction TextServer::shaped_text_get_dominant_direction_in_range(const RID &p_shaped, int64_t p_start, int64_t p_end) const {}

_FORCE_INLINE_ void _push_range(Vector<Vector2> &r_vector, real_t p_start, real_t p_end) {}

Vector<Vector2> TextServer::shaped_text_get_selection(const RID &p_shaped, int64_t p_start, int64_t p_end) const {}

int64_t TextServer::shaped_text_hit_test_grapheme(const RID &p_shaped, double p_coords) const {}

int64_t TextServer::shaped_text_hit_test_position(const RID &p_shaped, double p_coords) const {}

Vector2 TextServer::shaped_text_get_grapheme_bounds(const RID &p_shaped, int64_t p_pos) const {}

int64_t TextServer::shaped_text_next_grapheme_pos(const RID &p_shaped, int64_t p_pos) const {}

int64_t TextServer::shaped_text_prev_grapheme_pos(const RID &p_shaped, int64_t p_pos) const {}

int64_t TextServer::shaped_text_prev_character_pos(const RID &p_shaped, int64_t p_pos) const {}

int64_t TextServer::shaped_text_next_character_pos(const RID &p_shaped, int64_t p_pos) const {}

int64_t TextServer::shaped_text_closest_character_pos(const RID &p_shaped, int64_t p_pos) const {}

PackedInt32Array TextServer::string_get_character_breaks(const String &p_string, const String &p_language) const {}

void TextServer::shaped_text_draw(const RID &p_shaped, const RID &p_canvas, const Vector2 &p_pos, double p_clip_l, double p_clip_r, const Color &p_color) const {}

void TextServer::shaped_text_draw_outline(const RID &p_shaped, const RID &p_canvas, const Vector2 &p_pos, double p_clip_l, double p_clip_r, int64_t p_outline_size, const Color &p_color) const {}

void TextServer::_diacritics_map_add(const String &p_from, char32_t p_to) {}

void TextServer::_init_diacritics_map() {}

String TextServer::strip_diacritics(const String &p_string) const {}

TypedArray<Vector3i> TextServer::parse_structured_text(StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {}

TypedArray<Dictionary> TextServer::_shaped_text_get_glyphs_wrapper(const RID &p_shaped) const {}

TypedArray<Dictionary> TextServer::_shaped_text_sort_logical_wrapper(const RID &p_shaped) {}

TypedArray<Dictionary> TextServer::_shaped_text_get_ellipsis_glyphs_wrapper(const RID &p_shaped) const {}

bool TextServer::is_valid_identifier(const String &p_string) const {}

bool TextServer::is_valid_letter(uint64_t p_unicode) const {}

TextServer::TextServer() {}

TextServer::~TextServer() {}