nux-1.16.0
nux::FontRenderer Class Reference

List of all members.

Public Member Functions

 FontRenderer (GraphicsEngine &OpenGLEngine)
int DrawColorString (ObjectPtr< FontTexture > Font, int x, int y, const NString &str, const Color &color, bool WriteAlphaChannel, int NumCharacter=0, int SkipFirstNCharacters=0)
void PositionString (ObjectPtr< FontTexture > Font, const NString &str, const PageBBox &, StringBBox &, TextAlignment align=eAlignTextCenter, int NumCharacter=0)
int RenderColorText (ObjectPtr< FontTexture > Font, int x, int y, const NString &Str, const Color &color, bool WriteAlphaChannel, int NumCharacter)
int RenderColorTextLineStatic (ObjectPtr< FontTexture > Font, const PageBBox &pageSize, const NString &Str, const Color &color, bool WriteAlphaChannel, TextAlignment alignment)
int RenderColorTextLineEdit (ObjectPtr< FontTexture > Font, const PageBBox &pageSize, const NString &Str, const Color &TextColor, bool WriteAlphaChannel, const Color &SelectedTextColor, const Color &SelectedTextBackgroundColor, const Color &TextBlinkColor, const Color &CursorColor, bool ShowCursor, unsigned int CursorPosition, int offset=0, int selection_start=0, int selection_end=0)
int RenderText (ObjectPtr< FontTexture > Font, int x, int y, const NString &str, const Color &color, bool WriteAlphaChannel, int StartCharacter=0, int NumCharacters=0)
int RenderTextToBuffer (float *VertexBuffer, int VBSize, ObjectPtr< FontTexture > Font, Rect geo, const NString &str, const Color &color, TextAlignment alignment=eAlignTextCenter, int NumCharacter=0)

Detailed Description

Definition at line 40 of file FontRenderer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends