AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ccfont.h File Reference

Declaration of NTV2CCFont. More...

#include "ajatypes.h"
#include "ntv2caption608types.h"
#include "ntv2enums.h"
Include dependency graph for ccfont.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NTV2CCFont
 This is the font used when rendering CEA-608 captions into a frame buffer. I define a "dot" map having a fixed width and height, plus a fixed set of glyphs, each with a particular dot pattern. Each glyph corresponds to an NTV2_CC608_CodePoint. More...
 

Typedefs

typedef uint16_t NTV2GlyphIndex
 A zero-based index number that uniquely identifies a glyph. More...
 

Functions

void DumpCCFont (const NTV2CCFont &inCCFont=NTV2CCFont::GetInstance())
 Dumps all glyphs in the given CC font to stderr in UTF-8. When displayed in a terminal using a monospaced font, it shows what the glyphs actually look like. Each black dot is rendered as a "full block" character (u2588), while white dots are rendered as spaces. More...
 

Detailed Description

Declaration of NTV2CCFont.

Definition in file ccfont.h.

Typedef Documentation

◆ NTV2GlyphIndex

typedef uint16_t NTV2GlyphIndex

A zero-based index number that uniquely identifies a glyph.

Definition at line 19 of file ccfont.h.

Function Documentation

◆ DumpCCFont()

void DumpCCFont ( const NTV2CCFont inCCFont = NTV2CCFont::GetInstance())

Dumps all glyphs in the given CC font to stderr in UTF-8. When displayed in a terminal using a monospaced font, it shows what the glyphs actually look like. Each black dot is rendered as a "full block" character (u2588), while white dots are rendered as spaces.

Parameters
inCCFontSpecifies the font to dump.