Gorgon Game Engine
GlyphRange Class Reference

This class represents a range of glyphs. Both start and end is included. More...

Public Member Functions

 GlyphRange (Glyph start, Glyph end)
 
 GlyphRange (Glyph value=0xFFFF)
 Creates a range that includes a single item. More...
 
int Count () const
 Returns the number of the glyphs in the range. More...
 
void Normalize ()
 

Public Attributes

Glyph End
 End point of the range. This value is included in the range. More...
 
Glyph Start
 Start point of the range. More...
 

Detailed Description

This class represents a range of glyphs. Both start and end is included.

Constructor & Destructor Documentation

◆ GlyphRange() [1/2]

GlyphRange ( Glyph  value = 0xFFFF)

Creates a range that includes a single item.

Value 0 is not a valid code point

◆ GlyphRange() [2/2]

GlyphRange ( Glyph  start,
Glyph  end 
)

Member Function Documentation

◆ Count()

int Count ( ) const

Returns the number of the glyphs in the range.

References GlyphRange::End, and GlyphRange::Start.

◆ Normalize()

void Normalize ( )

Member Data Documentation

◆ End

Glyph End

End point of the range. This value is included in the range.

◆ Start

Glyph Start

Start point of the range.


The documentation for this class was generated from the following file: