Some terminology fixes.

This commit is contained in:
Pietro Gagliardi 2015-12-23 01:16:18 -05:00
parent 8d01b16f07
commit a88de722b3
1 changed files with 6 additions and 5 deletions

11
draw.go
View File

@ -501,11 +501,12 @@ func (c *DrawContext) Restore() {
// FontFamilies represents an enumerator over the font families // FontFamilies represents an enumerator over the font families
// available for use by package ui. A FontFamilies object behaves // available for use by package ui. A FontFamilies object behaves
// similarly to a []string, except that since family names are loaded // similarly to a []string, except that since family names are loaded
// on demand (depending on the backend), it is not an actual []string. // on demand (depending on the operating system), it is not an
// You call ListFontFamilies to obtain a FontFamilies object, which // actual []string. You call ListFontFamilies to obtain a FontFamilies
// should reflect the available fonts at the time of the call. Use // object, which should reflect the available fonts at the time of the
// NumFamilies to get the number of families, and Family to get the // call (TODO verify). Use NumFamilies to get the number of families,
// name of a given family by index. When finished, call Free. // 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 // There is no guarantee that the list of families is sorted. You will
// need to do sorting yourself if you need it. // need to do sorting yourself if you need it.