|
| CTextRender () |
|
void | Init () override |
|
void | Shutdown () override |
|
bool | LoadFonts () override |
|
void | SetFontPreset (EFontPreset FontPreset) override |
|
void | SetFontLanguageVariant (const char *pLanguageFile) override |
|
void | SetCursor (CTextCursor *pCursor, float x, float y, float FontSize, int Flags) const override |
|
void | MoveCursor (CTextCursor *pCursor, float x, float y) const override |
|
void | SetCursorPosition (CTextCursor *pCursor, float x, float y) const override |
|
void | Text (float x, float y, float Size, const char *pText, float LineWidth=-1.0f) override |
|
float | TextWidth (float Size, const char *pText, int StrLength=-1, float LineWidth=-1.0f, int Flags=0, const STextSizeProperties &TextSizeProps={}) override |
|
STextBoundingBox | TextBoundingBox (float Size, const char *pText, int StrLength=-1, float LineWidth=-1.0f, float LineSpacing=0.0f, int Flags=0) override |
|
void | TextColor (float r, float g, float b, float a) override |
|
void | TextColor (ColorRGBA Color) override |
|
void | TextOutlineColor (float r, float g, float b, float a) override |
|
void | TextOutlineColor (ColorRGBA Color) override |
|
void | TextSelectionColor (float r, float g, float b, float a) override |
|
void | TextSelectionColor (ColorRGBA Color) override |
|
ColorRGBA | GetTextColor () const override |
|
ColorRGBA | GetTextOutlineColor () const override |
|
ColorRGBA | GetTextSelectionColor () const override |
|
void | TextEx (CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
bool | CreateTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
void | AppendTextContainer (STextContainerIndex TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
bool | CreateOrAppendTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
void | RecreateTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
void | RecreateTextContainerSoft (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1) override |
|
void | DeleteTextContainer (STextContainerIndex &TextContainerIndex) override |
|
void | UploadTextContainer (STextContainerIndex TextContainerIndex) override |
|
void | RenderTextContainer (STextContainerIndex TextContainerIndex, const ColorRGBA &TextColor, const ColorRGBA &TextOutlineColor) override |
|
void | RenderTextContainer (STextContainerIndex TextContainerIndex, const ColorRGBA &TextColor, const ColorRGBA &TextOutlineColor, float X, float Y) override |
|
STextBoundingBox | GetBoundingBoxTextContainer (STextContainerIndex TextContainerIndex) override |
|
void | UploadEntityLayerText (const CImageInfo &TextImage, int TexSubWidth, int TexSubHeight, const char *pText, int Length, float x, float y, int FontSize) override |
|
int | AdjustFontSize (const char *pText, int TextLength, int MaxSize, int MaxWidth) const override |
|
float | GetGlyphOffsetX (int FontSize, char TextCharacter) const override |
|
int | CalculateTextWidth (const char *pText, int TextLength, int FontWidth, int FontHeight) const override |
|
void | OnPreWindowResize () override |
|
void | OnWindowResize () override |
|
virtual void | Init ()=0 |
|
virtual void | Shutdown () override=0 |
|
virtual void | SetCursor (CTextCursor *pCursor, float x, float y, float FontSize, int Flags) const =0 |
|
virtual void | MoveCursor (CTextCursor *pCursor, float x, float y) const =0 |
|
virtual void | SetCursorPosition (CTextCursor *pCursor, float x, float y) const =0 |
|
virtual bool | LoadFonts ()=0 |
|
virtual void | SetFontPreset (EFontPreset FontPreset)=0 |
|
virtual void | SetFontLanguageVariant (const char *pLanguageFile)=0 |
|
virtual void | SetRenderFlags (unsigned Flags)=0 |
|
virtual unsigned | GetRenderFlags () const =0 |
|
ColorRGBA | DefaultTextColor () const |
|
ColorRGBA | DefaultTextOutlineColor () const |
|
ColorRGBA | DefaultTextSelectionColor () const |
|
virtual void | TextEx (CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual bool | CreateTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual void | AppendTextContainer (STextContainerIndex TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual bool | CreateOrAppendTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual void | RecreateTextContainer (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual void | RecreateTextContainerSoft (STextContainerIndex &TextContainerIndex, CTextCursor *pCursor, const char *pText, int Length=-1)=0 |
|
virtual void | DeleteTextContainer (STextContainerIndex &TextContainerIndex)=0 |
|
virtual void | UploadTextContainer (STextContainerIndex TextContainerIndex)=0 |
|
virtual void | RenderTextContainer (STextContainerIndex TextContainerIndex, const ColorRGBA &TextColor, const ColorRGBA &TextOutlineColor)=0 |
|
virtual void | RenderTextContainer (STextContainerIndex TextContainerIndex, const ColorRGBA &TextColor, const ColorRGBA &TextOutlineColor, float X, float Y)=0 |
|
virtual STextBoundingBox | GetBoundingBoxTextContainer (STextContainerIndex TextContainerIndex)=0 |
|
virtual void | UploadEntityLayerText (const CImageInfo &TextImage, int TexSubWidth, int TexSubHeight, const char *pText, int Length, float x, float y, int FontSize)=0 |
|
virtual int | AdjustFontSize (const char *pText, int TextLength, int MaxSize, int MaxWidth) const =0 |
|
virtual float | GetGlyphOffsetX (int FontSize, char TextCharacter) const =0 |
|
virtual int | CalculateTextWidth (const char *pText, int TextLength, int FontWidth, int FontSize) const =0 |
|
virtual void | TextColor (float r, float g, float b, float a)=0 |
|
virtual void | TextColor (ColorRGBA Color)=0 |
|
virtual void | TextOutlineColor (float r, float g, float b, float a)=0 |
|
virtual void | TextOutlineColor (ColorRGBA Color)=0 |
|
virtual void | TextSelectionColor (float r, float g, float b, float a)=0 |
|
virtual void | TextSelectionColor (ColorRGBA Color)=0 |
|
virtual void | Text (float x, float y, float Size, const char *pText, float LineWidth=-1.0f)=0 |
|
virtual float | TextWidth (float Size, const char *pText, int StrLength=-1, float LineWidth=-1.0f, int Flags=0, const STextSizeProperties &TextSizeProps={})=0 |
|
virtual STextBoundingBox | TextBoundingBox (float Size, const char *pText, int StrLength=-1, float LineWidth=-1.0f, float LineSpacing=0.0f, int Flags=0)=0 |
|
virtual ColorRGBA | GetTextColor () const =0 |
|
virtual ColorRGBA | GetTextOutlineColor () const =0 |
|
virtual ColorRGBA | GetTextSelectionColor () const =0 |
|
virtual void | OnPreWindowResize ()=0 |
|
virtual void | OnWindowResize ()=0 |
|
| IInterface () |
|
virtual void | Shutdown () |
|
virtual | ~IInterface () |
|