Beispiel #1
0
func (f *Font) GetAscent() int {
	var i int

	i = int(C.al_get_font_ascent((*C.ALLEGRO_FONT)(f)))

	return i
}
Beispiel #2
0
func (f *Font) GetAscent() int32 {
	return int32(C.al_get_font_ascent((*C.ALLEGRO_FONT)(unsafe.Pointer(f))))
}