Searched refs:FontData (Results 1 – 3 of 3) sorted by relevance
| /RvlSDK-3.1/build/libraries/demo/src/ |
| D | DEMOPuts.c | 413 static OSFontHeader* FontData; variable 435 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_SJIS); in DEMOInitROMFont() 439 FontData = OSAlloc(OS_FONT_SIZE_SJIS); in DEMOInitROMFont() 445 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_ANSI); in DEMOInitROMFont() 449 FontData = OSAlloc(OS_FONT_SIZE_ANSI); in DEMOInitROMFont() 455 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_UTF); in DEMOInitROMFont() 459 FontData = OSAlloc(OS_FONT_SIZE_UTF); in DEMOInitROMFont() 463 if (!FontData) in DEMOInitROMFont() 467 if (!OSInitFont(FontData)) in DEMOInitROMFont() 472 FontSize = (s16) (FontData->cellWidth * 16); in DEMOInitROMFont() [all …]
|
| /RvlSDK-3.1/build/demos/osdemo/src/ |
| D | fontdemo1.c | 35 static OSFontHeader* FontData; variable 40 s16 posRight = (s16) (posLeft + FontData->cellWidth); in DrawCell() 42 s16 posBottom = (s16) (posTop + FontData->cellHeight); in DrawCell() 45 s16 texRight = (s16) (xChar + FontData->cellWidth); in DrawCell() 47 s16 texBottom = (s16) (yChar + FontData->cellHeight); in DrawCell() 72 FontData->sheetWidth, // weight in LoadSheet() 73 FontData->sheetHeight, // height in LoadSheet() 74 (GXTexFmt) FontData->sheetFormat, // format in LoadSheet() 90 MTXScale(mtx, 1.0f / FontData->sheetWidth, in LoadSheet() 91 1.0f / FontData->sheetHeight, in LoadSheet() [all …]
|
| /RvlSDK-3.1/build/demos/carddemo/src/ |
| D | listdemo.c | 324 OSFontHeader* FontData; // Pointer to ROM font data variable 400 y += FontData->leading * size / FontData->cellWidth; in DrawMenu() 405 …DrawRectangle(x, y - FontData->ascent * size / FontData->cellWidth, cx, FontData->leading * size /… in DrawMenu() 435 y += FontData->leading * size / FontData->cellWidth; in DrawMessage() 569 DrawRectangle(16, 200 - FontData->ascent, 458, FontData->leading, Green); in ProbeDrawTick() 576 DrawRectangle(16, 224 - FontData->ascent, 458, FontData->leading, Green); in ProbeDrawTick() 583 DrawRectangle(16, 250 - FontData->ascent, 458, 2 * FontData->leading + 15, Green); in ProbeDrawTick() 591 DrawRectangle(220, 354 - FontData->ascent, 192, FontData->leading, Green); in ProbeDrawTick() 606 DrawRectangle(220, 378 - FontData->ascent, 192, FontData->leading, Green); in ProbeDrawTick() 618 DEMOSetROMFontSize((s16) FontData->cellWidth, -1); in ProbeDrawTick() [all …]
|