CharacterFormattingInfo

Stores character formatting info.

Constructors

this
this(Fontset!T font, ubyte color, uint formatFlags, ushort paragraphSpace, short rowHeight, ushort offsetV)

Creates character formatting from the supplied data.

this
this(CharacterFormattingInfo!T source)

Copy constructor

Members

Aliases

opEquals
alias opEquals = Object.opEquals
Undocumented in source.

Functions

getItalicsAm
int getItalicsAm()
Undocumented in source. Be warned that the author may not have intended to support it.
getKerning
short getKerning(dchar first, dchar second)

Returns the kerning amount, or zero if disabled by formatting.

opEquals
bool opEquals(CharacterFormattingInfo!T rhs)

Checks if two instances hold the same character formatting information.

Variables

color
ubyte color;

The displayed color

color
ushort color;

The displayed color

color
Color color;

The displayed color

font
Fontset!T font;

The type of the font

formatFlags
uint formatFlags;

Styleflags to be set for different purposes (eg, orientation, understrike style)

offsetV
ushort offsetV;

Upper-part offseting. The amount of lines which should be skipped (single line), or moved upwards (multi line)

paragraphSpace
ushort paragraphSpace;

The space between paragraphs in pixels

rowHeight
short rowHeight;

Modifies the space between rows of text within a single formatting unit

Meta