Some terminology fixes.
This commit is contained in:
parent
8d01b16f07
commit
a88de722b3
11
draw.go
11
draw.go
|
@ -501,11 +501,12 @@ func (c *DrawContext) Restore() {
|
|||
// FontFamilies represents an enumerator over the font families
|
||||
// available for use by package ui. A FontFamilies object behaves
|
||||
// similarly to a []string, except that since family names are loaded
|
||||
// on demand (depending on the backend), it is not an actual []string.
|
||||
// You call ListFontFamilies to obtain a FontFamilies object, which
|
||||
// should reflect the available fonts at the time of the call. Use
|
||||
// NumFamilies to get the number of families, and Family to get the
|
||||
// name of a given family by index. When finished, call Free.
|
||||
// on demand (depending on the operating system), it is not an
|
||||
// actual []string. You call ListFontFamilies to obtain a FontFamilies
|
||||
// object, which should reflect the available fonts at the time of the
|
||||
// call (TODO verify). Use NumFamilies to get the number of families,
|
||||
// and Family to get the name of a given family by index. When
|
||||
// finished, call Free.
|
||||
//
|
||||
// There is no guarantee that the list of families is sorted. You will
|
||||
// need to do sorting yourself if you need it.
|
||||
|
|
Loading…
Reference in New Issue