Example #1
0
// GetKerning (https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf_27.html#SEC27)
func (f *Font) GetKerning() bool {
	return int(C.TTF_GetFontKerning(f.f)) == 1
}
Example #2
0
File: ttf.go Project: willemvds/sdl
func (f *Font) GetKerning() int {
	return int(C.TTF_GetFontKerning(f.c))
}