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