1 #ifndef _GLS_FONT_BASE_H
2 #define _GLS_FONT_BASE_H
77 #if defined( GLS_DEBUG )
105 #if defined( GLS_DEBUG )
142 #if defined( GLS_DEBUG )
161 #if defined( GLS_DEBUG )
248 #endif // _GLS_FONT_BASE_H
char GlsChar
Definition: gls_types.h:54
GlsColor bgColor
Definition: gls_font_base.h:132
Definition: gls_state_manager.h:63
const GlsUInt32 maxCharHeight
Definition: gls_font_base.h:72
GlsFloat32 varTexX2
Definition: gls_font_base.h:93
GlsBool inverse
Definition: gls_font_base.h:127
const GlyphAttribute *const glyphAttributes
Definition: gls_font_base.h:158
const CharCode firstChar
Definition: gls_font_base.h:70
GlsBool uppercase
Definition: gls_font_base.h:135
GlsBool shadow
Definition: gls_font_base.h:128
Definition: gls_font_base.h:68
Definition: gls_font_base.h:153
This header defines a GLS_DEBUG only macro for facilitating evaluating class invariants in the GL Stu...
Definition: gls_font_base.h:88
void RenderString(GlsStateManager &gl, const GlsChar *const str, const GlsUInt32 numChars, const RenderAttributes &renderAttributes) const
GlsColor fgColor
Definition: gls_font_base.h:131
const GlsImage::InlineImage fontInlineImage
Definition: gls_font_base.h:159
void DrawMappedQuad(const GlsVector2D &p1, const GlsVector2D &p2, const GlsVector2D &t1, const GlsVector2D &t2) const
GlsFloat32 baselineShift
Definition: gls_font_base.h:120
GlsUInt32 CharCode
Definition: gls_font_base.h:62
unsigned int GlsUInt32
Definition: gls_types.h:73
GlsFloat32 width
Definition: gls_font_base.h:90
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
const GlsUInt32 maxCharWidth
Definition: gls_font_base.h:73
GlsFloat32 fixedTexX1
Definition: gls_font_base.h:95
const GlsUInt32 underlinePos
Definition: gls_font_base.h:74
const FontAttributes & GetFontAttributes(void) const
Definition: gls_image.h:59
float GlsFloat32
Definition: gls_types.h:78
GlsFloat32 fixedTexX2
Definition: gls_font_base.h:97
GlsFloat32 texY1
Definition: gls_font_base.h:99
const FontAttributes _fontAttributes
Definition: gls_font_base.h:237
Definition: gls_font_base.h:116
GlsFloat32 varTexX1
Definition: gls_font_base.h:91
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
GlsVector2D cellSize
Definition: gls_font_base.h:119
Definition: gls_vertex.h:49
GlsVector2D startPosition
Definition: gls_font_base.h:118
GlsBool emphasize
Definition: gls_font_base.h:125
GlsColor shadowColor
Definition: gls_font_base.h:134
void BindFontTexture(GlsStateManager &gl) const
bool GlsBool
Definition: gls_types.h:96
GlsFloat32 horiAdvance
Definition: gls_font_base.h:103
const GlsUInt32 underlineSize
Definition: gls_font_base.h:75
Definition: gls_image.h:90
GlsFloat32 tabSpacing
Definition: gls_font_base.h:140
const GlyphAttribute & GetGlyphAttribute(const GlsChar c, const GlsBool uppercase) const
Definition: gls_font_base.h:56
static const GlsChar TAB_CHAR
Definition: gls_font_base.h:65
const GlsUInt32 numGlyphAttributes
Definition: gls_font_base.h:156
GlsFloat32 shadowDistance
Definition: gls_font_base.h:129
const GlsUInt32 _numGlyphAttributes
Definition: gls_font_base.h:238
This header defines the GlsImage class which encapsulates textures in the GL Studio DO-178B Runtime L...
GlsFloat32 spacing
Definition: gls_font_base.h:124
GlsFontBase(const InitParameters &initParameters)
GlsBool haloEffect
Definition: gls_font_base.h:126
GlsBool proportional
Definition: gls_font_base.h:136
This header defines classes for working with 2D and 3D vectors, vertices and textured vertices in the...
This header defines a 4 component RGBA color for use in the GL Studio DO-178B Runtime Library...
GlsColor haloColor
Definition: gls_font_base.h:133
This header defines the basic types used by the GL Studio DO-178B Runtime Library.
GlyphAttribute *const _glyphAttributes
Definition: gls_font_base.h:239
Definition: gls_color.h:47
const GlsImage *const _fontImage
Definition: gls_font_base.h:240
const CharCode lastChar
Definition: gls_font_base.h:71
GlsBool expandTabs
Definition: gls_font_base.h:138
GlsFloat32 texY2
Definition: gls_font_base.h:100
GlsFloat32 scale
Definition: gls_font_base.h:122
const FontAttributes fontAttributes
Definition: gls_font_base.h:155
GlsFloat32 horiBearingX
Definition: gls_font_base.h:102