touchgfx::TextDirection is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::TextDirection

@typedef uint8_t TextDirection Defines a the direction to write text. Defines a the direction to write text.

Syntax

typedef uint8_t TextDirection;

References

LocationReferrerScopeText
Types.hpp:761
typedef uint8_t TextDirection;
Font.hpp:273touchgfx::Font::getStringWidth() const::textDirectiontouchgfx::Font::getStringWidth() const
virtual uint16_t getStringWidth(TextDirection textDirection, const Unicode::UnicodeChar* text, ...) const;
Font.hpp:448touchgfx::Font::getStringWidthLTR() const::textDirectiontouchgfx::Font::getStringWidthLTR() const
uint16_t getStringWidthLTR(TextDirection textDirection, const Unicode::UnicodeChar* text, va_list pArg) const;
Font.hpp:469touchgfx::Font::getStringWidthRTL() const::textDirectiontouchgfx::Font::getStringWidthRTL() const
uint16_t getStringWidthRTL(TextDirection textDirection, const Unicode::UnicodeChar* text, va_list pArg) const;
Font.hpp:476textDirection
typedef uint16_t(Font::*StringWidthFunctionPointer)(TextDirection textDirection, const Unicode::UnicodeChar* text, va_list pArg) const;
LCD.hpp:258touchgfx::LCD::StringVisuals::textDirectiontouchgfx::LCD::StringVisuals
TextDirection textDirection; ///< The direction to use. Default is LTR
LCD.hpp:295touchgfx::LCD::StringVisuals::StringVisuals()
StringVisuals(const Font* font, colortype color, uint8_t alpha, Alignment alignment, uint16_t linespace, TextRotation rotation, TextDirection textDirection, uint8_t indentation, WideTextAction wideTextAction = WIDE_TEXT_NONE)
LCD.hpp:555touchgfx::LCD::stringWidth()::textDirectiontouchgfx::LCD::stringWidth()
static uint16_t stringWidth(TextProvider& textProvider, const Font& font, const int numChars, TextDirection textDirection);
LCD.hpp:573touchgfx::LCD::getNumLines()::textDirectiontouchgfx::LCD::getNumLines()
static uint16_t getNumLines(TextProvider& textProvider, WideTextAction wideTextAction, TextDirection textDirection, const Font* font, int16_t width);
LCD.hpp:598textDirection
typedef void (LCD::*DrawStringInternalFunctionPointer)(int16_t& offset, const Font* font, const TextDirection textDirection, TextProvider& widthTextProvider, const int numChars, const bool useEllipsis, DrawStringInternalStruct const* data);
LCD.hpp:599touchgfx::LCD::drawStringRTLLine()::textDirectiontouchgfx::LCD::drawStringRTLLine()
LCD.hpp:600touchgfx::LCD::drawStringWidthInternal()::textDirectiontouchgfx::LCD::drawStringWidthInternal()
void drawStringWidthInternal(int16_t& offset, const Font* font, const TextDirection textDirection, TextProvider& textProvider, const int numChars, const bool useEllipsis, DrawStringInternalStruct const* data);
LCD.hpp:601touchgfx::LCD::drawStringRTLInternal()::textDirectiontouchgfx::LCD::drawStringRTLInternal()
void drawStringRTLInternal(int16_t& offset, const Font* font, const TextDirection textDirection, TextProvider& widthTextProvider, const int numChars, const bool useEllipsis, DrawStringInternalStruct const* data);
LCD.hpp:602touchgfx::LCD::drawStringInternal()::textDirectiontouchgfx::LCD::drawStringInternal()
bool drawStringInternal(uint16_t* frameBuffer, Rect const* widgetArea, int16_t widgetRectY, int16_t& offset, const Rect& invalidatedArea, StringVisuals const* stringVisuals, const TextDirection textDirection, TextProvider& textProvider, const int numChars, bool useEllipsis);
LCD.hpp:607touchgfx::LCD::WideTextInternalStruct::WideTextInternalStruct()
LCD.hpp:641touchgfx::LCD::WideTextInternalStruct::textDirectiontouchgfx::LCD::WideTextInternalStruct
TextDirection textDirection;
TextProvider.hpp:94touchgfx::TextProvider::getNextLigature()::directiontouchgfx::TextProvider::getNextLigature()
TextProvider.hpp:106direction
typedef Unicode::UnicodeChar(TextProvider::*UnicodeConverterFunctionPointer)(const Unicode::UnicodeChar currChar, const Unicode::UnicodeChar nextChar[2], const TextDirection direction);
TextProvider.hpp:112touchgfx::TextProvider::unicodeConverter()::directiontouchgfx::TextProvider::unicodeConverter()
TypedText.hpp:67touchgfx::TypedText::TypedTextData::directiontouchgfx::TypedText::TypedTextData
const TextDirection direction : 2; ///< The text direction (LTR,RTL,...) of the typed text
TypedText.hpp:165touchgfx::TypedText::getTextDirection() consttouchgfx::TypedText
TextDirection getTextDirection() const
Types.hpp:762touchgfx::TEXT_DIRECTION_LTRtouchgfx
static const TextDirection TEXT_DIRECTION_LTR = 0; ///< Text is written Left-To-Right, e.g. English
Types.hpp:763touchgfx::TEXT_DIRECTION_RTLtouchgfx
static const TextDirection TEXT_DIRECTION_RTL = 1; ///< Text is written Right-To-Left, e.g. Hebrew