Try my new website:
www.urcho.com
- the new SIMPLE social network
Sign up
|
358
members |
125
snippets
Search for:
ALL
POPULAR
File Controls
Multiplayer Code
2D Effects
3D Effects
Oldskool demos
Basic Functions
Maths/Physics
Sound
Tutorials
Misc
Username:
Password:
Sign up
Fast scan line fill polygon function
[
back
]
Author:
Andy_A
| Viewed:
280
times | Language:
BlitzPlus
| Category:
Maths/Physics
- Please Login to download this attachment -
;Scan Line Filled Polygon ;public-domain code by Darel Rex Finley, 2007 ;http://alienryderflex.com/polygon_fill/ ; ;Ported to BlitzPlus ;by Andres Amaya Jr. ;2011.02.27 AppTitle "Scan Line Filled Polygon" Global sw = 800 Global sh = 600 Global oX%, oY%, numVerts%, minX#, minY#, maxX#, maxY# Graphics sw,sh,32,2 SeedRnd MilliSecs() Dim polyX#(500), polyY#(500), nodeX%(500) ClsColor 255,248,228 Repeat st% = MilliSecs() dolphin() et% = MilliSecs()-st Color 255,255,255 Text 290,350,"The dolphin polygon has 143 vertices and took "+et+"ms to draw." Text sw/2,sh-20,"Left-Click to continue",True Flip WaitMouse() st = MilliSecs() tree() et = MilliSecs()-st Color 255,255,255 Text 5,400,"The 418 vertice tree polygon and" Text 5,415,"the thick green tree outline, which was drawn" Text 5,430,"twice, rendered in "+et+"ms." Text sw/2,sh-20,"Left-Click to continue",True Flip WaitMouse() st = MilliSecs() pic2() et = MilliSecs()-st Color 255,255,255 Text sw/2,5,"The drawing on the left is a composite of 6 polygons totaling 347 vertices.",True Text sw/2,20,"The drawing on the right is a composite of 7 polygons totaling 205 vertices.",True Text sw/2,35,"The total rendering time for the 552 vertices of both drawings is "+et+"ms.",True Text sw/2,sh-20,"Left-Click to continue",True Flip WaitMouse() st = MilliSecs() rose() et = MilliSecs()-st Color 255,255,255 Text sw/2,20,"The drawing consists of 17 separate polygons totaling 582 vertices.",True Text sw/2,35,"The polygons rendered in "+et+"ms.",True Text sw/2,sh-20,"Left-Click to continue",True Flip WaitMouse() st = MilliSecs() eagle() Color 0,0,0 et = MilliSecs()-st Text sw/2,5,"This is a composite of 8 polygons totaling 615 vertices.",True Text sw/2,20,"The drawing rendered in "+et+"ms",True Text sw/2,sh-20,"Press [ESC] to exit. Any other key to start over.",True Flip WaitKey() Until KeyHit(1) End Function dolphin() ClsColor 32,32,160 Cls LockBuffer BackBuffer() readPoly(1) Color 128,128,128 polyFill(numVerts, minX, minY, maxX, maxY) UnlockBuffer BackBuffer() drawPoly(0,0,0,numVerts,3) Oval 615,177,16,10,True End Function Function tree() Local i% Local r#,g#,b#,dr#,dg#,db# r = 255.: g = 160.: b = 32. dr = .99*r/Float(sh) dg = .99*g/Float(sh) db = .99*b/Float(sh) For i = 0 To sh-1 Color r,g,b Line(0,i,sw,i) r = r-dr g = g-dg b = b-db Next readPoly(2) drawPoly(64,255,0,numVerts,40) drawPoly(80,192,0,numVerts,12) Color 104,75,6 LockBuffer BackBuffer() polyFill(numVerts, minX, minY, maxX, maxY) UnlockBuffer BackBuffer() End Function Function pic2() Local i% ClsColor 140,144,192 Cls Color 200,0,200 readPoly(11) polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0, numVerts, 3) Color 96,224,64 readPoly(12) polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0, numVerts, 3) readPoly(13) drawPoly(0,0,0, numVerts, 3) Color 200,0,200 readPoly(14) polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0, numVerts, 3) Color 192,192,192 readPoly(15) polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0, numVerts, 3) readPoly(16) drawPoly(0,0,0, numVerts, 5) LockBuffer BackBuffer() Color 243,220,65 readPoly(17) polyFill(numVerts, minX, minY, maxX, maxY) Color 124, 84,57 readPoly(18) polyFill(numVerts, minX, minY, maxX, maxY) Color 75, 60, 45 readPoly(19) polyFill(numVerts, minX, minY, maxX, maxY) Color 75, 60, 45 readPoly(20) polyFill(numVerts, minX, minY, maxX, maxY) Color 240, 175, 56 readPoly(21) polyFill(numVerts, minX, minY, maxX, maxY) Color 202, 170, 65 readPoly(22) polyFill(numVerts, minX, minY, maxX, maxY) UnlockBuffer BackBuffer() Color 8,8,0 readPoly(23) drawPoly(0,0,0,numVerts,2) End Function Function rose() ClsColor 0,0,0 Cls readPoly(24) Color 201,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(150,20,32,numVerts,2) readPoly(25) Color 201,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(150,20,32,numVerts,2) LockBuffer BackBuffer() readPoly(26) Color 230,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(220,80,64,numVerts,1) readPoly(27) Color 215,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(220,80,64,numVerts,1) readPoly(28) Color 250,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(255,80,64,numVerts,1) readPoly(29) Color 230,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(220,80,64,numVerts,1) readPoly(30) Color 255,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(31) Color 255,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(32) Color 255,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(33) Color 255,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(34) Color 223,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(35) Color 223,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(36) Color 223,0,0 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(0,0,0,numVerts,1) readPoly(37) Color 60,180,16 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(32,110,32,numVerts,1) readPoly(38) Color 60,180,16 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(32,110,32,numVerts,1) readPoly(39) Color 60,180,16 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(32,110,32,numVerts,1) readPoly(40) Color 64,190,32 polyFill(numVerts, minX, minY, maxX, maxY) drawPoly(80,220,32,numVerts,1) UnlockBuffer BackBuffer() End Function Function eagle() ClsColor 80,160,255 Cls LockBuffer BackBuffer() readPoly(3) ;eagle1 Color 104,75,6 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(4) Color 124,84,4 ;eagle2 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(5) ;eagle3 Color 208,208,160 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(6) ;eagle4 - white Color 255,255,255 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(7) ;eagle5 brn-gry part Color 184,170,137 ;192,179,146 ;184,170,137 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(8) ;eagle6 - eye shadow 1 Color 189,184,163 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(9) ;eagle7 - eye shadow 2 Color 123,113,100 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(10) ;eagle8 - beak Color 242, 177, 43 polyFill(numVerts, minX, minY, maxX, maxY) readPoly(41) ;eagle9 - eye Color 240,225,62 polyFill(numVerts, minX, minY, maxX, maxY) UnlockBuffer BackBuffer() End Function Function polyFill(numSides%, minX#, minY#, maxX#, maxY#) Local pixelY%, i%, j%, nodes%, b1%, b2%, b3%, b4%, temp% Local fpixY#, f1#, f2#, f3# For pixelY = minY To maxY nodes = 0 j = numSides-1 fpixY = Float(pixelY) ;build node list For i = 0 To numSides-1 b1 = polyY(i) < fpixY b2 = polyY(j) >= fpixY b3 = polyY(j) < fpixY b4 = polyY(i) >= fpixY If (b1 And b2) Or (b3 And b4) Then f1 = fpixY - polyY(i) f2 = polyY(j)-polyY(i) f3 = polyX(j)-polyX(i) nodeX(nodes) = Floor(f1/f2*f3+polyX(i)) nodes = nodes + 1 End If j = i Next ;sort nodes i = 0 While i < nodes-1 If nodeX(i)>nodeX(i+1) Then temp = nodeX(i) nodeX(i) = nodeX(i+1) nodeX(i+1) = temp If i > 0 Then i = i - 1 Else i = i + 1 End If Wend ;draw scanline(s) For i = 0 To nodes-1 Step 2 If nodeX(i) <= maxX Then If nodeX(i+1) > minX Then If nodeX(i) < minX Then nodeX(i) = minX If nodeX(i+1) > maxX Then nodeX(i+1) = maxX Line nodeX(i),pixelY,nodeX(i+1),pixelY End If End If Next Next End Function Function min#(flt1#, flt2#) If flt1 < flt2 Then Return flt1 Else Return flt2 End Function Function max#(flt1#, flt2#) If flt2 > flt1 Then Return flt2 Else Return flt1 End Function Function drawGrid() Local x%, y% Color 144,144,144 For x = 20 To sw-20 Step 20 Line x,40,x, sh-40 Next For y = 40 To sh-40 Step 20 Line 20,y,sw-20,y Next End Function Function readPoly(pic%) Local i%, x%, y%, wide%, high% ;select the set of named polygon data coords Select pic Case 1: Restore Dolph : oX = 70: oY = 70 Case 2: Restore Tree : oX = 200: oY = 50 Case 3: Restore eagle1 : oX = -5: oY = 3 ;dk wing Case 4: Restore eagle2 : oX = -2: oY = 6 ;wing hilite Case 5: Restore eagle3 : oX = -9: oY = -2 ;tail Case 6: Restore eagle4 : oX = 160: oy = 344 ;head white Case 7: Restore eagle5 : oX = 160: oy = 344 ;head dk white Case 8: Restore eagle6 : oX = 160: oY = 344 ;shadow 1 Case 9: Restore eagle7 : oX = 160: oY = 344 ;shadow 2 Case 10: Restore eagle8 : oX = 164: oy = 342 ;beak Case 11: Restore fluffy1 : oX = 275: oY = 261 Case 12: Restore fluffy2 : oX = 275: oY = 261 Case 13: Restore fluffy3 : oX = 275: oY = 261 Case 14: Restore fluffy4 : oX = 275: oY = 261 Case 15: Restore fluffy5 : oX = 275: oY = 261 Case 16: Restore fluffy6 : oX = 275: oY = 261 Case 17: Restore fish1 : oX = 445: oY = 290 Case 18: Restore fish2 : oX = 445: oY = 290 Case 19: Restore fish3 : oX = 445: oY = 290 Case 20: Restore fish4 : oX = 445: oY = 290 Case 21: Restore fish5 : oX = 445: oY = 290 Case 22: Restore fish6 : oX = 445: oY = 290 Case 23: Restore fish7 : oX = 445: oY = 290 Case 24: Restore stRose1 : oX = 220: oY = 100 Case 25: Restore stRose2 : oX = 220: oY = 100 Case 26: Restore stRose3 : oX = 220: oY = 100 Case 27: Restore stRose4 : oX = 220: oY = 100 Case 28: Restore stRose5 : oX = 220: oY = 100 Case 29: Restore stRose6 : oX = 220: oY = 100 Case 30: Restore stRose7 : oX = 220: oY = 100 Case 31: Restore stRose8 : oX = 220: oY = 100 Case 32: Restore stRose9 : oX = 220: oY = 100 Case 33: Restore stRose10: oX = 220: oY = 100 Case 34: Restore stRose11: oX = 220: oY = 100 Case 35: Restore stRose12: oX = 220: oY = 100 Case 36: Restore stRose13: oX = 220: oY = 100 Case 37: Restore stRose14: oX = 220: oY = 100 Case 38: Restore stRose15: oX = 220: oY = 100 Case 39: Restore stRose16: oX = 220: oY = 100 Case 40: Restore stRose17: oX = 220: oY = 100 Case 41: Restore eagle9 : ox = 159: oy = 341 ;eye Default: Restore Dolph : oX = 70: oY = 70 End Select Read numVerts, wide, high minX = oX : maxX = oX+wide-1 minY = oY : maxY = oY+high-1 For i% = 0 To numVerts-1 Read x, y polyX(i) = x + oX polyY(i) = y + oY Next End Function ;Draw an outline of the polygon to highlight edges Function drawPoly(r,g,b, numPoints%, penSize%) Local j%, i% ;allow variable line width and color If penSize < 1 Then penSize = 1 Color r,g,b ;draw it! j = numPoints-1 For i = 0 To numPoints-1 If penSize > 1 Then fatLine(polyX(j), polyY(j), polyX(i), polyY(i), penSize ) Else Line polyX(j), polyY(j), polyX(i), polyY(i) End If j=i Next End Function Function starBackground() Local i%, starPoints%, penSize%, bigRad%, lilRad% Local x%, y%, minX#, minY#, maxX#, maxY# For i = 0 To 100 starPoints = Rand(4,6) ;random number of star points penSize = Rand(2, 5) ;random number between 2 and 5 for line width bigRad = Rand(10, 40) ;random overall radius of a star between 20 and 40 lilRad = (bigRad * Float((Rand(30, 50)/100.))) ;30 - 50% of big radius x = Rand(bigRad+20, sw-bigRad-20) ;keep all of star on screen along X-axis y = Rand(bigRad+40, sh-bigRad-40) ;...do the same along the Y-axis minX = Float(x-bigRad): minY = Float(y-bigRad) maxX = Float(x+bigRad): maxY = Float(y+bigRad) star(x, y, bigRad, lilRad, starPoints, Rand(0,72)) Color Rand(0,255), Rand(0,255), Rand(0,255) polyFill(starPoints*2, minX, minY, maxX, maxY) Next End Function Function star(centX#, centY#, outerRad%, innerRad%, points%, startAngle#) Local toggle% Local inc#, i# If (points > 2 And points < 181) And (innerRad <= outerRad) Then inc = 360.0/(2.0*Float(points)) toggle = 0 element = 0 i = startAngle While i <= startAngle + 360.01 If toggle Then polyX(element) = Cos(i)* innerRad+ centX polyY(element) = Sin(i)* innerRad+ centY Else polyX(element) = Cos(i)* outerRad+ centX polyY(element) = Sin(i)* outerRad+ centY End If toggle = 1 - toggle element = element + 1 i = i + inc Wend End If End Function Function fatLine(x1%, y1%, x2%, y2%, penSize%) If penSize% < 1 Then Return False If penSize% = 1 Then Line(x1%, y1%, x2%, y2%): Return ; penSize% is thickness to draw line offset% = penSize% / 2 ;offset needed to place Oval correctly ; Calculate deltax and deltay for initialization deltax% = Abs(x2% - x1%) deltay% = Abs(y2% - y1%) ; Initialize all vars based on which is the independent variable If deltax% >= deltay% Then ; x is the independent variable numovals% = deltax% + 1 d% = (2 * deltay%) - deltax% dinc1% = deltay% Shl 1 dinc2% = (deltay% - deltax%) Shl 1 xinc1% = 1 xinc2% = 1 yinc1% = 0 yinc2% = 1 Else ; y is the independent variable numovals% = deltay% + 1 d% = (2 * deltax%) - deltay% dinc1% = deltax% Shl 1 dinc2% = (deltax% - deltay%) Shl 1 xinc1% = 0 xinc2% = 1 yinc1% = 1 yinc2% = 1 End If ; Make sure x and y move in the right directions If x1% > x2% Then xinc1% = - xinc1% xinc2% = - xinc2% End If If y1% > y2% Then yinc1% = - yinc1% yinc2% = - yinc2% End If ; Start drawing at x%, y% x% = x1% - offset% y% = y1% - offset% ; Draw the filled ovals For i% = 1 To numovals% Rect x%, y%, penSize%, penSize%, 1 If d% < 0 Then d% = d% + dinc1% x% = x% + xinc1% y% = y% + yinc1% Else d% = d% + dinc2% x% = x% + xinc2% y% = y% + yinc2% End If Next End Function .Dolph ;========================================================== ;Number of points used to define this polygon Data 143 ;========================================================== ;width & height of the polygon;s bounding box Data 651, 469 ;========================================================== ;The 143 coordinate pairs are: Data 650,161,641,162,629,160,621,157,609,152,594,143,580,134,567,127,535,124,535,126 Data 566,128,580,135,593,143,608,153,620,158,628,161,641,163,650,162,650,166 Data 646,171,640,173,633,170,619,167,606,164,586,161,566,159,510,160,493,160 Data 481,157,476,165,465,177,450,188,432,198,421,203,406,205,386,207,373,208 Data 366,209,360,203,364,200,373,196,382,192,392,183,406,168,414,157,419,153 Data 429,151,419,152,413,156,401,169,285,195,258,202,236,212,200,229,187,235 Data 176,246,164,257,146,282,136,297,126,315,116,330,104,346,98,359,103,364 Data 105,370,105,376,104,386,104,398,101,403,99,408,96,415,93,413,87,409 Data 81,409,78,413,75,418,72,423,67,419,66,410,63,387,64,410,65,423 Data 61,423,58,423,52,423,48,423,41,426,36,433,19,455,15,462,9,468 Data 3,465,4,459,10,443,15,426,26,401,53,367,55,361,56,319,60,289 Data 65,271,83,229,102,191,130,146,160,111,186,78,190,66,192,51,188,39 Data 180,31,173,25,164,19,159,16,158,7,163,2,173,1,192,1,214,4 Data 231,9,245,13,262,21,275,27,287,32,297,33,310,31,338,28,371,28 Data 396,28,435,29,466,32,501,42,526,50,552,62,573,75,588,88,599,100 Data 609,118,614,126,619,132,624,136,632,143,641,148,647,153 .Tree ;========================================================== ;Number of points used to define this polygon Data 418 ;========================================================== ;width & height of the polygon;s bounding box Data 442, 498 ;========================================================== ;The 418 coordinate pairs are: Data 125,494,133,493,144,487,158,484,166,484,161,490,158,494,163,497,180,490,198,482 Data 208,481,206,492,218,488,246,484,264,485,301,487,320,490,339,490,315,474 Data 297,468,268,416,265,404,270,399,279,397,279,382,268,359,265,333,277,323 Data 283,313,291,307,302,302,316,299,326,305,324,317,315,326,301,340,304,352 Data 310,359,324,359,335,355,342,350,340,341,332,349,327,348,322,342,324,329 Data 332,319,337,292,345,290,362,293,381,299,385,306,382,311,359,317,386,315 Data 394,292,388,287,372,284,379,276,389,272,403,272,416,275,428,280,434,289 Data 429,293,419,296,424,301,432,301,441,296,441,285,435,274,424,267,411,263 Data 400,260,405,256,414,255,423,250,430,243,428,237,421,228,409,224,403,226 Data 403,233,405,239,410,233,418,234,418,243,415,248,405,248,400,248,392,249 Data 387,255,386,261,379,263,360,264,346,266,329,278,311,284,279,300,265,307 Data 252,303,255,294,253,283,245,276,244,265,249,256,254,254,263,259,264,267 Data 262,269,257,267,259,276,270,277,277,266,269,251,258,245,243,245,239,257 Data 238,271,240,282,231,275,225,265,233,252,245,233,248,215,257,191,265,173 Data 276,159,288,157,300,161,314,168,322,176,329,194,329,207,325,215,312,218 Data 300,221,322,222,326,227,319,233,342,223,342,205,336,187,336,177,342,178 Data 353,183,359,193,360,202,361,211,372,201,373,186,361,177,351,167,334,162 Data 315,153,308,148,312,131,320,118,331,113,345,113,356,125,355,137,347,141 Data 333,139,344,146,356,145,368,141,371,129,366,117,340,92,326,91,318,99 Data 312,103,307,104,292,99,286,95,280,85,282,77,291,75,299,77,299,81 Data 294,84,307,79,307,71,302,67,292,67,281,67,276,70,271,78,272,89 Data 276,100,285,104,293,110,291,120,286,123,276,126,270,136,268,149,260,154 Data 246,152,241,148,234,142,233,135,237,123,245,119,253,121,253,126,250,131 Data 244,135,248,141,257,139,262,128,269,116,262,104,250,102,239,109,230,118 Data 223,128,223,137,226,148,229,158,239,168,239,181,239,204,231,212,223,222 Data 217,233,214,244,209,250,201,247,194,234,194,203,200,189,207,170,208,152 Data 204,132,197,114,192,93,190,78,196,65,204,55,207,39,214,32,220,33 Data 233,42,243,48,248,58,247,67,245,75,237,76,231,72,229,62,226,52 Data 222,59,224,72,229,82,238,88,249,84,255,74,261,64,255,45,244,31 Data 228,19,207,15,198,27,186,28,170,24,162,18,151,7,143,7,128,6 Data 121,8,121,13,117,19,113,23,109,22,100,17,89,17,95,23,114,28 Data 124,32,131,24,139,20,148,27,163,39,173,39,183,46,183,55,181,63 Data 176,70,173,77,182,100,186,113,189,131,192,155,188,159,177,156,162,141 Data 160,120,159,97,149,86,138,80,116,77,104,68,87,48,71,46,66,49 Data 56,46,52,40,57,33,63,22,46,34,45,46,53,55,61,57,72,57 Data 79,63,91,69,94,76,95,84,91,89,86,92,80,97,79,105,80,117 Data 84,125,85,133,83,143,86,146,95,151,103,151,96,142,95,134,101,133 Data 95,124,91,116,92,101,102,97,120,95,133,97,143,102,147,111,148,123 Data 152,150,172,170,174,191,172,259,167,265,161,257,149,247,138,241,125,235 Data 117,221,110,218,104,209,99,194,88,195,80,189,71,181,56,179,41,179 Data 25,186,15,195,9,205,7,221,8,239,14,244,29,247,38,241,42,227 Data 28,235,22,234,15,224,17,214,19,203,30,195,41,193,55,194,66,197 Data 80,210,89,222,87,231,76,240,64,251,62,259,58,275,63,282,70,292 Data 81,299,95,304,107,302,112,294,110,284,100,293,90,295,83,289,75,282 Data 75,271,78,260,86,253,98,249,109,249,123,250,148,278,165,292,186,304 Data 202,317,215,333,219,351,219,381,217,400,211,417,203,430,185,449,174,455 Data 158,463,139,466,127,475 .eagle1 ;========================================================== ;Number of points used to define this polygon Data 350 ;========================================================== ;width & height of the polygon;s bounding box Data 792, 530 ;========================================================== ;The 350 coordinate pairs are: Data 81,228,73,226,59,214,45,202,33,184,25,167,17,142,11,123,9,108,6,102 Data 11,96,17,100,19,93,14,76,13,67,13,62,18,55,27,63,33,75 Data 37,83,39,88,44,89,51,104,54,99,53,95,57,90,60,87,73,101 Data 80,114,88,128,90,135,93,131,98,129,105,131,113,141,121,155,124,160 Data 130,157,138,157,148,162,154,169,160,173,162,180,166,181,171,181,180,187 Data 191,196,194,198,195,207,201,206,210,211,218,218,222,222,223,226,229,227 Data 237,232,244,236,247,241,258,250,271,256,281,266,293,276,294,279,305,288 Data 318,297,323,303,332,312,340,319,343,326,349,333,355,338,362,344,370,341 Data 382,332,399,318,420,301,448,280,472,262,481,249,488,240,499,229,514,213 Data 528,201,542,188,552,181,560,171,575,150,583,130,592,104,600,67,600,54 Data 604,39,607,29,609,32,614,39,614,52,614,73,614,88,609,107,606,118 Data 602,126,598,131,596,135,597,140,599,134,603,135,606,134,613,128,624,122 Data 634,110,660,78,689,42,693,39,700,37,708,32,707,39,701,44,693,54 Data 687,61,682,67,679,74,668,87,657,102,646,110,651,114,671,97,688,77 Data 706,54,722,29,732,13,736,4,740,9,741,18,737,29,733,40,727,52 Data 718,64,711,74,706,80,699,87,688,100,685,103,680,110,682,115,687,113 Data 698,105,762,53,768,50,773,47,774,50,773,52,769,54,769,59,766,65 Data 759,72,748,85,739,94,731,102,722,109,717,114,715,116,715,119,716,120 Data 727,116,739,110,752,105,761,100,772,96,781,90,791,86,790,92,782,101 Data 771,107,765,111,758,115,755,119,755,124,757,125,761,122,765,120,771,117 Data 778,117,780,120,778,126,775,132,770,137,768,141,768,146,773,149,772,155 Data 767,159,762,164,756,169,755,173,759,174,761,177,760,184,756,186,753,189 Data 751,191,753,194,755,199,757,205,753,209,746,213,740,212,736,214,732,218 Data 725,222,724,225,728,228,733,231,740,235,742,241,741,247,736,251,734,254 Data 735,257,729,260,724,262,730,271,728,275,725,280,722,283,715,284,707,285 Data 713,293,713,299,709,305,703,308,697,310,692,308,693,315,692,321,688,326 Data 682,327,678,328,675,331,672,336,668,338,664,339,658,341,651,340,646,341 Data 645,345,644,350,640,355,635,357,632,359,625,359,626,364,626,370,625,377 Data 621,381,618,386,615,389,609,388,606,390,605,395,601,401,593,403,588,402 Data 586,404,586,409,583,412,580,418,577,422,573,422,569,421,566,424,564,429 Data 559,430,552,430,546,429,544,431,541,437,535,439,528,438,523,443,519,447 Data 520,449,516,453,511,454,511,456,510,462,505,464,499,464,498,464,503,470 Data 511,477,523,482,540,492,571,502,624,517,634,523,619,517,573,505,534,491 Data 513,481,501,478,510,490,507,495,501,495,494,496,494,503,496,508,492,510 Data 486,510,477,510,472,512,476,520,469,521,473,529,467,528,462,523,457,519 Data 444,517,435,514,400,505,374,498,347,489,326,482,315,477,302,470,287,462 Data 273,458,256,448,248,441,242,434,291,400,300,402,310,418,317,423,332,404 Data 341,376,328,359,305,345,279,323,254,299,220,275,205,260,190,253,179,248 Data 174,236,160,225,148,214,135,203,135,189,129,176,117,187 .eagle2 ;========================================================== ;Number of points used to define this polygon Data 86 ;========================================================== ;width & height of the polygon;s bounding box Data 477, 441 ;========================================================== ;The 86 coordinate pairs are: Data 228,354,177,305,166,295,154,290,147,279,131,267,119,260,100,242,94,236,77,228 Data 54,207,46,186,38,162,50,173,57,187,59,198,67,205,71,202,64,185 Data 58,164,59,150,66,159,71,176,68,175,73,182,79,193,78,179,71,153 Data 74,145,85,153,89,170,90,183,84,180,90,189,97,191,97,181,97,166 Data 101,161,113,166,113,172,120,169,130,171,133,186,135,197,141,208,161,219 Data 175,231,181,240,188,244,213,258,231,271,240,281,254,290,272,301,288,314 Data 301,329,313,342,323,351,342,358,354,352,473,258,476,263,470,270,358,357 Data 345,366,349,371,353,383,345,384,337,386,343,389,344,393,339,393,335,399 Data 340,404,346,410,347,416,340,416,329,413,331,422,332,428,328,427,317,423 Data 320,434,310,430,307,440,298,440 .eagle3 ;========================================================== ;Number of points used to define this polygon Data 45 ;========================================================== ;width & height of the polygon;s bounding box Data 627, 559 ;========================================================== ;The 45 coordinate pairs are: Data 503,477,512,481,525,488,539,495,557,503,578,510,597,515,615,520,622,520,621,525 Data 626,531,618,532,622,539,618,543,625,554,618,551,614,555,605,558,594,558 Data 582,557,569,552,559,546,551,543,551,547,531,534,527,537,520,541,514,541 Data 511,539,507,541,497,539,491,539,485,537,475,532,468,527,467,519,477,519 Data 476,514,486,513,498,514,496,505,494,497,506,498,511,495,506,489 .eagle4 ;[whitePart] ;========================================================== ;Number of points used to define this polygon Data 64 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 167, 134 ;========================================================== ;The 64 coordinate pairs are: Data 56,59,64,55,75,53,86,54,92,56,107,56,114,56,120,55,123,54,130,54 Data 131,56,140,56,142,59,145,60,146,61,152,62,148,66,150,67,149,70 Data 155,71,152,74,151,76,154,77,161,76,163,76,161,80,166,81,165,84 Data 162,87,158,89,151,92,150,96,151,100,156,102,159,102,162,104,162,106 Data 156,106,160,108,161,109,163,111,163,113,154,113,153,115,150,117,158,124 Data 154,124,155,128,148,126,147,127,142,126,141,127,144,133,142,133,137,130 Data 133,127,129,121,127,117,126,113,121,107,118,100,115,97,112,93,90,89 ;========================================================== ;Number of points used to define this polygon ;Data 49 ;========================================================== ;width & height of the polygon;s bounding box ;Data 309, 440 ;========================================================== ;The 49 coordinate pairs are: ;Data 198,363,208,359,219,359,228,359,238,362,251,362,263,362,269,361,276,362,282,363 ;Data 289,367,294,367,292,371,291,376,298,376,294,379,303,381,304,386,308,388 ;Data 305,392,301,395,296,399,295,403,302,407,300,412,306,418,301,418,295,418 ;Data 294,423,298,429,297,431,292,431,284,431,289,438,281,437,274,435,275,439 ;Data 267,435,258,434,254,435,250,439,246,388,248,384,256,384,253,377,245,369 ;Data 235,365,226,363,217,363 .eagle5 ;[brn-grayPart] ;========================================================== ;Number of points used to define this polygon Data 60 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 167, 134 ;========================================================== ;The 60 coordinate pairs are: Data 63,77,57,81,56,90,60,94,66,97,74,101,82,105,91,114,96,121,102,126 Data 109,132,109,127,116,133,115,127,121,131,130,132,127,129,123,127,120,124 Data 122,122,126,123,131,128,136,132,142,133,133,126,127,117,127,115,125,111 Data 121,106,120,103,119,101,132,100,134,99,137,99,141,98,142,97,147,96 Data 147,95,143,95,138,96,136,96,136,94,138,93,136,92,134,95,131,96 Data 126,96,122,96,118,96,114,93,112,89,109,86,107,84,103,85,99,83 Data 96,83,94,86,92,86,88,85,85,80 ;.eagle5 ;========================================================== ;Number of points used to define this polygon ;Data 27 ;========================================================== ;width & height of the polygon;s bounding box ;Data 274, 442 ;========================================================== ;The 27 coordinate pairs are: ;Data 216,365,229,365,236,365,242,371,250,372,248,377,250,381,245,384,252,389,257,394 ;Data 255,399,261,409,267,416,273,428,263,427,272,434,266,435,258,433,257,437 ;Data 254,435,251,441,238,429,233,421,229,415,221,411,209,404,201,398 .eagle6 ;[eyeShdw1] ;========================================================== ;Number of points used to define this polygon Data 20 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 116, 83 ;========================================================== ;The 20 coordinate pairs are: Data 74,65,74,68,77,72,81,77,85,78,90,79,94,78,97,78,103,82,106,80 Data 115,79,115,76,113,72,110,69,106,66,102,64,99,65,96,63,93,60 Data 91,59 ;.eagle6 ;beak ;========================================================== ;Number of points used to define this polygon ;Data 29 ;========================================================== ;width & height of the polygon;s bounding box ;Data 57, 50 ;========================================================== ;The 29 coordinate pairs are: ;Data 55,19,45,18,37,18,34,19,31,20,28,19,21,19,18,20,14,23,12,26 ;Data 9,28,6,33,6,37,6,42,8,48,9,49,22,41,28,38,31,38 ;Data 40,38,28,41,33,42,39,43,46,44,56,39,51,33,50,29,50,26 ;Data 52,22 .eagle7 ;[eyeShdw2] ;========================================================== ;Number of points used to define this polygon Data 32 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 116, 83 ;========================================================== ;The 32 coordinate pairs are: Data 75,61,73,61,72,63,74,66,78,67,79,68,80,71,82,73,85,75,88,75 Data 91,76,95,76,98,76,98,75,98,73,98,71,102,71,104,69,104,67 Data 102,66,98,66,96,65,94,63,92,61,90,60,88,60,87,62,86,62 Data 84,63,83,62,80,61,77,60 ;.eagle7 ;shadow around eye ;========================================================== ;Number of points used to define this polygon ;Data 22 ;========================================================== ;width & height of the polygon;s bounding box ;Data 89, 50 ;========================================================== ;The 22 coordinate pairs are: ;Data 55,19,58,19,61,20,64,21,68,19,76,20,80,21,84,25,86,32,88,39 ;Data 88,41,84,41,81,42,75,43,66,44,69,35,64,35,61,33,59,30 ;Data 56,27,54,24,51,22 .eagle8 ;[beak] ;========================================================== ;Number of points used to define this polygon Data 47 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 116, 93 ;========================================================== ;The 47 coordinate pairs are: Data 45,92,43,88,41,82,41,77,42,71,44,67,47,64,51,62,55,59,64,58 Data 67,61,70,62,72,66,72,69,73,72,74,74,77,76,81,78,85,79 Data 86,80,87,83,86,85,85,86,83,86,80,86,77,86,71,86,70,87 Data 68,87,64,88,58,89,55,89,53,89,48,89,48,85,55,85,59,83 Data 68,83,79,81,70,80,65,80,61,80,59,81,57,82,55,84,50,84 Data 47,84 ;.eagle8 ;eye ;========================================================== ;Number of points used to define this polygon ;Data 7 ;========================================================== ;width & height of the polygon;s bounding box ;Data 233, 378 ;========================================================== ;The 7 coordinate pairs are: ;Data 232,373,232,376,227,377,224,375,226,373,227,374,230,374 .eagle9 ;[eye] ;========================================================== ;Number of points used to define this polygon Data 22 ;========================================================== ;x & y offsets to place polygon anywhere on screen ;Data 0, 0 ;change to appropriate on screen coords ;========================================================== ;width & height of the polygon;s bounding box Data 116, 83 ;========================================================== ;The 22 coordinate pairs are: Data 81,68,81,69,82,71,83,73,84,73,86,74,88,74,90,73,93,71,93,69 Data 92,67,91,66,89,65,86,64,85,65,86,66,88,67,88,68,87,69 Data 86,70,84,70,83,68 .fluffy1 ;========================================================== ;Number of points used To define this polygon Data 27 ;========================================================== ;width & height of the polygon;s bounding box Data 102, 128 ;========================================================== ;The 27 coordinate pairs are: Data 87,100,56,103,51,108,48,110,46,114,44,117,43,118,43,120,44,122,46,124 Data 48,126,51,127,86,126,89,126,90,125,94,119,99,114,89,108,89,108 Data 99,113,100,111,101,110,101,108,99,105,95,101,94,100,92,99 .fluffy2 ;========================================================== ;Number of points used To define this polygon Data 199 ;========================================================== ;width & height of the polygon;s bounding box Data 127, 128 ;========================================================== ;The 199 coordinate pairs are: Data 43,98,45,98,47,99,48,101,48,103,49,105,50,106,57,106,62,104,65,105 Data 69,106,72,106,82,106,85,105,87,102,87,94,85,93,75,84,76,84 Data 82,89,83,87,84,85,85,84,87,84,90,85,91,88,93,89,96,90 Data 108,90,110,89,114,85,114,81,110,78,100,78,97,82,95,81,100,76 Data 105,76,116,74,118,73,122,69,126,65,126,63,125,61,123,57,119,53 Data 106,48,98,46,101,46,103,43,104,40,102,40,99,37,99,37,104,39 Data 106,42,110,44,112,46,115,47,119,47,122,46,126,43,126,41,126,37 Data 124,34,119,29,115,27,111,28,110,34,108,33,111,26,103,23,89,22 Data 88,21,102,22,110,24,113,23,113,21,112,19,110,16,107,13,101,11 Data 95,11,90,12,86,15,83,16,81,22,80,22,82,15,86,14,88,10 Data 86,8,84,5,80,3,77,3,74,5,72,8,68,12,65,26,63,26 Data 67,11,67,9,65,6,63,4,59,1,54,0,49,0,47,3,50,4 Data 54,8,55,27,53,26,53,8,45,3,36,4,33,4,32,7,32,10 Data 31,13,35,15,38,18,43,20,42,22,36,18,33,16,30,14,24,13 Data 19,13,12,16,9,20,9,26,10,31,13,34,15,35,20,36,26,36 Data 26,37,20,37,15,39,8,43,4,48,1,52,0,57,0,62,3,66 Data 10,68,18,67,20,63,22,58,37,54,47,52,47,53,38,55,23,59 Data 21,63,23,66,30,70,43,73,43,74,29,71,26,69,20,72,12,76 Data 8,80,6,85,7,90,11,94,13,94,15,93,21,83,23,81,25,79 Data 34,79,34,81,26,80,23,81,22,84,18,90,17,92,19,94,20,94 Data 31,94,43,81,45,80,57,80,57,81,46,80,44,82,31,95,32,98 Data 32,101,34,102,36,102,38,99,41,95,47,92,59,91,59,93,48,93 .fluffy3 ;========================================================== ;Number of points used To define this polygon Data 27 ;========================================================== ;width & height of the polygon;s bounding box Data 127, 128 ;========================================================== ;The 27 coordinate pairs are: Data 49,28,44,28,40,28,38,29,35,32,32,36,29,40,29,44,29,48,32,49 Data 35,49,39,46,44,44,51,43,51,41,43,42,38,44,35,47,32,47 Data 31,44,30,40,33,36,36,32,38,29,40,29,44,29,48,29 .fluffy4 ;========================================================== ;Number of points used To define this polygon Data 37 ;========================================================== ;width & height of the polygon;s bounding box Data 103, 77 ;========================================================== ;The 37 coordinate pairs are: Data 53,60,53,53,53,49,55,43,58,38,61,35,64,32,69,31,74,31,79,36 Data 81,41,80,49,81,48,81,41,79,35,77,33,80,29,82,29,86,28 Data 92,28,94,30,98,36,101,42,102,48,102,53,102,55,98,54,93,52 Data 86,51,82,53,78,51,75,50,70,51,65,55,61,58,58,61,54,63 .fluffy5 ;========================================================== ;Number of points used To define this polygon Data 20 ;========================================================== ;width & height of the polygon;s bounding box Data 100, 81 ;========================================================== ;The 20 coordinate pairs are: Data 81,74,78,75,76,78,70,80,65,80,62,77,58,73,58,66,58,62,60,58 Data 75,49,90,47,98,54,99,58,99,61,99,65,97,71,94,75,89,77 Data 83,76 .fluffy6 ;========================================================== ;Number of points used To define this polygon Data 31 ;========================================================== ;width & height of the polygon;s bounding box Data 95, 77 ;========================================================== ;The 31 coordinate pairs are: Data 79,54,77,52,74,52,70,52,68,54,67,57,68,61,70,62,74,63,77,62 Data 79,57,80,55,83,55,84,58,84,64,84,69,82,72,80,75,81,75 Data 83,71,85,68,85,63,87,62,91,62,93,62,94,59,94,57,92,53 Data 89,52,86,53,84,54 .fish1 ;========================================================== ;Number of points used To define this polygon Data 61 ;========================================================== ;width & height of the polygon;s bounding box Data 95, 60 ;========================================================== ;The 61 coordinate pairs are: Data 4,48,4,49,7,50,10,51,12,53,14,55,17,56,19,58,26,59,35,59 Data 49,59,51,59,54,58,58,57,63,57,69,55,79,54,81,54,83,53 Data 86,50,87,47,87,44,85,41,83,38,80,37,80,35,82,35,84,36 Data 87,37,89,37,92,35,94,31,94,25,91,20,89,14,81,20,80,21 Data 78,21,75,21,73,19,73,17,75,15,77,14,79,12,80,10,80,8 Data 79,6,77,6,54,9,43,11,28,16,23,20,20,22,18,24,15,27 Data 13,30,12,32,11,36,9,39,7,43,5,46 .fish2 ;========================================================== ;Number of points used To define this polygon Data 37 ;========================================================== ;width & height of the polygon;s bounding box Data 95, 60 ;========================================================== ;The 37 coordinate pairs are: Data 73,8,64,9,50,11,42,14,36,16,30,20,29,24,29,28,29,33,31,35 Data 33,38,36,40,38,41,41,42,46,44,47,44,50,46,53,49,58,50 Data 61,50,71,51,78,51,80,50,81,49,81,48,82,45,81,42,80,39 Data 77,36,73,30,71,26,71,19,72,18,73,15,77,12,77,10,76,8 .fish3 ;========================================================== ;Number of points used To define this polygon Data 36 ;========================================================== ;width & height of the polygon;s bounding box Data 95, 60 ;========================================================== ;The 36 coordinate pairs are: Data 71,9,64,11,61,11,56,11,50,12,45,14,40,16,37,19,35,20,34,25 Data 35,29,36,32,38,35,40,37,43,39,47,39,51,42,54,45,57,47 Data 60,48,70,50,78,50,79,49,81,47,81,45,81,42,79,39,76,36 Data 73,30,71,26,71,20,72,17,73,15,77,12,77,10,75,8 .fish4 ;========================================================== ;Number of points used To define this polygon Data 25 ;========================================================== ;width & height of the polygon;s bounding box Data 98, 60 ;========================================================== ;The 25 coordinate pairs are: Data 89,14,89,13,91,12,92,15,94,17,95,20,95,22,96,25,96,27,97,31 Data 95,33,94,36,92,37,90,37,89,35,90,34,92,33,93,31,93,28 Data 93,26,92,24,91,23,90,22,89,21,88,18 .fish5 ;========================================================== ;Number of points used To define this polygon Data 19 ;========================================================== ;width & height of the polygon;s bounding box Data 98, 60 ;========================================================== ;The 19 coordinate pairs are: Data 5,47,7,47,10,46,12,45,14,43,16,43,17,41,17,39,18,37,17,35 Data 16,33,17,31,17,29,15,27,13,30,12,33,11,36,9,39,7,43 .fish6 ;========================================================== ;Number of points used To define this polygon Data 23 ;========================================================== ;width & height of the polygon;s bounding box Data 98, 60 ;========================================================== ;The 23 coordinate pairs are: Data 89,14,82,20,83,22,84,22,84,24,83,24,81,25,81,26,81,28,82,29 Data 84,29,86,30,88,32,91,33,92,33,93,31,93,28,93,26,92,24 Data 91,23,90,22,89,21,88,18 .fish7 ;========================================================== ;Number of points used To define this polygon Data 4 ;========================================================== ;width & height of the polygon;s bounding box Data 15, 43 ;========================================================== ;The 4 coordinate pairs are: Data 13,39,13,42,14,41,14,39 .stRose1 ;========================================================== ;Number of points used To define this polygon Data 67 ;========================================================== ;width & height of the polygon;s bounding box Data 126, 202 ;========================================================== ;The 67 coordinate pairs are: Data 23,201,18,200,15,197,12,192,10,184,9,179,8,175,5,171,2,167,0,163 Data 0,160,2,154,3,151,5,147,10,141,8,137,6,134,4,129,3,124 Data 3,118,5,109,7,104,12,98,17,93,23,88,28,84,34,82,38,80 Data 45,77,52,76,59,75,66,75,71,76,76,77,78,79,80,77,82,74 Data 85,72,88,70,92,69,97,69,102,70,105,72,110,76,115,81,120,88 Data 124,94,125,99,120,99,112,100,105,101,99,103,93,105,86,107,79,110 Data 72,114,65,118,58,123,53,129,47,135,42,143,38,150,34,158,31,166 Data 28,177,26,186,24,193 .stRose2 ;========================================================== ;Number of points used To define this polygon Data 58 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 223 ;========================================================== ;The 58 coordinate pairs are: Data 144,103,158,98,173,92,188,88,195,86,202,85,213,84,221,84,228,85,235,87 Data 241,90,247,94,249,98,250,102,252,109,253,114,254,119,255,125,256,130 Data 258,136,261,141,263,145,265,150,265,159,265,165,263,173,262,179,262,186 Data 263,193,264,200,264,210,262,217,258,221,252,222,251,218,249,212,246,206 Data 245,202,239,196,234,187,232,180,230,171,228,162,226,155,223,149,220,145 Data 217,141,213,137,208,133,201,129,194,126,185,123,180,121,173,119,167,117 Data 162,115,158,113,153,110 .stRose3 ;========================================================== ;Number of points used To define this polygon Data 33 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 223 ;========================================================== ;The 33 coordinate pairs are: Data 37,195,40,191,44,187,49,183,57,178,63,174,72,169,81,164,92,159,101,154 Data 106,150,114,145,120,139,126,133,130,126,133,119,130,117,125,116,120,115 Data 110,114,99,114,89,117,79,121,71,126,64,133,58,139,52,147,47,154 Data 44,160,40,169,39,176,37,182,37,187 .stRose4 ;========================================================== ;Number of points used To define this polygon Data 59 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 59 coordinate pairs are: Data 168,271,171,273,177,274,182,274,187,274,192,274,198,273,202,270,207,265,210,260 Data 213,254,217,250,222,246,227,241,232,236,234,232,236,228,236,220,234,214 Data 231,208,227,200,223,195,218,190,218,183,217,176,215,167,212,159,206,149 Data 200,142,191,137,184,133,176,130,170,128,163,127,164,134,167,138,171,144 Data 177,151,184,156,190,161,197,167,202,173,207,180,210,186,211,192,210,197 Data 209,204,207,208,205,211,207,217,208,221,208,226,207,232,203,239,199,246 Data 193,254,188,257,181,263,176,267 .stRose5 ;========================================================== ;Number of points used To define this polygon Data 53 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 53 coordinate pairs are: Data 85,269,83,263,83,258,81,251,81,244,82,239,86,230,89,222,93,216,99,210 Data 103,206,104,198,105,191,118,190,125,187,130,182,134,176,138,168,140,161 Data 142,152,142,142,141,136,140,130,136,131,133,135,131,138,129,143,126,147 Data 123,152,119,157,114,162,107,167,98,171,87,175,80,178,75,181,71,183 Data 68,186,66,189,64,194,64,199,63,204,63,212,62,219,62,225,61,232 Data 62,239,63,247,65,254,69,258,72,262,76,265,80,267 .stRose6 ;========================================================== ;Number of points used To define this polygon Data 32 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 32 coordinate pairs are: Data 178,252,182,249,185,245,188,240,192,234,194,227,196,221,198,214,198,204,196,197 Data 193,188,187,179,181,170,174,163,168,156,161,149,155,140,155,148,154,153 Data 153,160,152,166,151,173,150,181,151,186,152,191,154,196,161,207,169,217 Data 176,227,177,234,179,239,179,244 .stRose7 ;========================================================== ;Number of points used To define this polygon Data 18 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 18 coordinate pairs are: Data 107,224,115,225,123,225,127,224,131,221,135,218,138,214,142,208,142,200,141,193 Data 139,186,137,189,134,193,129,197,122,203,116,207,112,212,109,217 .stRose8 ;========================================================== ;Number of points used To define this polygon Data 24 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 24 coordinate pairs are: Data 133,262,136,262,141,261,147,258,153,256,156,252,160,247,162,242,163,237,163,231 Data 162,227,160,222,158,219,156,216,155,219,155,223,154,227,152,230,149,234 Data 145,238,139,244,135,247,133,251,131,255 .stRose9 ;========================================================== ;Number of points used To define this polygon Data 15 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 275 ;========================================================== ;The 15 coordinate pairs are: Data 101,258,106,258,111,257,115,255,119,252,123,248,125,245,126,241,119,242,113,241 Data 108,239,102,237,95,237,94,243,97,249 .stRose10 ;========================================================== ;Number of points used To define this polygon Data 15 ;width & height of the polygon;s bounding box Data 266, 286 ;========================================================== ;The 15 coordinate pairs are: Data 103,272,108,271,116,270,127,271,131,271,135,273,138,276,138,278,136,281,130,284 Data 125,285,118,284,111,282,107,278,105,276 .stRose11 ;========================================================== ;Number of points used To define this polygon Data 30 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 295 ;========================================================== ;The 30 coordinate pairs are: Data 58,293,66,294,73,292,81,291,83,287,84,286,82,284,77,283,73,280,69,276 Data 66,273,62,268,55,252,49,239,44,231,40,226,36,223,31,220,28,224 Data 27,230,27,236,29,242,32,248,36,254,38,261,40,267,41,273,44,282 Data 47,288,51,291 .stRose12 ;========================================================== ;Number of points used To define this polygon Data 36 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 319 ;========================================================== ;The 36 coordinate pairs are: Data 107,296,109,300,112,303,116,307,120,311,126,315,131,317,142,318,146,317,151,315 Data 154,312,158,308,164,308,170,309,174,308,180,307,186,303,193,300,197,296 Data 202,291,205,287,207,282,206,276,204,279,201,281,197,283,191,285,183,286 Data 175,286,165,285,157,285,151,284,145,288,139,292,132,294,119,294 .stRose13 ;========================================================== ;Number of points used To define this polygon Data 18 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 319 ;========================================================== ;The 18 coordinate pairs are: Data 217,290,221,290,225,290,230,287,235,284,239,280,244,275,248,269,250,262,250,251 Data 248,247,245,240,240,245,236,251,229,258,222,266,219,272,216,278 .stRose14 ;========================================================== ;Number of points used To define this polygon Data 36 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 319 ;========================================================== ;The 36 coordinate pairs are: Data 1,6,3,10,8,17,10,20,14,27,19,33,25,38,33,42,40,46,52,50 Data 63,53,73,56,84,57,95,60,104,64,113,66,121,70,130,75,128,66 Data 125,56,123,49,119,39,115,33,109,25,98,14,88,8,80,5,74,2 Data 69,1,55,0,48,1,39,2,29,4,21,6,15,6,8,7 .stRose15 ;========================================================== ;Number of points used To define this polygon Data 27 ;========================================================== ;width & height of the polygon;s bounding box Data 266, 319 ;========================================================== ;The 27 coordinate pairs are: Data 140,86,145,83,152,80,159,78,169,77,177,76,184,75,192,73,200,67,207,59 Data 210,50,213,38,215,31,216,23,216,18,214,16,194,15,187,16,177,19 Data 169,24,159,33,155,38,150,46,146,54,144,63,142,71,141,77 .stRose16 ;========================================================== ;Number of points used To define this polygon Data 35 ;========================================================== ;width & height of the polygon;s bounding box Data 372, 319 ;========================================================== ;The 35 coordinate pairs are: Data 252,79,256,74,263,68,270,65,276,62,282,61,294,61,304,62,314,64,324,69 Data 333,76,340,83,348,92,353,96,357,99,362,100,365,101,371,102,369,107 Data 365,110,357,116,350,120,340,122,331,122,331,130,334,133,335,138,336,144 Data 328,146,313,146,303,144,295,139,287,135,279,126,271,114 .stRose17 ;========================================================== ;Number of points used To define this polygon Data 26 ;========================================================== ;width & height of the polygon;s bounding box Data 96, 363 ;========================================================== ;The 26 coordinate pairs are: Data 29,361,36,362,45,362,54,361,64,357,72,353,80,348,84,340,91,331,93,322 Data 94,314,95,301,91,293,87,295,81,297,73,300,63,302,57,304,53,306 Data 50,309,45,314,42,321,38,328,34,335,32,344,30,351
Author Comments:
The polyFill() function fills any arbitrary polygon as fast as possible. Some demo polygons are included in the demo.
Login or
create an account
to comment on this snippet