Lines Matching refs:width

215     u16         width  = 64;  in DEMOLoadFont()  local
216 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont()
221 width, // weight in DEMOLoadFont()
250 MTXScale( fontTMtx, 1.0f/(float)width, 1.0f/(float)height, 1.0f ); in DEMOLoadFont()
265 void DEMOSetupScrnSpc( s32 width, s32 height, float depth ) in DEMOSetupScrnSpc() argument
280 MTXOrtho( pMtx, top, (float)height, 0.0f, (float)width, 0.0f, -depth ); in DEMOSetupScrnSpc()
295 void DEMOInitCaption( s32 font_type, s32 width, s32 height ) in DEMOInitCaption() argument
298 DEMOSetupScrnSpc( width, height, 100.0f ); in DEMOInitCaption()
600 s32 width; in DEMORFPuts() local
618 width = 0; in DEMORFPuts()
623 width = 0; in DEMORFPuts()
631 width += 8 * (FontSize + FontSpace); in DEMORFPuts()
632 width -= width % (8 * (FontSize + FontSpace)); in DEMORFPuts()
640 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPuts()
641 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPuts()
643 return (width + 15) / 16; in DEMORFPuts()
652 s32 width; in DEMORFPutsEx() local
673 width = 0; in DEMORFPutsEx()
679 width = 0; in DEMORFPutsEx()
688 if (maxWidth < width + FontSize * cx / FontData->cellWidth + FontSpace) in DEMORFPutsEx()
690 width = 0; in DEMORFPutsEx()
695 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPutsEx()
696 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPutsEx()
698 return (width + 15) / 16; in DEMORFPutsEx()
741 s32 width; in DEMODumpROMFont() local
766 string = OSGetFontTexel(string, image, 0, 48 / 4, &width); in DEMODumpROMFont()
776 OSReport("\nwidth %d\n", width); in DEMODumpROMFont()
795 s32 width; in DEMOGetRFTextWidth() local
800 maxWidth = width = 0; in DEMOGetRFTextWidth()
805 if (maxWidth < width) in DEMOGetRFTextWidth()
807 maxWidth = width; in DEMOGetRFTextWidth()
809 width = 0; in DEMOGetRFTextWidth()
812 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMOGetRFTextWidth()
814 if (maxWidth < width) in DEMOGetRFTextWidth()
816 maxWidth = width; in DEMOGetRFTextWidth()