Lines Matching refs:width
224 u16 width = 64; in DEMOLoadFont() local
225 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont()
230 width, // weight in DEMOLoadFont()
259 MTXScale( fontTMtx, 1.0f/(float)width, 1.0f/(float)height, 1.0f ); in DEMOLoadFont()
275 void DEMOSetupScrnSpc( s32 width, s32 height, float depth ) in DEMOSetupScrnSpc() argument
290 MTXOrtho( pMtx, top, (float)height, 0.0f, (float)width, 0.0f, -depth ); in DEMOSetupScrnSpc()
306 void DEMOInitCaption( s32 font_type, s32 width, s32 height ) in DEMOInitCaption() argument
309 DEMOSetupScrnSpc( width, height, 100.0f ); in DEMOInitCaption()
614 s32 width; in DEMORFPuts() local
632 width = 0; in DEMORFPuts()
637 width = 0; in DEMORFPuts()
645 width += 8 * (FontSize + FontSpace); in DEMORFPuts()
646 width -= width % (8 * (FontSize + FontSpace)); in DEMORFPuts()
654 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPuts()
655 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPuts()
657 return (width + 15) / 16; in DEMORFPuts()
666 s32 width; in DEMORFPutsEx() local
687 width = 0; in DEMORFPutsEx()
693 width = 0; in DEMORFPutsEx()
702 if (maxWidth < width + FontSize * cx / FontData->cellWidth + FontSpace) in DEMORFPutsEx()
704 width = 0; in DEMORFPutsEx()
709 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPutsEx()
710 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPutsEx()
712 return (width + 15) / 16; in DEMORFPutsEx()
758 s32 width; in DEMODumpROMFont() local
783 string = OSGetFontTexel(string, image, 0, 48 / 4, &width); in DEMODumpROMFont()
793 OSReport("\nwidth %d\n", width); in DEMODumpROMFont()
812 s32 width; in DEMOGetRFTextWidth() local
817 maxWidth = width = 0; in DEMOGetRFTextWidth()
822 if (maxWidth < width) in DEMOGetRFTextWidth()
824 maxWidth = width; in DEMOGetRFTextWidth()
826 width = 0; in DEMOGetRFTextWidth()
829 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMOGetRFTextWidth()
831 if (maxWidth < width) in DEMOGetRFTextWidth()
833 maxWidth = width; in DEMOGetRFTextWidth()