Home
last modified time | relevance | path

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

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