Searched refs:FontData (Results 1 – 2 of 2) sorted by relevance
427 static OSFontHeader* FontData; variable449 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_SJIS); in DEMOInitROMFont()453 FontData = OSAlloc(OS_FONT_SIZE_SJIS); in DEMOInitROMFont()459 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_ANSI); in DEMOInitROMFont()463 FontData = OSAlloc(OS_FONT_SIZE_ANSI); in DEMOInitROMFont()469 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_UTF); in DEMOInitROMFont()473 FontData = OSAlloc(OS_FONT_SIZE_UTF); in DEMOInitROMFont()477 if (!FontData) in DEMOInitROMFont()481 if (!OSInitFont(FontData)) in DEMOInitROMFont()486 FontSize = (s16) (FontData->cellWidth * 16); in DEMOInitROMFont()[all …]
35 static OSFontHeader* FontData; variable40 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 …]