84 #if defined( GLS_DEBUG )
103 #if defined( GLS_DEBUG )
141 #if defined( GLS_DEBUG )
275 #if defined( GLS_DEBUG )
509 #if defined( GLS_DEBUG )
510 #pragma BullseyeCoverage save off
523 #pragma BullseyeCoverage restore
526 #endif // _GLS_TEXT_H
virtual void SetPolygonMode(const GlsPolygonMode polygonMode)
Definition: gls_text.h:72
char GlsChar
Definition: gls_types.h:54
static const GlsChar NEW_LINE_CHAR
Definition: gls_text.h:242
const GlsUInt32 rows
Definition: gls_text.h:120
Definition: gls_state_manager.h:63
GlsFloat32 _underlineScale
Definition: gls_text.h:369
const GlsBool wrapText
Definition: gls_text.h:138
Definition: gls_event.h:304
const GlsFloat32 cellHeight
Definition: gls_text.h:123
GlsColor _underlineColor
Definition: gls_text.h:370
void SetString(const GlsChar *const str)
Definition: gls_text.h:266
~UnderlineStrikeThruRenderer()
GlsPolygonMode
Definition: gls_render_settings.h:131
const GlsColor haloColor
Definition: gls_text.h:126
void SetHaloColor(const GlsColor &haloColor)
Justification
Definition: gls_text.h:78
void ResetUnderineStrikeThruRenderers(void)
GLfloat GLMatrixAffineF[DIMENSION *DIMENSION]
Definition: gls_matrix_affine_double.h:63
Definition: gls_text.h:81
virtual void SetFillColor(const GlsColor &fillColor)
GlsText(const InitParameters &initParameters, const GlsUInt32 maxNumLineSegmentsPerRow, GlsEventDispatcher *const eventDispatcher)
GlsString _str
Definition: gls_text.h:437
GlsColor _haloColor
Definition: gls_text.h:431
GlsAlphaMode
Definition: gls_render_settings.h:162
GlsFloat32 x2
Definition: gls_text.h:269
virtual void SetCharAttributes(const CharAttribute &charAttribute)=0
Definition: gls_text.h:90
const GlsUInt32 border
Definition: gls_text.h:121
Definition: gls_text.h:417
const GlsFloat32 _cellHeight
Definition: gls_text.h:358
GlsFloat32 y
Definition: gls_text.h:270
GlsFloat32 shadowOffset
Definition: gls_text.h:272
LineSegment *const _lineSegments
Definition: gls_text.h:385
GlsFloat32 _underlineX2
Definition: gls_text.h:367
This header defines a GLS_DEBUG only macro for facilitating evaluating class invariants in the GL Stu...
const GlsFloat32 _cellWidth
Definition: gls_text.h:357
const GlsUInt32 numChars
Definition: gls_text.h:130
const GlsBool shadow
Definition: gls_text.h:132
Definition: gls_string.h:52
GlsUInt32 _numLineSegments
Definition: gls_text.h:383
const Justification _justification
Definition: gls_text.h:432
const GlsFloat32 _shadowDistance
Definition: gls_text.h:360
virtual void SetTextureIndex(const GlsUInt32 textureIndex)
GlsBool underline
Definition: gls_text.h:101
const GlsUInt32 _rows
Definition: gls_text.h:425
GlsBool fauxBold
Definition: gls_text.h:96
GlsUInt32 length
Definition: gls_text.h:421
const GlsFontBase *const * font
Definition: gls_text.h:124
const GlsBool _uppercase
Definition: gls_text.h:438
Definition: gls_pointer_array.h:51
RowInfo *const _rowInfo
Definition: gls_text.h:449
GlsFloat32 scale
Definition: gls_text.h:98
unsigned int GlsUInt32
Definition: gls_types.h:73
virtual void SetLineWidth(const GlsFloat32 lineWidth)
const GlsFloat32 lineSpacing
Definition: gls_text.h:128
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
const GlsChar *const str
Definition: gls_text.h:131
GlsBool inverse
Definition: gls_text.h:97
const GlsBool uppercase
Definition: gls_text.h:137
const GlsFloat32 _textWidth
Definition: gls_text.h:442
const GlsFloat32 shadowDistance
Definition: gls_text.h:133
This header defines GlsTextureVertexArray which encapsulates an array of GlsTextureVertex 's in the G...
Definition: gls_text.h:260
void DrawScalableLine(GlsStateManager &gl, const GlsFloat32 x1, const GlsFloat32 y1, const GlsFloat32 x2, const GlsFloat32 y2) const
virtual void SetLineColor(const GlsColor &lineColor)
const GlsBool halo
Definition: gls_text.h:125
const GlsBool _shadow
Definition: gls_text.h:359
const GlsUInt32 _border
Definition: gls_text.h:426
float GlsFloat32
Definition: gls_types.h:78
GlsFloat32 _strikeX2
Definition: gls_text.h:375
Definition: gls_text.h:80
const GlsBool _shadow
Definition: gls_text.h:433
GlsBool _strikeOn
Definition: gls_text.h:379
GlsFloat32 spacing
Definition: gls_text.h:99
GlsMatrixAffineD::GLMatrixAffineF _textRotationMatrix
Definition: gls_text.h:446
GlsPointerArray _underlineStrikeThruRenderers
Definition: gls_text.h:450
GlsFloat32 baselineShift
Definition: gls_text.h:92
virtual void Draw(GlsStateManager &gl, const GlsFloat64 time)
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
void PreProcessCharacter(const GlsText::CharAttribute &charAttribute, const GlsFloat32 cellX, const GlsFloat32 charY)
This header defines an abstract class for a display object that is directly rendered to OpenGL (not a...
Definition: gls_texture_vertex_array.h:61
GlsColor _shadowColor
Definition: gls_text.h:361
GlsFloat32 _underlineX1
Definition: gls_text.h:366
GlsFloat32 _strikeY
Definition: gls_text.h:376
const GlsFloat32 _underlineSize
Definition: gls_text.h:363
const GlsColor shadowColor
Definition: gls_text.h:135
Definition: gls_vertex.h:49
virtual void SetAlphaMode(const GlsAlphaMode alphaMode)
Definition: gls_render_object.h:69
GlsBool _textRotationMatrixIsIdentity
Definition: gls_text.h:447
const GlsFloat32 cellWidth
Definition: gls_text.h:122
bool GlsBool
Definition: gls_types.h:96
GlsColor segmentColor
Definition: gls_text.h:273
UnderlineStrikeThruRenderer(const GlsUInt32 numLineSegments, const GlsFloat32 cellWidth, const GlsFloat32 cellHeight, const GlsBool shadow, const GlsFloat32 shadowDistance, const GlsColor &shadowColor, const GlsFloat32 underlineOffset, const GlsFloat32 underlineSize)
virtual void CalculateRowData(void)=0
GlsFloat32 thickness
Definition: gls_text.h:271
GlsBool _isUpToDate
Definition: gls_text.h:387
void PostProcessCharacter(const GlsText::CharAttribute &charAttribute, const GlsFloat32 cellX, const GlsFloat32 charY, const GlsBool endOfLine)
const GlsFontBase & _font
Definition: gls_text.h:429
GlsColor _shadowColor
Definition: gls_text.h:436
void SetShadowColor(const GlsColor &shadowColor)
const GlsFloat32 _shadowDistance
Definition: gls_text.h:434
GlsUInt32 startingIndex
Definition: gls_text.h:419
Definition: gls_render_object.h:82
Definition: gls_font_base.h:56
GlsFloat32 JustificationOffset(const GlsUInt32 row) const
const GlsBool _halo
Definition: gls_text.h:430
const CharAttribute charAttribute
Definition: gls_text.h:139
GlsBool strikeThru
Definition: gls_text.h:100
virtual void DrawCharacters(GlsStateManager &gl)=0
Definition: gls_text.h:114
const GlsFloat32 _textHeight
Definition: gls_text.h:443
virtual void OffsetTexture(const GlsVector2D &offset)
GlsFloat32 pixelWidth
Definition: gls_text.h:422
const GlsRenderObject::InitParameters renderInitParameters
Definition: gls_text.h:116
GlsColor _strikeColor
Definition: gls_text.h:378
GlsFloat32 x1
Definition: gls_text.h:268
const GlsFloat32 _cellHeight
Definition: gls_text.h:428
const GlsFloat32 _rowOffset
Definition: gls_text.h:441
void RenderLineSegments(GlsStateManager &gl) const
GlsPolygon * _backgroundPoly
Definition: gls_text.h:445
GlsFloat32 _underlineY
Definition: gls_text.h:368
GlsColor bgColor
Definition: gls_text.h:94
const GlsTextureVertexArray::InitParameters verticesInitParameters
Definition: gls_text.h:118
const GlsFloat32 _cellWidth
Definition: gls_text.h:427
const GlsBool _wrapText
Definition: gls_text.h:440
static const GlsUInt32 NUM_VERTS_BACKGROUND_POLY
Definition: gls_text.h:241
const Justification justification
Definition: gls_text.h:127
void SetShadowColor(const GlsColor &shadowColor)
GlsColor fgColor
Definition: gls_text.h:95
GlsBool _underlineOn
Definition: gls_text.h:371
Definition: gls_color.h:47
GlsFloat32 _strikeX1
Definition: gls_text.h:374
double GlsFloat64
Definition: gls_types.h:87
const GlsUInt32 _maxNumLineSegments
Definition: gls_text.h:382
Definition: gls_text.h:82
This header defines the GlsString class in the GL Studio DO-178B Runtime Library. ...
GlsFloat32 _strikeScale
Definition: gls_text.h:377
Definition: gls_polygon.h:55
const GlsFloat32 _underlineOffset
Definition: gls_text.h:362
This header defines the GlsFontBase class in the GL Studio DO-178B Runtime Library.
Definition: gls_display_object.h:64
GlsBool IsUpToDate(void) const
static const GlsChar SPACE_CHAR
Definition: gls_text.h:243