home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Common / Graphics / LineXX.cpp < prev    next >
MacBinary  |  1999-07-31  |  5.9 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: LineXX.cpp

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Jul 31 20:23:02 1999, modified Sat Jul 31 20:23:02 1999, creator 'CWIE', type ASCII, 5325 bytes "LineXX.cpp" , at 0x154d 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4c 69 6e 65 58 58 | 2e 63 70 70 00 00 00 00 |..LineXX|.cpp....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 14 cd 00 | 00 01 9a b3 c9 43 e6 b3 |........|.....C..|
|00000060| c9 43 e6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.C......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cc df 00 00 |........|........|
|00000080| 0d 0d 23 69 66 20 43 4c | 52 5f 49 4e 54 45 52 50 |..#if CL|R_INTERP|
|00000090| 0d 76 6f 69 64 20 50 69 | 78 50 6f 72 74 3a 3a 5f |.void Pi|xPort::_|
|000000a0| 4c 69 6e 65 28 20 69 6e | 74 20 73 78 2c 20 69 6e |Line( in|t sx, in|
|000000b0| 74 20 73 79 2c 20 69 6e | 74 20 65 78 2c 20 69 6e |t sy, in|t ex, in|
|000000c0| 74 20 65 79 2c 20 63 6f | 6e 73 74 20 52 47 42 43 |t ey, co|nst RGBC|
|000000d0| 6f 6c 6f 72 26 20 69 6e | 53 2c 20 6c 6f 6e 67 20 |olor& in|S, long |
|000000e0| 64 52 2c 20 6c 6f 6e 67 | 20 64 47 2c 20 6c 6f 6e |dR, long| dG, lon|
|000000f0| 67 20 64 42 20 29 20 7b | 0d 23 65 6c 73 65 0d 76 |g dB ) {|.#else.v|
|00000100| 6f 69 64 20 50 69 78 50 | 6f 72 74 3a 3a 5f 4c 69 |oid PixP|ort::_Li|
|00000110| 6e 65 28 20 69 6e 74 20 | 73 78 2c 20 69 6e 74 20 |ne( int |sx, int |
|00000120| 73 79 2c 20 69 6e 74 20 | 65 78 2c 20 69 6e 74 20 |sy, int |ex, int |
|00000130| 65 79 2c 20 6c 6f 6e 67 | 20 63 6f 6c 6f 72 20 29 |ey, long| color )|
|00000140| 20 7b 0d 23 65 6e 64 69 | 66 0d 09 6c 6f 6e 67 20 | {.#endi|f..long |
|00000150| 78 44 69 72 65 63 74 69 | 6f 6e 2c 20 72 6f 77 4f |xDirecti|on, rowO|
|00000160| 66 66 73 65 74 2c 20 65 | 72 72 6f 72 5f 74 65 72 |ffset, e|rror_ter|
|00000170| 6d 3b 0d 09 63 68 61 72 | 2a 20 62 61 73 65 50 74 |m;..char|* basePt|
|00000180| 72 2c 20 2a 63 65 6e 74 | 65 72 3b 0d 09 6c 6f 6e |r, *cent|er;..lon|
|00000190| 67 20 78 6d 6f 76 2c 20 | 79 6d 6f 76 2c 20 64 78 |g xmov, |ymov, dx|
|000001a0| 2c 20 64 79 2c 20 74 2c | 20 6a 2c 20 6c 77 3b 0d |, dy, t,| j, lw;.|
|000001b0| 09 6c 6f 6e 67 20 70 65 | 6e 45 78 74 65 6e 74 73 |.long pe|nExtents|
|000001c0| 3b 0d 0d 09 23 69 66 20 | 43 4c 52 5f 49 4e 54 45 |;...#if |CLR_INTE|
|000001d0| 52 50 0d 09 6c 6f 6e 67 | 20 63 6f 6c 6f 72 2c 20 |RP..long| color, |
|000001e0| 52 2c 20 47 2c 20 42 3b | 0d 09 52 20 3d 20 69 6e |R, G, B;|..R = in|
|000001f0| 53 2e 72 65 64 3b 0d 09 | 47 20 3d 20 69 6e 53 2e |S.red;..|G = inS.|
|00000200| 67 72 65 65 6e 3b 0d 09 | 42 20 3d 20 69 6e 53 2e |green;..|B = inS.|
|00000210| 62 6c 75 65 3b 0d 09 23 | 65 6e 64 69 66 0d 0d 09 |blue;..#|endif...|
|00000220| 2f 2f 20 4d 6f 64 69 66 | 79 20 74 68 65 20 6c 69 |// Modif|y the li|
|00000230| 6e 65 20 77 69 64 74 68 | 20 73 6f 20 74 68 61 74 |ne width| so that|
|00000240| 20 74 68 65 20 61 63 74 | 75 61 6c 20 77 69 64 74 | the act|ual widt|
|00000250| 68 20 6d 61 74 63 68 65 | 73 20 6d 4c 69 6e 65 57 |h matche|s mLineW|
|00000260| 69 64 74 68 0d 09 6c 77 | 20 3d 20 6d 4c 69 6e 65 |idth..lw| = mLine|
|00000270| 57 69 64 74 68 3b 09 0d | 09 69 66 20 28 20 6d 4c |Width;..|.if ( mL|
|00000280| 69 6e 65 57 69 64 74 68 | 20 3e 20 33 20 29 20 7b |ineWidth| > 3 ) {|
|00000290| 0d 09 09 64 78 20 3d 20 | 65 78 20 2d 20 73 78 3b |...dx = |ex - sx;|
|000002a0| 09 64 78 20 3d 20 64 78 | 20 2a 20 64 78 3b 0d 09 |.dx = dx| * dx;..|
|000002b0| 09 64 79 20 3d 20 65 79 | 20 2d 20 73 79 3b 09 64 |.dy = ey| - sy;.d|
|000002c0| 79 20 3d 20 64 79 20 2a | 20 64 79 3b 0d 09 09 69 |y = dy *| dy;...i|
|000002d0| 66 20 28 20 64 78 20 3e | 20 30 20 26 26 20 64 78 |f ( dx >| 0 && dx|
|000002e0| 20 3e 3d 20 64 79 20 29 | 0d 09 09 09 6c 77 20 3d | >= dy )|....lw =|
|000002f0| 20 31 32 38 20 2b 20 35 | 35 20 2a 20 64 79 20 2f | 128 + 5|5 * dy /|
|00000300| 20 64 78 3b 20 09 09 09 | 2f 2f 20 31 2f 63 6f 73 | dx; ...|// 1/cos|
|00000310| 28 20 61 74 61 6e 28 20 | 78 20 29 20 29 20 69 73 |( atan( |x ) ) is|
|00000320| 20 61 62 6f 75 74 20 31 | 2b 2e 34 33 2a 78 5e 32 | about 1|+.43*x^2|
|00000330| 20 66 72 6f 6d 20 30 20 | 74 6f 20 31 20 28 35 35 | from 0 |to 1 (55|
|00000340| 20 3d 3d 20 2e 34 33 20 | 2a 20 31 32 38 29 0d 09 | == .43 |* 128)..|
|00000350| 09 65 6c 73 65 20 69 66 | 20 28 20 64 79 20 3e 20 |.else if| ( dy > |
|00000360| 30 20 26 26 20 64 79 20 | 3e 20 64 78 20 29 0d 09 |0 && dy |> dx )..|
|00000370| 09 09 6c 77 20 3d 20 31 | 32 38 20 2b 20 35 35 20 |..lw = 1|28 + 55 |
|00000380| 2a 20 64 78 20 2f 20 64 | 79 3b 20 09 09 09 2f 2f |* dx / d|y; ...//|
|00000390| 20 31 2f 63 6f 73 28 20 | 61 74 61 6e 28 20 78 20 | 1/cos( |atan( x |
|000003a0| 29 20 29 20 69 73 20 61 | 62 6f 75 74 20 31 2b 2e |) ) is a|bout 1+.|
|000003b0| 34 33 2a 78 5e 32 20 66 | 72 6f 6d 20 30 20 74 6f |43*x^2 f|rom 0 to|
|000003c0| 20 31 20 28 35 35 20 3d | 3d 20 2e 34 33 20 2a 20 | 1 (55 =|= .43 * |
|000003d0| 31 32 38 29 0d 09 09 0d | 09 09 69 66 20 28 20 64 |128)....|..if ( d|
|000003e0| 78 20 3e 20 30 20 7c 7c | 20 64 79 20 3e 20 30 20 |x > 0 ||| dy > 0 |
|000003f0| 29 0d 09 09 09 6c 77 20 | 3d 20 28 20 6d 4c 69 6e |)....lw |= ( mLin|
|00000400| 65 57 69 64 74 68 20 2a | 20 6c 77 20 2b 20 36 34 |eWidth *| lw + 64|
|00000410| 20 29 20 3e 3e 20 37 3b | 09 09 2f 2f 20 41 64 64 | ) >> 7;|..// Add|
|00000420| 20 69 6e 20 6f 72 64 65 | 72 20 74 6f 20 72 6f 75 | in orde|r to rou|
|00000430| 6e 64 20 75 70 0d 09 7d | 0d 09 70 65 6e 45 78 74 |nd up..}|..penExt|
|00000440| 65 6e 74 73 20 3d 20 6c | 77 20 3e 3e 20 31 3b 0d |ents = l|w >> 1;.|
|00000450| 0d 09 0d 09 0d 09 2f 2f | 20 43 6c 69 70 70 69 6e |......//| Clippin|
|00000460| 67 3a 20 53 65 74 20 74 | 68 65 20 70 65 6e 20 6c |g: Set t|he pen l|
|00000470| 6f 63 20 74 6f 20 61 20 | 70 6f 69 6e 74 20 74 68 |oc to a |point th|
|00000480| 61 74 27 73 20 69 6e 20 | 61 6e 64 20 73 74 6f 70 |at's in |and stop|
|00000490| 20 64 72 61 77 69 6e 67 | 20 6f 6e 63 65 2f 69 66 | drawing| once/if|
|000004a0| 20 74 68 65 20 70 65 6e | 20 6d 6f 76 65 73 20 6f | the pen| moves o|
|000004b0| 75 74 0d 09 69 66 20 28 | 20 73 78 20 3c 20 70 65 |ut..if (| sx < pe|
|000004c0| 6e 45 78 74 65 6e 74 73 | 20 7c 7c 20 73 78 20 3e |nExtents| || sx >|
|000004d0| 3d 20 6d 58 20 2d 20 70 | 65 6e 45 78 74 65 6e 74 |= mX - p|enExtent|
|000004e0| 73 20 7c 7c 20 73 79 20 | 3c 20 70 65 6e 45 78 74 |s || sy |< penExt|
|000004f0| 65 6e 74 73 20 7c 7c 20 | 73 79 20 3e 3d 20 6d 59 |ents || |sy >= mY|
|00000500| 20 2d 20 70 65 6e 45 78 | 74 65 6e 74 73 20 29 20 | - penEx|tents ) |
|00000510| 7b 0d 09 09 74 20 3d 20 | 65 78 3b 20 65 78 20 3d |{...t = |ex; ex =|
|00000520| 20 73 78 3b 20 73 78 20 | 3d 20 74 3b 0d 09 09 74 | sx; sx |= t;...t|
|00000530| 20 3d 20 65 79 3b 20 65 | 79 20 3d 20 73 79 3b 20 | = ey; e|y = sy; |
|00000540| 73 79 20 3d 20 74 3b 0d | 09 09 0d 09 09 23 69 66 |sy = t;.|.....#if|
|00000550| 20 43 4c 52 5f 49 4e 54 | 45 52 50 0d 09 09 52 20 | CLR_INT|ERP...R |
|00000560| 2b 3d 20 64 52 3b 20 47 | 20 2b 3d 20 64 47 3b 20 |+= dR; G| += dG; |
|00000570| 42 20 2b 3d 20 64 42 3b | 0d 09 09 64 52 20 3d 20 |B += dB;|...dR = |
|00000580| 2d 64 52 3b 20 64 47 20 | 3d 20 2d 64 47 3b 20 64 |-dR; dG |= -dG; d|
|00000590| 42 20 3d 20 2d 64 42 3b | 0d 09 09 23 65 6e 64 69 |B = -dB;|...#endi|
|000005a0| 66 0d 09 7d 0d 09 0d 09 | 2f 2f 20 45 78 69 74 20 |f..}....|// Exit |
|000005b0| 69 66 20 74 68 65 20 73 | 74 61 72 74 20 70 74 20 |if the s|tart pt |
|000005c0| 69 73 20 6f 75 74 20 6f | 66 20 62 6f 75 6e 64 73 |is out o|f bounds|
|000005d0| 20 28 77 69 6d 70 79 20 | 63 6c 69 70 70 69 6e 67 | (wimpy |clipping|
|000005e0| 2c 20 65 68 3f 29 0d 09 | 69 66 20 28 20 73 78 20 |, eh?)..|if ( sx |
|000005f0| 3c 20 70 65 6e 45 78 74 | 65 6e 74 73 20 7c 7c 20 |< penExt|ents || |
|00000600| 73 78 20 3e 3d 20 6d 58 | 20 2d 20 70 65 6e 45 78 |sx >= mX| - penEx|
|00000610| 74 65 6e 74 73 20 7c 7c | 20 73 79 20 3c 20 70 65 |tents ||| sy < pe|
|00000620| 6e 45 78 74 65 6e 74 73 | 20 7c 7c 20 73 79 20 3e |nExtents| || sy >|
|00000630| 3d 20 6d 59 20 2d 20 70 | 65 6e 45 78 74 65 6e 74 |= mY - p|enExtent|
|00000640| 73 20 29 0d 09 09 72 65 | 74 75 72 6e 3b 0d 09 0d |s )...re|turn;...|
|00000650| 0d 09 2f 2f 20 49 6e 20 | 57 69 6e 33 32 2c 20 65 |..// In |Win32, e|
|00000660| 76 65 72 79 74 68 69 6e | 67 27 73 20 75 70 73 69 |verythin|g's upsi|
|00000670| 64 65 20 64 6f 77 6e 0d | 09 23 69 66 20 45 47 5f |de down.|.#if EG_|
|00000680| 57 49 4e 0d 09 73 79 20 | 3d 20 6d 59 20 2d 20 73 |WIN..sy |= mY - s|
|00000690| 79 3b 0d 09 65 79 20 3d | 20 6d 59 20 2d 20 65 79 |y;..ey =| mY - ey|
|000006a0| 3b 0d 09 23 65 6e 64 69 | 66 09 0d 09 0d 09 64 78 |;..#endi|f.....dx|
|000006b0| 20 3d 20 65 78 20 2d 20 | 73 78 3b 0d 09 64 79 20 | = ex - |sx;..dy |
|000006c0| 3d 20 65 79 20 2d 20 73 | 79 3b 0d 09 0d 09 0d 09 |= ey - s|y;......|
|000006d0| 23 69 66 20 43 4c 52 5f | 49 4e 54 45 52 50 0d 09 |#if CLR_|INTERP..|
|000006e0| 6c 6f 6e 67 20 6c 65 6e | 20 3d 20 73 71 72 74 28 |long len| = sqrt(|
|000006f0| 20 64 78 20 2a 20 64 78 | 20 2b 20 64 79 20 2a 20 | dx * dx| + dy * |
|00000700| 64 79 20 29 20 2b 20 31 | 3b 0d 09 64 52 20 2f 3d |dy ) + 1|;..dR /=|
|00000710| 20 6c 65 6e 3b 0d 09 64 | 47 20 2f 3d 20 6c 65 6e | len;..d|G /= len|
|00000720| 3b 0d 09 64 42 20 2f 3d | 20 6c 65 6e 3b 0d 09 63 |;..dB /=| len;..c|
|00000730| 6f 6c 6f 72 20 3d 20 5f | 5f 43 6c 72 28 20 52 2c |olor = _|_Clr( R,|
|00000740| 20 47 2c 20 42 20 29 3b | 0d 09 23 65 6e 64 69 66 | G, B );|..#endif|
|00000750| 0d 09 09 0d 09 0d 09 2f | 2f 20 6d 6f 76 69 6e 67 |......./|/ moving|
|00000760| 20 6c 65 66 74 20 6f 72 | 20 72 69 67 68 74 3f 0d | left or| right?.|
|00000770| 09 78 6d 6f 76 20 3d 20 | 64 78 3b 0d 09 69 66 20 |.xmov = |dx;..if |
|00000780| 28 20 64 78 20 3c 20 30 | 20 29 20 7b 0d 09 09 78 |( dx < 0| ) {...x|
|00000790| 6d 6f 76 20 3d 20 2d 64 | 78 3b 0d 09 09 69 66 20 |mov = -d|x;...if |
|000007a0| 28 20 73 78 20 2d 20 78 | 6d 6f 76 20 3c 20 70 65 |( sx - x|mov < pe|
|000007b0| 6e 45 78 74 65 6e 74 73 | 20 29 0d 09 09 09 78 6d |nExtents| )....xm|
|000007c0| 6f 76 20 3d 20 73 78 20 | 2d 20 70 65 6e 45 78 74 |ov = sx |- penExt|
|000007d0| 65 6e 74 73 3b 0d 09 09 | 78 44 69 72 65 63 74 69 |ents;...|xDirecti|
|000007e0| 6f 6e 20 3d 20 2d 20 50 | 5f 53 5a 3b 0d 09 09 64 |on = - P|_SZ;...d|
|000007f0| 78 20 3d 20 2d 64 78 3b | 20 7d 0d 09 65 6c 73 65 |x = -dx;| }..else|
|00000800| 20 69 66 20 28 20 64 78 | 20 3e 20 30 20 29 20 7b | if ( dx| > 0 ) {|
|00000810| 0d 09 09 69 66 20 28 20 | 73 78 20 2b 20 78 6d 6f |...if ( |sx + xmo|
|00000820| 76 20 3e 3d 20 6d 58 20 | 2d 20 70 65 6e 45 78 74 |v >= mX |- penExt|
|00000830| 65 6e 74 73 20 29 0d 09 | 09 09 78 6d 6f 76 20 3d |ents )..|..xmov =|
|00000840| 20 6d 58 20 2d 20 70 65 | 6e 45 78 74 65 6e 74 73 | mX - pe|nExtents|
|00000850| 20 2d 20 31 20 2d 20 73 | 78 3b 0d 09 09 78 44 69 | - 1 - s|x;...xDi|
|00000860| 72 65 63 74 69 6f 6e 20 | 3d 20 50 5f 53 5a 3b 20 |rection |= P_SZ; |
|00000870| 20 7d 0d 09 65 6c 73 65 | 20 0d 09 09 78 44 69 72 | }..else| ...xDir|
|00000880| 65 63 74 69 6f 6e 20 3d | 20 30 3b 0d 0d 09 2f 2f |ection =| 0;...//|
|00000890| 20 6d 6f 76 69 6e 67 20 | 75 70 20 6f 72 20 64 6f | moving |up or do|
|000008a0| 77 6e 3f 0d 09 79 6d 6f | 76 20 3d 20 64 79 3b 0d |wn?..ymo|v = dy;.|
|000008b0| 09 69 66 20 28 20 64 79 | 20 3c 20 30 20 29 20 7b |.if ( dy| < 0 ) {|
|000008c0| 0d 09 09 79 6d 6f 76 20 | 3d 20 2d 64 79 3b 0d 09 |...ymov |= -dy;..|
|000008d0| 09 69 66 20 28 20 73 79 | 20 2d 20 79 6d 6f 76 20 |.if ( sy| - ymov |
|000008e0| 3c 20 70 65 6e 45 78 74 | 65 6e 74 73 20 29 0d 09 |< penExt|ents )..|
|000008f0| 09 09 79 6d 6f 76 20 3d | 20 73 79 20 2d 20 70 65 |..ymov =| sy - pe|
|00000900| 6e 45 78 74 65 6e 74 73 | 3b 0d 09 09 72 6f 77 4f |nExtents|;...rowO|
|00000910| 66 66 73 65 74 20 3d 20 | 2d 20 6d 42 79 74 65 73 |ffset = |- mBytes|
|00000920| 50 65 72 52 6f 77 3b 0d | 09 09 64 79 20 3d 20 2d |PerRow;.|..dy = -|
|00000930| 64 79 3b 20 7d 0d 09 65 | 6c 73 65 20 7b 0d 09 09 |dy; }..e|lse {...|
|00000940| 69 66 20 28 20 73 79 20 | 2b 20 79 6d 6f 76 20 3e |if ( sy |+ ymov >|
|00000950| 3d 20 6d 59 20 2d 20 70 | 65 6e 45 78 74 65 6e 74 |= mY - p|enExtent|
|00000960| 73 20 29 0d 09 09 09 79 | 6d 6f 76 20 3d 20 6d 59 |s )....y|mov = mY|
|00000970| 20 2d 20 70 65 6e 45 78 | 74 65 6e 74 73 20 2d 20 | - penEx|tents - |
|00000980| 73 79 20 2d 20 31 3b 0d | 09 09 72 6f 77 4f 66 66 |sy - 1;.|..rowOff|
|00000990| 73 65 74 20 3d 20 6d 42 | 79 74 65 73 50 65 72 52 |set = mB|ytesPerR|
|000009a0| 6f 77 3b 20 0d 09 7d 20 | 0d 0d 09 62 61 73 65 50 |ow; ..} |...baseP|
|000009b0| 74 72 20 3d 20 6d 42 69 | 74 73 20 2b 20 73 79 20 |tr = mBi|ts + sy |
|000009c0| 2a 20 6d 42 79 74 65 73 | 50 65 72 52 6f 77 20 2b |* mBytes|PerRow +|
|000009d0| 20 73 78 20 2a 20 50 5f | 53 5a 3b 0d 09 65 72 72 | sx * P_|SZ;..err|
|000009e0| 6f 72 5f 74 65 72 6d 20 | 3d 20 30 3b 0d 09 0d 09 |or_term |= 0;....|
|000009f0| 6c 6f 6e 67 20 68 61 6c | 66 57 3b 0d 0d 09 69 66 |long hal|fW;...if|
|00000a00| 20 28 20 6c 77 20 3e 20 | 31 20 29 20 7b 0d 09 0d | ( lw > |1 ) {...|
|00000a10| 0d 09 09 0d 09 09 0d 09 | 09 2f 2f 20 4d 61 6b 65 |........|.// Make|
|00000a20| 20 61 20 63 69 72 63 6c | 65 20 66 6f 72 20 74 68 | a circl|e for th|
|00000a30| 65 20 70 65 6e 0d 09 09 | 6c 6f 6e 67 20 63 5f 78 |e pen...|long c_x|
|00000a40| 2c 20 74 77 20 3d 20 6d | 4c 69 6e 65 57 69 64 74 |, tw = m|LineWidt|
|00000a50| 68 3b 0d 09 09 68 61 6c | 66 57 20 3d 20 28 20 74 |h;...hal|fW = ( t|
|00000a60| 77 20 29 20 3e 3e 20 31 | 3b 0d 09 09 0d 09 09 69 |w ) >> 1|;......i|
|00000a70| 66 20 28 20 74 77 20 3c | 20 31 32 20 29 20 7b 0d |f ( tw <| 12 ) {.|
|00000a80| 09 09 09 63 68 61 72 2a | 20 63 5f 73 68 61 70 65 |...char*| c_shape|
|00000a90| 3b 0d 09 09 09 5f 5f 63 | 69 72 63 28 20 74 77 2c |;....__c|irc( tw,|
|00000aa0| 20 63 5f 73 68 61 70 65 | 20 29 0d 09 09 09 66 6f | c_shape| )....fo|
|00000ab0| 72 20 28 20 6a 20 3d 20 | 30 3b 20 6a 20 3c 20 74 |r ( j = |0; j < t|
|00000ac0| 77 3b 20 6a 2b 2b 20 29 | 20 7b 0d 09 09 09 09 6c |w; j++ )| {.....l|
|00000ad0| 6f 6e 67 20 74 6d 70 20 | 3d 20 6a 20 2d 20 68 61 |ong tmp |= j - ha|
|00000ae0| 6c 66 57 3b 0d 09 09 09 | 09 63 5f 78 20 3d 20 63 |lfW;....|.c_x = c|
|00000af0| 5f 73 68 61 70 65 5b 20 | 6a 20 5d 3b 0d 09 09 09 |_shape[ |j ];....|
|00000b00| 09 63 65 6e 74 65 72 20 | 3d 20 62 61 73 65 50 74 |.center |= basePt|
|00000b10| 72 20 2b 20 28 6a 2d 68 | 61 6c 66 57 29 20 2a 20 |r + (j-h|alfW) * |
|00000b20| 6d 42 79 74 65 73 50 65 | 72 52 6f 77 3b 0d 09 09 |mBytesPe|rRow;...|
|00000b30| 09 09 66 6f 72 20 28 20 | 69 6e 74 20 6b 20 3d 20 |..for ( |int k = |
|00000b40| 63 5f 78 3b 20 6b 20 3c | 20 74 77 20 2d 20 63 5f |c_x; k <| tw - c_|
|00000b50| 78 3b 20 6b 2b 2b 20 29 | 7b 0d 09 09 09 09 09 28 |x; k++ )|{......(|
|00000b60| 28 50 49 58 54 59 50 45 | 2a 29 20 63 65 6e 74 65 |(PIXTYPE|*) cente|
|00000b70| 72 29 5b 6b 2d 68 61 6c | 66 57 5d 20 3d 20 63 6f |r)[k-hal|fW] = co|
|00000b80| 6c 6f 72 3b 0d 09 09 09 | 09 7d 0d 09 09 09 7d 20 |lor;....|.}....} |
|00000b90| 7d 0d 09 09 65 6c 73 65 | 20 7b 09 09 0d 09 09 0d |}...else| {......|
|00000ba0| 09 09 09 66 6f 72 20 28 | 20 6a 20 3d 20 30 3b 20 |...for (| j = 0; |
|00000bb0| 6a 20 3c 20 74 77 3b 20 | 6a 2b 2b 20 29 20 7b 0d |j < tw; |j++ ) {.|
|00000bc0| 09 09 09 09 6c 6f 6e 67 | 20 74 6d 70 20 3d 20 6a |....long| tmp = j|
|00000bd0| 20 2d 20 68 61 6c 66 57 | 3b 0d 09 09 09 09 63 5f | - halfW|;.....c_|
|00000be0| 78 20 3d 20 68 61 6c 66 | 57 20 2d 20 28 20 28 20 |x = half|W - ( ( |
|00000bf0| 6c 6f 6e 67 20 29 20 73 | 71 72 74 28 20 68 61 6c |long ) s|qrt( hal|
|00000c00| 66 57 20 2a 20 68 61 6c | 66 57 20 2d 20 74 6d 70 |fW * hal|fW - tmp|
|00000c10| 20 2a 20 74 6d 70 20 29 | 20 29 3b 0d 09 09 09 09 | * tmp )| );.....|
|00000c20| 63 65 6e 74 65 72 20 3d | 20 62 61 73 65 50 74 72 |center =| basePtr|
|00000c30| 20 2b 20 28 6a 2d 68 61 | 6c 66 57 29 20 2a 20 6d | + (j-ha|lfW) * m|
|00000c40| 42 79 74 65 73 50 65 72 | 52 6f 77 3b 0d 09 09 09 |BytesPer|Row;....|
|00000c50| 09 66 6f 72 20 28 20 69 | 6e 74 20 6b 20 3d 20 63 |.for ( i|nt k = c|
|00000c60| 5f 78 3b 20 6b 20 3c 20 | 74 77 20 2d 20 63 5f 78 |_x; k < |tw - c_x|
|00000c70| 3b 20 6b 2b 2b 20 29 7b | 0d 09 09 09 09 09 28 28 |; k++ ){|......((|
|00000c80| 50 49 58 54 59 50 45 2a | 29 20 63 65 6e 74 65 72 |PIXTYPE*|) center|
|00000c90| 29 5b 6b 2d 68 61 6c 66 | 57 5d 20 3d 20 63 6f 6c |)[k-half|W] = col|
|00000ca0| 6f 72 3b 0d 09 09 09 09 | 7d 0d 09 09 09 7d 0d 09 |or;.....|}....}..|
|00000cb0| 09 7d 0d 09 09 0d 09 09 | 0d 09 09 68 61 6c 66 57 |.}......|...halfW|
|00000cc0| 20 3d 20 6c 77 20 3e 3e | 20 31 3b 0d 0d 09 09 2f | = lw >>| 1;..../|
|00000cd0| 2f 20 44 72 61 77 20 74 | 68 65 20 6c 69 6e 65 0d |/ Draw t|he line.|
|00000ce0| 09 09 69 66 20 28 20 64 | 78 20 3e 20 64 79 20 29 |..if ( d|x > dy )|
|00000cf0| 20 7b 0d 09 09 09 0d 09 | 09 09 2f 2f 20 53 74 61 | {......|..// Sta|
|00000d00| 72 74 20 63 6f 75 6e 74 | 69 6e 67 20 6f 66 66 20 |rt count|ing off |
|00000d10| 69 6e 20 78 0d 09 09 09 | 66 6f 72 20 28 20 3b 20 |in x....|for ( ; |
|00000d20| 78 6d 6f 76 20 3e 3d 20 | 30 20 26 26 20 79 6d 6f |xmov >= |0 && ymo|
|00000d30| 76 20 3e 3d 20 30 3b 20 | 78 6d 6f 76 2d 2d 20 29 |v >= 0; |xmov-- )|
|00000d40| 20 7b 0d 0d 09 09 09 09 | 23 69 66 20 43 4c 52 5f | {......|#if CLR_|
|00000d50| 49 4e 54 45 52 50 0d 09 | 09 09 09 5f 5f 63 61 6c |INTERP..|...__cal|
|00000d60| 63 43 6c 72 0d 09 09 09 | 09 23 65 6e 64 69 66 0d |cClr....|.#endif.|
|00000d70| 09 09 09 09 0d 09 09 09 | 09 2f 2f 20 44 72 61 77 |........|.// Draw|
|00000d80| 20 74 68 65 20 76 65 72 | 74 69 63 61 6c 20 6c 65 | the ver|tical le|
|00000d90| 61 64 69 6e 67 20 65 64 | 67 65 20 6f 66 20 74 68 |ading ed|ge of th|
|00000da0| 65 20 70 65 6e 0d 09 09 | 09 09 63 65 6e 74 65 72 |e pen...|..center|
|00000db0| 20 3d 20 62 61 73 65 50 | 74 72 20 2d 20 68 61 6c | = baseP|tr - hal|
|00000dc0| 66 57 20 2a 20 6d 42 79 | 74 65 73 50 65 72 52 6f |fW * mBy|tesPerRo|
|00000dd0| 77 3b 0d 09 09 09 09 66 | 6f 72 20 28 20 6a 20 3d |w;.....f|or ( j =|
|00000de0| 20 30 3b 20 6a 20 3c 20 | 6c 77 3b 20 6a 2b 2b 20 | 0; j < |lw; j++ |
|00000df0| 29 20 7b 0d 09 09 09 09 | 09 2a 28 28 50 49 58 54 |) {.....|.*((PIXT|
|00000e00| 59 50 45 2a 29 20 63 65 | 6e 74 65 72 29 20 3d 20 |YPE*) ce|nter) = |
|00000e10| 63 6f 6c 6f 72 3b 0d 09 | 09 09 09 09 63 65 6e 74 |color;..|....cent|
|00000e20| 65 72 20 2b 3d 20 6d 42 | 79 74 65 73 50 65 72 52 |er += mB|ytesPerR|
|00000e30| 6f 77 3b 0d 09 09 09 09 | 7d 0d 09 09 09 09 2f 2a |ow;.....|}...../*|
|00000e40| 0d 09 09 09 09 2f 2f 20 | 44 72 61 77 20 74 68 65 |.....// |Draw the|
|00000e50| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 6c 65 61 64 | horizon|tal lead|
|00000e60| 69 6e 67 20 65 64 67 65 | 20 6f 66 20 74 68 65 20 |ing edge| of the |
|00000e70| 70 65 6e 0d 09 09 09 09 | 63 65 6e 74 65 72 20 3d |pen.....|center =|
|00000e80| 20 62 61 73 65 50 74 72 | 20 2b 20 68 61 6c 66 57 | basePtr| + halfW|
|00000e90| 20 2a 20 28 20 72 6f 77 | 4f 66 66 73 65 74 20 2d | * ( row|Offset -|
|00000ea0| 20 50 5f 53 5a 20 29 3b | 0d 09 09 09 09 66 6f 72 | P_SZ );|.....for|
|00000eb0| 20 28 20 6a 20 3d 20 30 | 3b 20 6a 20 3c 20 6c 77 | ( j = 0|; j < lw|
|00000ec0| 3b 20 6a 2b 2b 20 29 20 | 7b 0d 09 09 09 09 09 2a |; j++ ) |{......*|
|00000ed0| 28 28 50 49 58 54 59 50 | 45 2a 29 20 63 65 6e 74 |((PIXTYP|E*) cent|
|00000ee0| 65 72 29 20 3d 20 63 6f | 6c 6f 72 3b 0d 09 09 09 |er) = co|lor;....|
|00000ef0| 09 09 63 65 6e 74 65 72 | 20 2b 3d 20 50 5f 53 5a |..center| += P_SZ|
|00000f00| 3b 0d 09 09 09 09 7d 2a | 2f 0d 09 09 09 09 62 61 |;.....}*|/.....ba|
|00000f10| 73 65 50 74 72 20 2b 3d | 20 78 44 69 72 65 63 74 |sePtr +=| xDirect|
|00000f20| 69 6f 6e 3b 0d 0d 09 09 | 09 09 2f 2f 20 43 68 65 |ion;....|..// Che|
|00000f30| 63 6b 20 74 6f 20 73 65 | 65 20 69 66 20 77 65 20 |ck to se|e if we |
|00000f40| 6e 65 65 64 20 74 6f 20 | 6d 6f 76 65 20 74 68 65 |need to |move the|
|00000f50| 20 70 69 78 65 6c 4f 66 | 66 73 65 74 20 69 6e 20 | pixelOf|fset in |
|00000f60| 74 68 65 20 79 20 64 69 | 72 65 63 74 69 6f 6e 2e |the y di|rection.|
|00000f70| 0d 09 09 09 09 5f 5f 64 | 6f 58 65 72 72 0d 09 09 |.....__d|oXerr...|
|00000f80| 09 7d 20 7d 0d 09 09 65 | 6c 73 65 20 7b 0d 09 09 |.} }...e|lse {...|
|00000f90| 09 2f 2f 20 53 74 61 72 | 74 20 63 6f 75 6e 74 69 |.// Star|t counti|
|00000fa0| 6e 67 20 6f 66 66 20 69 | 6e 20 79 0d 09 09 09 66 |ng off i|n y....f|
|00000fb0| 6f 72 20 28 20 3b 20 79 | 6d 6f 76 20 3e 3d 20 30 |or ( ; y|mov >= 0|
|00000fc0| 20 26 26 20 78 6d 6f 76 | 20 3e 3d 20 30 3b 20 79 | && xmov| >= 0; y|
|00000fd0| 6d 6f 76 2d 2d 20 29 20 | 7b 0d 09 09 09 0d 09 09 |mov-- ) |{.......|
|00000fe0| 09 09 23 69 66 20 43 4c | 52 5f 49 4e 54 45 52 50 |..#if CL|R_INTERP|
|00000ff0| 0d 09 09 09 09 5f 5f 63 | 61 6c 63 43 6c 72 0d 09 |.....__c|alcClr..|
|00001000| 09 09 09 23 65 6e 64 69 | 66 0d 09 09 09 09 2f 2a |...#endi|f...../*|
|00001010| 0d 09 09 09 09 2f 2f 20 | 44 72 61 77 20 74 68 65 |.....// |Draw the|
|00001020| 20 76 65 72 74 69 63 61 | 6c 20 6c 65 61 64 69 6e | vertica|l leadin|
|00001030| 67 20 65 64 67 65 20 6f | 66 20 74 68 65 20 70 65 |g edge o|f the pe|
|00001040| 6e 0d 09 09 09 09 63 65 | 6e 74 65 72 20 3d 20 62 |n.....ce|nter = b|
|00001050| 61 73 65 50 74 72 20 2b | 20 78 44 69 72 65 63 74 |asePtr +| xDirect|
|00001060| 69 6f 6e 20 2a 20 28 68 | 61 6c 66 57 29 20 2d 20 |ion * (h|alfW) - |
|00001070| 50 5f 53 5a 20 2d 20 68 | 61 6c 66 57 20 2a 20 6d |P_SZ - h|alfW * m|
|00001080| 42 79 74 65 73 50 65 72 | 52 6f 77 3b 0d 09 09 09 |BytesPer|Row;....|
|00001090| 09 66 6f 72 20 28 20 6a | 20 3d 20 30 3b 20 6a 20 |.for ( j| = 0; j |
|000010a0| 3c 20 6c 77 3b 20 6a 2b | 2b 20 29 20 7b 0d 09 09 |< lw; j+|+ ) {...|
|000010b0| 09 09 09 2a 28 28 50 49 | 58 54 59 50 45 2a 29 20 |...*((PI|XTYPE*) |
|000010c0| 63 65 6e 74 65 72 29 20 | 3d 20 63 6f 6c 6f 72 3b |center) |= color;|
|000010d0| 0d 09 09 09 09 09 63 65 | 6e 74 65 72 20 2b 3d 20 |......ce|nter += |
|000010e0| 6d 42 79 74 65 73 50 65 | 72 52 6f 77 3b 0d 09 09 |mBytesPe|rRow;...|
|000010f0| 09 09 7d 2a 2f 0d 09 09 | 09 09 2f 2f 20 44 72 61 |..}*/...|..// Dra|
|00001100| 77 20 74 68 65 20 68 6f | 72 69 7a 6f 6e 74 61 6c |w the ho|rizontal|
|00001110| 20 6c 65 61 64 69 6e 67 | 20 65 64 67 65 20 6f 66 | leading| edge of|
|00001120| 20 74 68 65 20 70 65 6e | 0d 09 09 09 09 63 65 6e | the pen|.....cen|
|00001130| 74 65 72 20 3d 20 62 61 | 73 65 50 74 72 20 2d 20 |ter = ba|sePtr - |
|00001140| 28 20 68 61 6c 66 57 20 | 29 20 2a 20 50 5f 53 5a |( halfW |) * P_SZ|
|00001150| 3b 0d 09 09 09 09 66 6f | 72 20 28 20 6a 20 3d 20 |;.....fo|r ( j = |
|00001160| 30 3b 20 6a 20 3c 20 6c | 77 3b 20 6a 2b 2b 20 29 |0; j < l|w; j++ )|
|00001170| 20 7b 0d 09 09 09 09 09 | 2a 28 28 50 49 58 54 59 | {......|*((PIXTY|
|00001180| 50 45 2a 29 20 63 65 6e | 74 65 72 29 20 3d 20 63 |PE*) cen|ter) = c|
|00001190| 6f 6c 6f 72 3b 0d 09 09 | 09 09 09 63 65 6e 74 65 |olor;...|...cente|
|000011a0| 72 20 2b 3d 20 50 5f 53 | 5a 3b 0d 09 09 09 09 7d |r += P_S|Z;.....}|
|000011b0| 0d 09 09 09 09 62 61 73 | 65 50 74 72 20 2b 3d 20 |.....bas|ePtr += |
|000011c0| 72 6f 77 4f 66 66 73 65 | 74 3b 0d 0d 09 09 09 09 |rowOffse|t;......|
|000011d0| 2f 2f 20 43 68 65 63 6b | 20 74 6f 20 73 65 65 20 |// Check| to see |
|000011e0| 69 66 20 77 65 20 6e 65 | 65 64 20 74 6f 20 6d 6f |if we ne|ed to mo|
|000011f0| 76 65 20 74 68 65 20 70 | 69 78 65 6c 4f 66 66 73 |ve the p|ixelOffs|
|00001200| 65 74 20 69 6e 20 74 68 | 65 20 79 20 64 69 72 65 |et in th|e y dire|
|00001210| 63 74 69 6f 6e 2e 0d 09 | 09 09 09 5f 5f 64 6f 59 |ction...|...__doY|
|00001220| 65 72 72 0d 09 09 09 7d | 0d 09 09 7d 0d 09 09 0d |err....}|...}....|
|00001230| 09 09 2f 2f 20 49 66 20 | 6c 69 6e 65 20 6c 65 6e |..// If |line len|
|00001240| 20 69 73 20 30 2c 20 77 | 65 20 64 6f 6e 27 74 20 | is 0, w|e don't |
|00001250| 6e 65 65 64 20 74 6f 20 | 64 72 61 77 20 65 6e 64 |need to |draw end|
|00001260| 69 6e 67 20 70 65 6e 20 | 63 69 72 63 6c 65 0d 09 |ing pen |circle..|
|00001270| 09 2f 2a 0d 09 09 69 66 | 20 28 20 6c 77 20 3e 20 |./*...if| ( lw > |
|00001280| 33 20 29 20 7b 0d 09 09 | 09 69 66 20 28 20 64 78 |3 ) {...|.if ( dx|
|00001290| 20 21 3d 20 30 20 7c 7c | 20 64 79 20 21 3d 20 30 | != 0 ||| dy != 0|
|000012a0| 20 29 20 7b 0d 09 09 09 | 7d 0d 09 09 7d 20 2a 2f | ) {....|}...} */|
|000012b0| 0d 0d 09 09 7d 0d 09 65 | 6c 73 65 20 7b 0d 09 0d |....}..e|lse {...|
|000012c0| 09 09 2f 2f 20 44 72 61 | 77 20 74 68 65 20 28 73 |..// Dra|w the (s|
|000012d0| 69 6e 67 6c 65 20 70 69 | 78 65 6c 29 20 6c 69 6e |ingle pi|xel) lin|
|000012e0| 65 0d 09 09 69 66 20 28 | 20 64 78 20 3e 3d 20 64 |e...if (| dx >= d|
|000012f0| 79 20 29 20 7b 0d 09 09 | 09 0d 09 09 09 2f 2f 20 |y ) {...|.....// |
|00001300| 53 74 61 72 74 20 63 6f | 75 6e 74 69 6e 67 20 6f |Start co|unting o|
|00001310| 66 66 20 69 6e 20 78 0d | 09 09 09 66 6f 72 20 28 |ff in x.|...for (|
|00001320| 20 3b 20 78 6d 6f 76 20 | 3e 3d 20 30 20 26 26 20 | ; xmov |>= 0 && |
|00001330| 79 6d 6f 76 20 3e 3d 20 | 30 3b 20 78 6d 6f 76 2d |ymov >= |0; xmov-|
|00001340| 2d 20 29 20 7b 0d 09 09 | 09 0d 09 09 09 09 23 69 |- ) {...|......#i|
|00001350| 66 20 43 4c 52 5f 49 4e | 54 45 52 50 0d 09 09 09 |f CLR_IN|TERP....|
|00001360| 09 5f 5f 63 61 6c 63 43 | 6c 72 0d 09 09 09 09 23 |.__calcC|lr.....#|
|00001370| 65 6e 64 69 66 0d 09 09 | 09 09 0d 09 09 09 09 2a |endif...|.......*|
|00001380| 28 28 50 49 58 54 59 50 | 45 2a 29 20 62 61 73 65 |((PIXTYP|E*) base|
|00001390| 50 74 72 29 20 3d 20 63 | 6f 6c 6f 72 3b 0d 09 09 |Ptr) = c|olor;...|
|000013a0| 09 09 0d 09 09 09 09 62 | 61 73 65 50 74 72 20 2b |.......b|asePtr +|
|000013b0| 3d 20 78 44 69 72 65 63 | 74 69 6f 6e 3b 0d 0d 09 |= xDirec|tion;...|
|000013c0| 09 09 09 2f 2f 20 43 68 | 65 63 6b 20 74 6f 20 73 |...// Ch|eck to s|
|000013d0| 65 65 20 69 66 20 77 65 | 20 6e 65 65 64 20 74 6f |ee if we| need to|
|000013e0| 20 6d 6f 76 65 20 74 68 | 65 20 70 69 78 65 6c 4f | move th|e pixelO|
|000013f0| 66 66 73 65 74 20 69 6e | 20 74 68 65 20 79 20 64 |ffset in| the y d|
|00001400| 69 72 65 63 74 69 6f 6e | 2e 0d 09 09 09 09 5f 5f |irection|......__|
|00001410| 64 6f 58 65 72 72 0d 09 | 09 09 7d 20 7d 0d 09 09 |doXerr..|..} }...|
|00001420| 65 6c 73 65 20 7b 0d 09 | 09 09 2f 2f 20 53 74 61 |else {..|..// Sta|
|00001430| 72 74 20 63 6f 75 6e 74 | 69 6e 67 20 6f 66 66 20 |rt count|ing off |
|00001440| 69 6e 20 79 0d 09 09 09 | 66 6f 72 20 28 20 3b 20 |in y....|for ( ; |
|00001450| 79 6d 6f 76 20 3e 3d 20 | 30 20 26 26 20 78 6d 6f |ymov >= |0 && xmo|
|00001460| 76 20 3e 3d 20 30 3b 20 | 79 6d 6f 76 2d 2d 20 29 |v >= 0; |ymov-- )|
|00001470| 20 7b 0d 09 09 09 0d 09 | 09 09 09 23 69 66 20 43 | {......|...#if C|
|00001480| 4c 52 5f 49 4e 54 45 52 | 50 0d 09 09 09 09 5f 5f |LR_INTER|P.....__|
|00001490| 63 61 6c 63 43 6c 72 0d | 09 09 09 09 23 65 6e 64 |calcClr.|....#end|
|000014a0| 69 66 0d 09 09 09 09 0d | 09 09 09 09 2a 28 28 50 |if......|....*((P|
|000014b0| 49 58 54 59 50 45 2a 29 | 20 62 61 73 65 50 74 72 |IXTYPE*)| basePtr|
|000014c0| 29 20 3d 20 63 6f 6c 6f | 72 3b 0d 09 09 09 09 62 |) = colo|r;.....b|
|000014d0| 61 73 65 50 74 72 20 2b | 3d 20 72 6f 77 4f 66 66 |asePtr +|= rowOff|
|000014e0| 73 65 74 3b 0d 0d 09 09 | 09 09 2f 2f 20 43 68 65 |set;....|..// Che|
|000014f0| 63 6b 20 74 6f 20 73 65 | 65 20 69 66 20 77 65 20 |ck to se|e if we |
|00001500| 6e 65 65 64 20 74 6f 20 | 6d 6f 76 65 20 74 68 65 |need to |move the|
|00001510| 20 70 69 78 65 6c 4f 66 | 66 73 65 74 20 69 6e 20 | pixelOf|fset in |
|00001520| 74 68 65 20 79 20 64 69 | 72 65 63 74 69 6f 6e 2e |the y di|rection.|
|00001530| 0d 09 09 09 09 5f 5f 64 | 6f 59 65 72 72 0d 09 09 |.....__d|oYerr...|
|00001540| 09 7d 0d 09 09 7d 0d 09 | 7d 0d 0d 7d 0d 00 00 00 |.}...}..|}..}....|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001590| 8b be 8c 6b 79 00 00 00 | 0f 8a d4 c0 08 00 00 33 |...ky...|.......3|
|000015a0| 8c 6c 8d 15 7a 00 00 00 | 0f 87 9c c0 08 00 00 33 |.l..z...|.......3|
|000015b0| 9b b6 9b d2 7b 00 00 00 | 0e 49 c0 08 00 00 32 ae |....{...|.I....2.|
|000015c0| e1 af 70 7c 00 00 00 0f | 89 96 c0 08 00 00 32 af |..p|....|......2.|
|000015d0| 71 b0 00 7d 00 00 00 0f | 83 55 c0 08 00 00 32 b0 |q..}....|.U....2.|
|000015e0| 01 b0 90 7e 00 00 00 0f | 88 88 c0 08 00 00 32 b0 |...~....|......2.|
|000015f0| 91 b1 22 7f 00 00 00 0f | 89 24 c0 08 00 00 32 b1 |..".....|.$....2.|
|00001600| 23 b1 b2 80 80 00 00 00 | 0f 82 3f c0 08 00 00 32 |#.......|..?....2|
|00001610| b1 b3 b2 3f 80 81 00 00 | 00 0f 87 a1 c0 08 00 00 |...?....|........|
|00001620| 32 b2 40 b2 cf 80 82 00 | 00 00 0f 81 bc c0 08 00 |2.@.....|........|
|00001630| 00 32 b2 d0 b3 5c 80 83 | 00 00 00 0f 86 ff c0 08 |.2...\..|........|
|00001640| 00 00 32 b3 5d b3 ec 80 | 84 00 00 00 0f 84 eb c0 |..2.]...|........|
|00001650| 08 00 00 32 b3 ed b4 84 | 80 85 00 00 00 0f 84 3e |...2....|.......>|
|00001660| c0 08 00 00 32 b4 85 b5 | 19 80 86 00 00 00 0f 88 |....2...|........|
|00001670| 18 c0 08 00 00 32 b5 1a | b5 ae 80 87 00 00 00 0f |.....2..|........|
|00001680| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 03 | 00 04 00 44 00 09 02 43 |........|...D...C|
|000016b0| 02 69 00 44 00 09 02 43 | 02 69 b3 c8 fd 96 00 00 |.i.D...C|.i......|
|000016c0| 03 63 00 00 03 63 00 00 | 00 00 01 00 00 00 00 04 |.c...c..|........|
|000016d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000016e0| 00 00 00 46 05 aa e5 e0 | 17 e0 00 00 00 1c 00 46 |...F....|.......F|
|000016f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001700| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001710| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+