Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX.
This commit is contained in:
@ -50,6 +50,8 @@ public:
|
||||
double elapsed_time = 0.0f;
|
||||
Dictionary environment;
|
||||
uint32_t glyph_index = 0;
|
||||
uint16_t glyph_flags = 0;
|
||||
uint8_t glyph_count = 0;
|
||||
RID font;
|
||||
|
||||
CharFXTransform();
|
||||
@ -57,19 +59,31 @@ public:
|
||||
|
||||
Vector2i get_range() { return range; }
|
||||
void set_range(const Vector2i &p_range) { range = p_range; }
|
||||
|
||||
double get_elapsed_time() { return elapsed_time; }
|
||||
void set_elapsed_time(double p_elapsed_time) { elapsed_time = p_elapsed_time; }
|
||||
|
||||
bool is_visible() { return visibility; }
|
||||
void set_visibility(bool p_visibility) { visibility = p_visibility; }
|
||||
|
||||
bool is_outline() { return outline; }
|
||||
void set_outline(bool p_outline) { outline = p_outline; }
|
||||
|
||||
Point2 get_offset() { return offset; }
|
||||
void set_offset(Point2 p_offset) { offset = p_offset; }
|
||||
|
||||
Color get_color() { return color; }
|
||||
void set_color(Color p_color) { color = p_color; }
|
||||
|
||||
uint32_t get_glyph_index() const { return glyph_index; };
|
||||
void set_glyph_index(uint32_t p_glyph_index) { glyph_index = p_glyph_index; };
|
||||
|
||||
uint16_t get_glyph_flags() const { return glyph_index; };
|
||||
void set_glyph_flags(uint16_t p_glyph_flags) { glyph_flags = p_glyph_flags; };
|
||||
|
||||
uint8_t get_glyph_count() const { return glyph_count; };
|
||||
void set_glyph_count(uint8_t p_glyph_count) { glyph_count = p_glyph_count; };
|
||||
|
||||
RID get_font() const { return font; };
|
||||
void set_font(RID p_font) { font = p_font; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user