HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
attributed_grapheme.hpp
1// Copyright Take Vos 2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "grapheme.hpp"
8#include "text_style.hpp"
9#include "unicode_bidi_class.hpp"
10#include "unicode_general_category.hpp"
11
12namespace tt {
13
16
20
24
27 unicode_bidi_class bidi_class;
28
32
33 unicode_general_category general_category;
34
37 bidi_class(unicode_bidi_class::unknown),
38 general_category(unicode_general_category::unknown)
39 {
40 }
41};
42
43}
STL namespace.
Definition attributed_grapheme.hpp:14
ssize_t logicalIndex
Index of the grapheme before bidi-algorithm.
Definition attributed_grapheme.hpp:23
unicode_bidi_class bidi_class
The bidirectional classification.
Definition attributed_grapheme.hpp:27
text_style style
All information about the shape and color needed to render this grapheme.
Definition attributed_grapheme.hpp:19
int8_t embeddingLevel
Embedding level needed by the bidi-algorithm.
Definition attributed_grapheme.hpp:31
Definition grapheme.hpp:21
Definition text_style.hpp:16