Lines Matching refs:width

230     u16         width  = 64;  in DEMOLoadFont()  local
231 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont()
236 width, // weight in DEMOLoadFont()
265 MTXScale( fontTMtx, 1.0f/(float)width, 1.0f/(float)height, 1.0f ); in DEMOLoadFont()
281 void DEMOSetupScrnSpc( s32 width, s32 height, float depth ) in DEMOSetupScrnSpc() argument
296 MTXOrtho( pMtx, top, (float)height, 0.0f, (float)width, 0.0f, -depth ); in DEMOSetupScrnSpc()
312 void DEMOInitCaption( s32 font_type, s32 width, s32 height ) in DEMOInitCaption() argument
315 DEMOSetupScrnSpc( width, height, 100.0f ); in DEMOInitCaption()
620 s32 width; in DEMORFPuts() local
638 width = 0; in DEMORFPuts()
643 width = 0; in DEMORFPuts()
651 width += 8 * (FontSize + FontSpace); in DEMORFPuts()
652 width -= width % (8 * (FontSize + FontSpace)); in DEMORFPuts()
660 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPuts()
661 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPuts()
663 return (width + 15) / 16; in DEMORFPuts()
672 s32 width; in DEMORFPutsEx() local
693 width = 0; in DEMORFPutsEx()
699 width = 0; in DEMORFPutsEx()
708 if (maxWidth < width + FontSize * cx / FontData->cellWidth + FontSpace) in DEMORFPutsEx()
710 width = 0; in DEMORFPutsEx()
715 DrawFontChar(x + width, y, z, xChar, yChar); in DEMORFPutsEx()
716 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPutsEx()
718 return (width + 15) / 16; in DEMORFPutsEx()
764 s32 width; in DEMODumpROMFont() local
789 string = OSGetFontTexel(string, image, 0, 48 / 4, &width); in DEMODumpROMFont()
799 OSReport("\nwidth %d\n", width); in DEMODumpROMFont()
818 s32 width; in DEMOGetRFTextWidth() local
823 maxWidth = width = 0; in DEMOGetRFTextWidth()
828 if (maxWidth < width) in DEMOGetRFTextWidth()
830 maxWidth = width; in DEMOGetRFTextWidth()
832 width = 0; in DEMOGetRFTextWidth()
835 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMOGetRFTextWidth()
837 if (maxWidth < width) in DEMOGetRFTextWidth()
839 maxWidth = width; in DEMOGetRFTextWidth()