StyledTextRenderer

A StyledTextRenderer renders the content of a StyledText widget. This class can be used to render to the display or to a printer.

class StyledTextRenderer {
Device device;
StyledText styledText;
StyledTextContent content;
Font regularFont;
Font boldFont;
Font italicFont;
Font boldItalicFont;
int tabWidth;
int ascent;
int descent;
int averageCharWidth;
int topIndex;
TextLayout[] layouts;
int lineCount;
int[] lineWidth;
int[] lineHeight;
LineInfo[] lines;
int maxWidth;
int maxWidthLineIndex;
bool idleRunning;
Bullet[] bullets;
int[] bulletsIndices;
int[] redrawLines;
int[] ranges;
int styleCount;
StyleRange[] styles;
StyleRange[] stylesSet;
int stylesSetCount;
int BULLET_MARGIN;
bool COMPACT_STYLES;
bool MERGE_STYLES;
int GROW;
int IDLE_TIME;
int CACHE_SIZE;
int BACKGROUND;
int ALIGNMENT;
int INDENT;
int JUSTIFY;
int SEGMENTS;
}

Meta