dplug.graphics.font

Font high-level interface.

Members

Classes

Font
class Font
Undocumented in source.

Enums

HorizontalAlignment
enum HorizontalAlignment
Undocumented in source.
VerticalAlignment
enum VerticalAlignment
Undocumented in source.

Functions

fillText
void fillText(ImageRef!RGBA surface, Font font, const(char)[] s, float fontSizePx, float letterSpacingPx, RGBA textColor, float positionX, float positionY, HorizontalAlignment horzAlign, VerticalAlignment vertAlign)

Draw text centered on a point on a DirectView.

Meta