Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestFonts.c78 static char *fontfile[NUM_SDLGFX_FONTS] = { variable
138 if (strcmp(fontfile[i],"default")) { in LoadFontFile()
140 sprintf(filename,"../Fonts/%s",fontfile[i]); in LoadFontFile()
143 sprintf(filename,"..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
146 sprintf(filename,"..\\..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
149 sprintf(filename,"..\\..\\..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
152 fprintf(stderr,"Cannot find fontfile: %s\n", fontfile[i]); in LoadFontFile()
194 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
224 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
255 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
[all …]

Completed in 2 milliseconds