ws ~master (2021-08-13T10:04:01Z)
Dub
Repo
Font
ws
x
font
Undocumented in source.
version(Posix)
class
Font {
Display
*
dpy
;
int
ascent
;
int
descent
;
uint
h
;
XftFont
*
xfont
;
FcPattern
*
pattern
;
this
(Display* dpy, int screen, string name);
this
(Display* dpy, int screen, string name, FcPattern* pattern);
int
[
2
]
size
(string text);
int
width
(string text);
void
destroy
();
}
Constructors
this
this
(Display* dpy, int screen, string name)
Undocumented in source.
this
this
(Display* dpy, int screen, string name, FcPattern* pattern)
Undocumented in source.
Members
Functions
destroy
void
destroy
()
Undocumented in source. Be warned that the author may not have intended to support it.
size
int
[
2
]
size
(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
width
int
width
(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
ascent
int
ascent
;
Undocumented in source.
descent
int
descent
;
Undocumented in source.
dpy
Display
*
dpy
;
Undocumented in source.
h
uint
h
;
Undocumented in source.
pattern
FcPattern
*
pattern
;
Undocumented in source.
xfont
XftFont
*
xfont
;
Undocumented in source.
Meta
Source
See Implementation
ws
x
font
classes
Font