Lines Matching refs:f32

35 static f32	canvas_wd,canvas_ht ;	// Virtual canvas size
36 static f32 cursor_wd,cursor_ht ; // Cursor size
38 static f32 cursor_x1,cursor_y1 ; // Coordinate of upper leftmost cursor
39 static f32 letter_ox,letter_oy ; // Offset from the cursor position to the character position
40 static f32 letter_wd,letter_ht ; // Character size
46 static f32 s1_ofs ; // Depending on whether the main unit is the Japanese or USA version:
47 static f32 s2_ofs ; // Adjustments are made to display different fonts
48 static f32 t1_ofs ; // �\���������s��
78 s1_ofs = 0.15f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
79 s2_ofs = -0.30f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
85 s1_ofs = 0.05f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
86 s2_ofs = -0.10f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
119 void init_draw_kfont( u16 fb_width, u16 fb_height, f32 lt_width, f32 lt_height ) in init_draw_kfont()
136 cursor_x1 = (f32)cursor_nx * cursor_wd * -0.5f ; in init_draw_kfont()
137 cursor_y1 = (f32)cursor_ny * cursor_ht * -0.5f ; in init_draw_kfont()
185 static void draw_kfont_one( f32 cx, f32 cy, char c ) in draw_kfont_one()
187 f32 x1,x2, y1,y2, s1,s2 ; in draw_kfont_one()
203 s1 = (f32)( i * KFONT_WD ) / (f32)KFONT_SHEET_WD + s1_ofs ; in draw_kfont_one()
204 s2 = s1 + (f32)KFONT_WD / (f32)KFONT_SHEET_WD + s2_ofs ; in draw_kfont_one()
224 s32 draw_kfont_s32( f32 cx, f32 cy, GXColor clr, s32 val ) in draw_kfont_s32()
227 f32 x ; in draw_kfont_s32()
263 s32 draw_kfont_f32( f32 cx, f32 cy, GXColor clr, f32 val, s32 keta ) in draw_kfont_f32()
266 f32 x, vf ; in draw_kfont_f32()
290 x = cx + 1.0f + (f32)k ; in draw_kfont_f32()
318 void draw_kfont_bit( f32 cx, f32 cy, GXColor clr, u32 val, s32 keta ) in draw_kfont_bit()
322 f32 x = cx ; in draw_kfont_bit()
346 void draw_kfont_letter( f32 cx, f32 cy, GXColor clr, char *str ) in draw_kfont_letter()
348 f32 x = cx ; in draw_kfont_letter()
364 f32 calc_kfont_x1( f32 cx ) in calc_kfont_x1()
369 f32 calc_kfont_y1( f32 cy ) in calc_kfont_y1()
374 f32 calc_kfont_x2( f32 cx ) in calc_kfont_x2()
379 f32 calc_kfont_y2( f32 cy ) in calc_kfont_y2()