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