Abstract text layout interface.
Definition TextLayout.hpp:35
virtual void SetFontStyle(int aStyle)=0
Set the font style.
virtual void SetFontSize(double aSize)=0
Set the font size.
virtual double GetCharOffsetX(long aIndex) const =0
virtual double GetTextHeight() const =0
Get the logical height of the laid-out text.
virtual double GetBaseline() const =0
Get the baseline offset from the top.
virtual void SetFontWeight(int aWeight)=0
Set the font weight.
virtual double GetTextWidth() const =0
Get the logical width of the laid-out text.
virtual void SetFontFamily(const std::string &aFamily)=0
Set the font family.
virtual void SetText(const std::string &aText)=0
Set the text content to lay out.