Home
last modified time | relevance | path

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

/RvlSDK-3.3/build/demos/kpaddemo/src/
Dkfont.c28 #define KFONT_SHEET_WD (KFONT_WD * KFONT_MAX) // Support up to 1024. macro
30 #define KFONT_TEX_SIZE (KFONT_SHEET_WD * KFONT_SHEET_HT * 4 / 8)
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()
98 (void)OSGetFontTexel( str_p, tex_p, ofs+1, KFONT_SHEET_WD/4, &wd ) ; in init_kfont_texture()
99 str_p = OSGetFontTexel( str_p, tex_p, ofs, KFONT_SHEET_WD/4, &wd ) ; in init_kfont_texture()
104 …GXInitTexObj( &kfont_tobj, kfont_tex, KFONT_SHEET_WD,KFONT_SHEET_HT, GX_TF_I4, GX_CLAMP,GX_CLAMP, … in init_kfont_texture()
210 s1 = (f32)( i * KFONT_WD ) / (f32)KFONT_SHEET_WD + s1_ofs ; in draw_kfont_one()
[all …]