/* call-seq: * ascent -> Integer * * Return the biggest ascent (baseline to top; in pixels) of all glyphs in * the font. */ VALUE rbgm_ttf_ascent(VALUE self) { TTF_Font *font; Data_Get_Struct(self,TTF_Font,font); return INT2NUM(TTF_FontAscent(font)); }