Home
last modified time | relevance | path

Searched refs:KFONT_WD (Results 1 – 1 of 1) sorted by relevance

/RvlSDK-3.3/build/demos/kpaddemo/src/
Dkfont.c26 #define KFONT_WD 24 // SDK fixed macro
28 #define KFONT_SHEET_WD (KFONT_WD * KFONT_MAX) // Support up to 1024.
79 s1_ofs = 0.15f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
80 s2_ofs = -0.30f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
86 s1_ofs = 0.05f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
87 s2_ofs = -0.10f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture()
97 ofs = ( KFONT_WD - wd ) / 2 ; in init_kfont_texture()
100 tex_p = (void*)( (u32)tex_p + KFONT_WD / 8 * 32 ) ; in init_kfont_texture()
210 s1 = (f32)( i * KFONT_WD ) / (f32)KFONT_SHEET_WD + s1_ofs ; in draw_kfont_one()
211 s2 = s1 + (f32)KFONT_WD / (f32)KFONT_SHEET_WD + s2_ofs ; in draw_kfont_one()