📄 glutbitmapcharacter.ps
字号:
2820(pixel)X3001(rectangle.)X3337(The)X3483(exact)X3674(bitmaps)X3948(to)X874 2206(be)N970(used)X1137(is)X1210(de\256ned)X1466(by)X1566(the)X1684(standard)X1976(X)X2054(glyph)X2256(bitmaps)X2529(for)X2643(the)X2761(X)X2839(font)X2988(named:)X874 2398 0.0903(-misc-\256xed-medium-r-normal--13-120-75-75-C-80-iso8859-1)AN3 f554 2628(GLUT_BITMAP_9_BY_15)N1 f874 2724(A)N952(\256xed)X1133(width)X1336(font)X1486(with)X1649(every)X1849(character)X2166(\256tting)X2377(in)X2460(an)X2557(9)X2618(by)X2719(15)X2820(pixel)X3001(rectangle.)X3337(The)X3483(exact)X3674(bitmaps)X3948(to)X874 2820(be)N970(used)X1137(is)X1210(de\256ned)X1466(by)X1566(the)X1684(standard)X1976(X)X2054(glyph)X2256(bitmaps)X2529(for)X2643(the)X2761(X)X2839(font)X2988(named:)X874 3012 0.0903(-misc-\256xed-medium-r-normal--15-140-75-75-C-90-iso8859-1)AN3 f554 3242(GLUT_BITMAP_TIMES_ROMAN_10)N1 f874 3338(A)N959(10-point)X1257(proportional)X1680(spaced)X1926(Times)X2153(Roman)X2411(font.)X2587(The)X2739(exact)X2936(bitmaps)X3216(to)X3306(be)X3410(used)X3585(is)X3666(de\256ned)X3930(by)X874 3434(the)N992(standard)X1284(X)X1362(glyph)X1564(bitmaps)X1837(for)X1951(the)X2069(X)X2147(font)X2296(named:)X874 3626 0.1071(-adobe-times-medium-r-normal--10-100-75-75-p-54-iso8859-1)AN3 f554 3856(GLUT_BITMAP_TIMES_ROMAN_24)N1 f874 3952(A)N959(24-point)X1257(proportional)X1680(spaced)X1926(Times)X2153(Roman)X2411(font.)X2587(The)X2739(exact)X2936(bitmaps)X3216(to)X3306(be)X3410(used)X3585(is)X3666(de\256ned)X3930(by)X874 4048(the)N992(standard)X1284(X)X1362(glyph)X1564(bitmaps)X1837(for)X1951(the)X2069(X)X2147(font)X2296(named:)X874 4240 0.1053(-adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-1)AN3 f554 4470(GLUT_BITMAP_HELVETICA_10)N1 f874 4566(A)N961(10-point)X1261(proportional)X1686(spaced)X1934(Helvetica)X2271(font.)X2449(The)X2603(exact)X2802(bitmaps)X3084(to)X3175(be)X3280(used)X3456(is)X3538(de\256ned)X3803(by)X3912(the)X874 4662(standard)N1166(X)X1244(glyph)X1446(bitmaps)X1719(for)X1833(the)X1951(X)X2029(font)X2178(named:)X874 4854 0.1271(-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1)AN3 f554 5084(GLUT_BITMAP_HELVETICA_12)N1 f874 5180(A)N961(12-point)X1261(proportional)X1686(spaced)X1934(Helvetica)X2271(font.)X2449(The)X2603(exact)X2802(bitmaps)X3084(to)X3175(be)X3280(used)X3456(is)X3538(de\256ned)X3803(by)X3912(the)X874 5276(standard)N1166(X)X1244(glyph)X1446(bitmaps)X1719(for)X1833(the)X1951(X)X2029(font)X2178(named:)X874 5468 0.1271(-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1)AN3 f554 5698(GLUT_BITMAP_HELVETICA_18)N1 f874 5794(A)N961(18-point)X1261(proportional)X1686(spaced)X1934(Helvetica)X2271(font.)X2449(The)X2603(exact)X2802(bitmaps)X3084(to)X3175(be)X3280(used)X3456(is)X3538(de\256ned)X3803(by)X3912(the)X266 6144(Page)N442(1)X3577(July)X3730(23,)X3850(1997)X2 p%%Page: 2 210 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(g)N268(gl)X306(lu)X328(ut)X366(tB)X388(Bi)X438(it)X460(tm)X482(ma)X540(ap)X574(pC)X612(Ch)X662(ha)X700(ar)X734(ra)X760(ac)X794(ct)X828(te)X850(er)X884(r)X914(\()X916(\()X946(3)X948(3G)X986(GL)X1040(LU)X1086(UT)X1140(T)X1190(\))X1192(\))X1942(G)X1944(GL)X1998(LU)X2044(UT)X2098(T)X2174(\()X2176(\()X2206(3)X2208(3.)X2246(.5)X2266(5)X2308(\))X2310(\))X3060(g)X3062(gl)X3100(lu)X3122(ut)X3160(tB)X3182(Bi)X3232(it)X3254(tm)X3276(ma)X3334(ap)X3368(pC)X3406(Ch)X3456(ha)X3494(ar)X3528(ra)X3554(ac)X3588(ct)X3622(te)X3644(er)X3678(r)X3708(\()X3710(\()X3740(3)X3742(3G)X3780(GL)X3834(LU)X3880(UT)X3934(T)X3984(\))X3986(\))X10 s874 864(standard)N1166(X)X1244(glyph)X1446(bitmaps)X1719(for)X1833(the)X1951(X)X2029(font)X2178(named:)X874 1056 0.1271(-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1)AN554 1190(Rendering)N924(a)X996(nonexistent)X1401(character)X1733(has)X1877(no)X1994(effect.)X2255(glutBitmapCharacter)X2964(automatically)X3437(sets)X3594(the)X3729(OpenGL)X554 1286(unpack)N807(pixel)X988(storage)X1241(modes)X1471(it)X1535(needs)X1738(appropriately)X2186(and)X2322(saves)X2516(and)X2652(restores)X2922(the)X3040(previous)X3336(modes)X3565(before)X3791(return-)X554 1382(ing.)N698(The)X845(generated)X1180(call)X1318(to)X1402(glBitmap)X1721(will)X1867(adjust)X2080(the)X2200(current)X2450(raster)X2651(position)X2930(based)X3135(on)X3237(the)X3357(width)X3561(of)X3651(the)X3772(charac-)X554 1478(ter.)N9 s266 1612(E)N268(EX)X314(XA)X368(AM)X422(MP)X488(PL)X530(LE)X576(E)X10 s554 1708(Here)N731(is)X804(a)X860(routine)X1107(that)X1247(shows)X1467(how)X1625(to)X1707(render)X1933(a)X1989(string)X2191(of)X2278(ASCII)X2507(text)X2647(with)X2809(glutBitmapCharacter:)X594 1842(void)N594 1938(output\(int)N929(x,)X1009(int)X1113(y,)X1193(char)X1352(*string\))X594 2034({)N634 2130(int)N738(len,)X876(i;)X634 2322(glRasterPos2f\(x,)N1190(y\);)X634 2418(len)N752(=)X817(\(int\))X975(strlen\(string\);)X634 2514(for)N748(\(i)X817(=)X882(0;)X964(i)X1006(<)X1071(len;)X1211(i++\))X1370({)X674 2610 0.0710(glutBitmapCharacter\(GLUT_BITMAP_HELVETICA_18,)AN2579(string[i]\);)X634 2706(})N594 2802(})N9 s266 2936(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X10 s554 3032(glutBitmapWidth,)N1153(glutStrokeCharacter)X9 s266 3166(A)N268(AU)X322(UT)X376(TH)X422(HO)X476(OR)X530(R)X10 s554 3262(Mark)N748(J.)X819(Kilgard)X1084(\(mjk@sgi.com\))X266 6144(July)N419(23,)X539(1997)X3794(Page)X3970(2)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X2 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -