minwin
app
button
canvas
combo
component
dialog
event
font
geometry
group
icon
image
label
layout
listbox
menu
multidg
paint
peer
peerimpl
scroll
text
window
|
minwin.font
Font class.
- enum FontWeight;
- Enumeration of font weights.
- Any
- Unspecified font weight.
- Thin
- ExtraLight
- Light
- Normal
- Medium
- SemiBold
- Bold
- ExtraBold
- Heavy
- enum StandardFont;
- Enumeration of standard fonts.
- Gui
- Default GUI font.
- Fixed
- Fixed width font.
- Variable
- Variable width font.
- alias FontPeer;
- Platform-specific font type.
Windows HFONT
GTK PangoFontDescription*
- struct FontData;
- Collection of font data used for creating fonts.
- int size;
- Read/write property for font size.
- FontWeight weight;
- Read/write property for font weight.
- bool italic;
- Read/write property for italic font style.
- char[] name;
- Read/write property for font name.
- struct FontMetrics;
- Collection of font metrics.
- int size;
- Read-only property for font size.
- int ascent;
- Read-only property for font ascent.
- int descent;
- Read-only property for font descent.
- int leading;
- Read-only property for leading space added between text rows.
- int maxWidth;
- Read-only property for the widest character in the font.
- class Font;
- Font class
- FontPeer_ peer;
- The native font peer.
- this(inout FontData fd);
- Constructs a new font from the given FontData.
- this(FontPeer_ p);
- Constructs a new font directly from a platform-specific peer.
Does not take ownership of the peer.
- this(char[] name, int size = 0, FontWeight weight = cast(FontWeight)400);
- Constructs a new font from the given details.
- Font standardFont(StandardFont id);
- Returns a new Font object for one of the standard fonts.
|