📄 fglbitmap.ps
字号:
1 f1829(and)X2 f1968(y)X1 f2027(offsets)X2264(to)X2349(be)X2448(added)X2663(to)X2748(the)X2869(current)X3121(raster)X3324(position)X3605(after)X3777(the)X3899(bit-)X554 3818(map)N712(has)X839(been)X1011(drawn.)X1272(The)X1417(\256nal)X1579(argument)X1902(is)X1975(a)X2031(pointer)X2278(to)X2360(the)X2478(bitmap)X2720(image)X2936(itself.)X554 3952(The)N706(bitmap)X955(image)X1179(is)X1260(interpreted)X1636(like)X1784(image)X2008(data)X2170(for)X2292(the)X3 f2418(fglDrawPixels)X1 f2927(command,)X3291(with)X2 f3461(width)X1 f3666(and)X2 f3810(height)X1 f554 4048(corresponding)N1035(to)X1119(the)X1239(width)X1443(and)X1581(height)X1803(arguments)X2159(of)X2248(that)X2390(command,)X2748(and)X2886(with)X2 f3050(type)X1 f3205(set)X3315(to)X3 f3398(GL_BITMAP)X1 f3894(and)X2 f554 4144(format)N1 f791(set)X904(to)X3 f990(GL_COLOR_INDEX)X1 f1736(.)X1801(Modes)X2044(speci\256ed)X2354(using)X3 f2552(fglPixelStore)X1 f3018(affect)X3227(the)X3350(interpretation)X3807(of)X3899(bit-)X554 4240(map)N712(image)X928(data;)X1104(modes)X1333(speci\256ed)X1638(using)X3 f1831(fglPixelTransfer)X1 f2412(do)X2512(not.)X554 4374(If)N634(the)X758(current)X1012(raster)X1217(position)X1500(is)X1579(invalid,)X3 f1847(fglBitmap)X1 f2215(is)X2294(ignored.)X2605(Otherwise,)X2981(the)X3105(lower)X3314(left)X3447(corner)X3680(of)X3774(the)X3899(bit-)X554 4470(map)N712(image)X928(is)X1001(positioned)X1354(at)X1432(the)X1550(window)X1828(coordinates)X1656 4662($)N1716(x)X1776(sub)X1907(w)X1985(\304=\304)X10 f2104(Q)X1 f2144(\304)X2191(x)X2251(sub)X2382(r)X2429(\304-\304)X2530(x)X2590(sub)X2721(o)X2781(\304)X10 f2828(P)X1 f2868($)X1656 4854($)N1716(y)X1776(sub)X1907(w)X1985(\304=\304)X10 f2104(Q)X1 f2144(\304)X2191(y)X2251(sub)X2382(r)X2429(\304-\304)X2530(y)X2590(sub)X2721(o)X2781(\304)X10 f2828(P)X1 f2868($)X554 5046(where)N773($)X835(\()X884(x)X946(sub)X1080(r)X1130(,)X1173(y)X1236(sub)X1370(r)X1420(\))X1470($)X1533(is)X1609(the)X1730(raster)X1932(position)X2212(and)X2351($)X2414(\()X2464(x)X2527(sub)X2661(o)X2724(,)X2767(y)X2830(sub)X2964(o)X3027(\))X3077($)X3140(is)X3216(the)X3337(bitmap)X3582(origin.)X3836(Frag-)X554 5142(ments)N770(are)X894(then)X1057(generated)X1395(for)X1514(each)X1687(pixel)X1872(corresponding)X2355(to)X2441(a)X2501(1)X2565(\(one\))X2759(in)X2845(the)X2967(bitmap)X3213(image.)X3473(These)X3689(fragments)X554 5238(are)N678(generated)X1016(using)X1214(the)X1337(current)X1590(raster)X2 f1794(z)X1 f1850(coordinate,)X2234(color)X2424(or)X2516(color)X2706(index,)X2929(and)X3070(current)X3324(raster)X3529(texture)X3778(coordi-)X554 5334(nates.)N784(They)X974(are)X1098(then)X1261(treated)X1505(just)X1645(as)X1737(if)X1811(they)X1973(had)X2113(been)X2289(generated)X2626(by)X2730(a)X2790(point,)X2998(line,)X3162(or)X3253(polygon,)X3559(including)X3885(tex-)X554 5430(ture)N699(mapping,)X554 5526(fogging,)N843(and)X979(all)X1079(per-fragment)X1519(operations)X1873(such)X2040(as)X2127(alpha)X2321(and)X2457(depth)X2655(testing.)X554 5660(After)N746(the)X866(bitmap)X1110(has)X1239(been)X1414(drawn,)X1658(the)X2 f1779(x)X1 f1838(and)X2 f1977(y)X1 f2036(coordinates)X2429(of)X2519(the)X2640(current)X2891(raster)X3093(position)X3373(are)X3495(offset)X3701(by)X2 f3804(xmove)X1 f554 5756(and)N2 f698(ymove)X1 f904(.)X972(No)X1098(change)X1354(is)X1435(made)X1637(to)X1727(the)X2 f1853(z)X1 f1912(coordinate)X2279(of)X2374(the)X2500(current)X2756(raster)X2963(position,)X3268(or)X3362(to)X3451(the)X3576(current)X3831(raster)X554 5852(color,)N759(texture)X1002(coordinates,)X1412(or)X1499(index.)X266 6144(Page)N442(1)X3577(July)X3730(22,)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(F)N268(FG)X310(GL)X364(LB)X410(BI)X460(IT)X486(TM)X532(MA)X598(AP)X652(P)X698(\()X700(\()X736(\))X738(\))X1885(U)X1887(UN)X1941(NI)X1995(IX)X2021(X)X2093(S)X2095(Sy)X2137(ys)X2175(st)X2205(te)X2227(em)X2261(m)X2337(V)X2339(V)X3514(F)X3516(FG)X3558(GL)X3612(LB)X3658(BI)X3708(IT)X3734(TM)X3780(MA)X3846(AP)X3900(P)X3946(\()X3948(\()X3984(\))X3986(\))X266 864(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X10 s554 960(To)N667(set)X780(a)X840(valid)X1024(raster)X1227(position)X1508(outside)X1763(the)X1885(viewport,)X2214(\256rst)X2362(set)X2475(a)X2535(valid)X2719(raster)X2922(position)X3203(inside)X3419(the)X3542(viewport,)X3872(then)X554 1056(call)N3 f691(fglBitmap)X1 f1054(with)X1217(NULL)X1452(as)X1540(the)X2 f1658(bitmap)X1 f1900(parameter)X2242(and)X2378(with)X2 f2540(xmove)X1 f2766(and)X2 f2902(ymove)X1 f3128(set)X3237(to)X3319(the)X3437(offsets)X3671(of)X3758(the)X3876(new)X554 1152(raster)N753(position.)X1050(This)X1212(technique)X1544(is)X1617(useful)X1833(when)X2027(panning)X2305(an)X2401(image)X2617(around)X2860(the)X2978(viewport.)X9 s266 1286(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 1382(GL_INVALID_VALUE)N1 f1396(is)X1469(generated)X1802(if)X2 f1871(width)X1 f2068(or)X2 f2155(height)X1 f2375(is)X2448(negative.)X3 f554 1516(GL_INVALID_OPERATION)N1 f1607(is)X1687(generated)X2027(if)X3 f2104(fglBitmap)X1 f2474(is)X2555(executed)X2869(between)X3165(the)X3291(execution)X3631(of)X3 f3726(fglBegin)X1 f554 1612(and)N690(the)X808(corresponding)X1287(execution)X1619(of)X3 f1706(fglEnd)X1 f1936(.)X9 s266 1746(A)N268(AS)X322(SS)X364(SO)X406(OC)X460(CI)X510(IA)X536(AT)X590(TE)X636(ED)X682(D)X766(G)X768(GE)X822(ET)X868(TS)X914(S)X3 f10 s554 1842(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_CURRENT_RASTER_POSITION)X554 1938(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_CURRENT_RASTER_COLOR)X554 2034(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_CURRENT_RASTER_INDEX)X554 2130(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_CURRENT_RASTER_TEXTURE_COORDS)X554 2226(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_CURRENT_RASTER_POSITION_VALID)X1 f9 s266 2360(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 2456(fglDrawPixels)N1 f1035(,)X3 f1075(fglPixelStore)X1 f1516(,)X3 f1556(fglPixelTransfer)X1 f2117(,)X3 f2157(fglRasterPos)X1 f266 6144(July)N419(22,)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 + -