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

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

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