Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/demos/kpaddemo/src/
Dkfont.c25 #define KFONT_WD 24 // SDK fixed macro
27 #define KFONT_SHEET_WD (KFONT_WD * KFONT_MAX) // Support up to 1024.
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()
96 ofs = ( KFONT_WD - wd ) / 2 ; in init_kfont_texture()
99 tex_p = (void*)( (u32)tex_p + KFONT_WD / 8 * 32 ) ; in init_kfont_texture()
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()