Example #1
0
// GetHinting (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_25.html#SEC25)
func (f *Font) GetHinting() int {
	return int(C.TTF_GetFontHinting(f.f))
}
Example #2
0
File: ttf.go Project: krig/Go-SDL2
// Set and retrieve FreeType hinter settings
func (f *Font) GetHinting() int {
	result := int(C.TTF_GetFontHinting(f.cfont))
	return result
}