📄 fgllinestipple.ps
字号:
1642(times)X1842(before)X2075(the)X2200(next)X2365(bit)X2476(in)X2565(the)X2689(pattern)X2938(is)X3017(used.)X2 f3230(factor)X1 f3447(is)X3526(clamped)X3824(to)X3912(the)X825 1996(range)N1024([1,)X1131(256])X1298(and)X1434(defaults)X1708(to)X1790(1.)X2 f554 2130(pattern)N1 f825(Speci\256es)X1143(a)X1208(16-bit)X1428(integer)X1680(whose)X1914(bit)X2027(pattern)X2279(determines)X2660(which)X2885(fragments)X3236(of)X3333(a)X3399(line)X3549(will)X3703(be)X3809(drawn)X825 2226(when)N1019(the)X1137(line)X1277(is)X1350(rasterized.)X1723(Bit)X1840(zero)X1999(is)X2072(used)X2239(\256rst;)X2405(the)X2523(default)X2766(pattern)X3009(is)X3082(all)X3182(1's.)X9 s266 2360(D)N268(DE)X322(ES)X368(SC)X410(CR)X460(RI)X510(IP)X536(PT)X578(TI)X624(IO)X650(ON)X704(N)X10 s554 2456(Line)N727(stippling)X1033(masks)X1260(out)X1389(certain)X1635(fragments)X1983(produced)X2309(by)X2416(rasterization;)X2862(those)X3058(fragments)X3406(will)X3557(not)X3686(be)X3789(drawn.)X554 2552(The)N701(masking)X994(is)X1069(achieved)X1377(by)X1479(using)X1674(three)X1857(parameters:)X2273(the)X2392(16-bit)X2604(line)X2745(stipple)X2979(pattern)X2 f3223(pattern)X1 f3454(,)X3495(the)X3614(repeat)X3832(count)X2 f554 2648(factor)N1 f745(,)X785(and)X921(an)X1017(integer)X1260(stipple)X1493(counter)X1754($s$.)X554 2782(Counter)N871($s$)X1041(is)X1154(reset)X1366(to)X1488(0)X1588(whenever)X3 f1961(fglBegin)X1 f2305(is)X2418(called,)X2690(and)X2866(before)X3132(each)X3340(line)X3520(segment)X3847(of)X3974(a)X3 f554 2878(fglBegin)N1 f838(\()X3 f865(GL_LINES)X1 f1259(\)/)X3 f1308(fglEnd)X1 f1560(sequence)X1877(is)X1952(generated.)X2327(It)X2397(is)X2471(incremented)X2889(after)X3058(each)X3227(fragment)X3538(of)X3626(a)X3683(unit)X3828(width)X554 2974(aliased)N802(line)X947(segment)X1239(is)X1317(generated,)X1675(or)X1767(after)X1940(each)X2113($i$)X2240(fragments)X2586(of)X2678(an)X2779($i$)X2906(width)X3113(line)X3259(segment)X3552(are)X3677(generated.)X554 3070(The)N699($i$)X821(fragments)X1162(associated)X1512(with)X1674(count)X1872($s$)X2003(are)X2122(masked)X2387(out)X2509(if)X2 f1556 3262(pattern)N1 f1807(bit)X1911($\(s)X2029(\304/\304)X2125("factor"\))X2426(\304roman)X2678(mod\304)X2867(16$)X554 3454(is)N627(0,)X707(otherwise)X1039(these)X1224(fragments)X1565(are)X1684(sent)X1833(to)X1915(the)X2033(frame)X2241(buffer.)X2498(Bit)X2615(zero)X2774(of)X2 f2861(pattern)X1 f3112(is)X3185(the)X3303(least)X3470(signi\256cant)X3823(bit.)X554 3588(Antialiased)N959(lines)X1150(are)X1289(treated)X1548(as)X1656(a)X1733(sequence)X2069(of)X2177($1)X2298(times)X2512(width$)X2775(rectangles)X3142(for)X3277(purposes)X3603(of)X3711(stippling.)X554 3684(Whether)N853(rectagle)X1130($s$)X1263(is)X1338(rasterized)X1673(or)X1762(not)X1886(depends)X2171(on)X2273(the)X2393(fragment)X2704(rule)X2850(described)X3179(for)X3294(aliased)X3538(lines,)X3730(counting)X554 3780(rectangles)N900(rather)X1108(than)X1266(groups)X1504(of)X1591(fragments.)X554 3914(To)N668(enable)X903(and)X1044(disable)X1296(line)X1441(stippling,)X1765(call)X3 f1907(fglEnable)X1 f2261(and)X3 f2403(fglDisable)X1 f2771(with)X2939(argument)X3 f3268(GL_LINE_STIPPLE)X1 f3990(.)X554 4010(When)N770(enabled,)X1064(the)X1186(line)X1330(stipple)X1567(pattern)X1814(is)X1891(applied)X2151(as)X2242(described)X2574(above.)X2830(When)X3046(disabled,)X3357(it)X3425(is)X3502(as)X3593(if)X3666(the)X3787(pattern)X554 4106(were)N731(all)X831(1's.)X989(Initially,)X1282(line)X1422(stippling)X1721(is)X1794(disabled.)X9 s266 4240(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 4336(GL_INVALID_OPERATION)N1 f1602(is)X1677(generated)X2012(if)X3 f2083(fglLineStipple)X1 f2588(is)X2663(executed)X2971(between)X3261(the)X3381(execution)X3715(of)X3 f3805(fglBe-)X554 4432(gin)N1 f680(and)X816(the)X934(corresponding)X1413(execution)X1745(of)X3 f1832(fglEnd)X1 f2062(.)X9 s266 4566(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 4662(fglGet)N1 f788(with)X950(argument)X3 f1273(GL_LINE_STIPPLE_PATTERN)X554 4758(fglGet)N1 f788(with)X950(argument)X3 f1273 -0.1548(GL_LINE_STIPPLE_REPEAT)AX554 4854(fglIsEnabled)N1 f1008(with)X1170(argument)X3 f1493(GL_LINE_STIPPLE)X1 f9 s266 4988(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 5084(fglLineWidth)N1 f1015(,)X3 f1055(fglPolygonStipple)X1 f266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X1 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -