╨╧рб▒с>■  35■   2                                                                                                                                                                                                                                                                                                                                                                                                                                                ье┴3 Ё┐Жjbjb^^ 2h<h<Ж      l·······RRRRR ^RЧ ЖЖЖЖЖЖЖЖTVVVVVV,╖ ╫ 4В·ЖЖЖЖЖВ2··ЖЖЖ222Ж·Ж·ЖT2"0"····ЖT2"2T··Tz D╢╖RRаТTTЧЧT 2 T2├хI. Creating a window/looking at settings ░ window myVariableName ░ GetWidth( ) returns the width of the window ░ GetHeight( ) returns the height of the window ░ GetWindowSize(x, y) returns width and height of the window in x and y The windowТs (0, 0) point is in the upper left corner. The x-axis proceeds to the right of the window and the y-axis to the bottom. Note that to go УleftФ in the x direction from a particular location you will be decrementing in x, and to go УrightФ, you will be incrementing in x. Similarly, to go УupФ in the y direction from a particular location you will be decrementing in y, and to go УdownФ, you will be incrementing in y. II. Setting Colors a color-spec can be set in one of two ways: - by using a color parameter (one of the colors defined-) RED GREEN BLUE YELLOW PINK PURPLE BROWN AQUA WHITE DKGREYLTBLUE ALMOND LTGREY TAN DKGREEN BLACK - by using integer triples of RGB values (between 0 - 65535, e.g., 65535, 65535, 65535 for WHITE) ░ SetBrush(color-spec) sets the color of the current brush and pen ░ SetPen(width) sets the size (default is 1) of current pen III. Drawing Shapes (more detailed comments can be found in graphics.h) objects (other than lines) may be drawn in one of the following 3 styles: - FRAME (a wire-frame outline as wide as the current pen size) - FILLED (filled with the current brush color) - INVERTED (current color is irrelevant, the pixels that compose the shape are "flipped" or "switched" to their opposite color. For example if you draw an inverted rectangle on a white background, the rectangle will be black. If you draw an inverted rectangle on a black background, the rectangle will be white. The other colors have some very interesting opposites. If you draw two inverted rectangles on the same place, the rectangle will appear and then disappear. ░ DrawPixel(x, y) draws a pixel in the current color ░ DrawLine(x1, y1, x2, y2) draws a line in the current color from (x1, y1) to (x2, y2) ░ DrawRectangle(x1, y1, x2, y2, style, width, height) draws a rectangle from (x1, y1) to (x2, y2). Default style is FILLED. Parameters width and height control "roundedness" and default to 0. ░ DrawCircle(x, y, r, style) draws a circle centered at (x, y) with radius r. Default style is FILLED. ░ DrawEllipse(x1, y1, x2, y2, style) draws an ellipse inside the rectangle bounded by (x1, y1) and (x2, y2). Default style is FILLED. ░ DrawArc(x, y, radius, startDegrees, numDegrees, style) draws an arc with center at x, y, and specified radius, beginning at startDegrees and continuing for numDegrees. а Default style is FRAME. 0 degrees is at 12:00, 90 is at 3:00, 180 is at 6:00, 270 is at 9:00. IV. Drawing Text and Numbers ░ DrawString(x, y, textString) draws a string at location (x, y) using the font set by SetFont ░ DrawInteger(x, y, integer) draws an integer (0 to 9999) at location (x, y) using the font set by SetFont ░ SetFont(size, fontStyle, fontFamily) sets the font characteristics. The following is a list of the base styles and their corresponding integer representation: plain = 0, bold = 1, 2 = italic, underline = 4, outline = 8, shadow = 9 If you are wondering what happened to number 3, it works like thisЧto get a font that is both bold and italic you add boldТs value, 1 and italicТs value 2. This means that TextFace(3) will give you a bold italic font. You can get similar combinations with similar additions. The number of font families may differ from Mac to Mac but here are some of the more common font numbers: chicago 0, applfont 1, newYork 2, geneva 3, monaco 4, venice 5, london 6, athens 7, sanFran 8, toronto 9, cairo 11, losAngeles 12, times 20, helvetica 21, courier 22, symbol 23, mobile 24 Feel free to experiment with the numbers. If you use a number of a font that is not in the system, the font defaults to font number 0. V. Mouse/Keyboard input ░ GetMouseCoord(x, y) returns the current mouse coordinates in x and y ░ WaitMouseClick(x, y) waits for a mouse click event and returns the coordinates in x and y ░ GetKeyPress(key) returns the value of the key that was pressed without waiting (blocking) ею } ЕЖЎЎЎB*OJQJph*Csецюяаб╡т ~ ╜ х ¤ ) : f g ░ · : j їєєєщ▀єєєєєє┘єєє╧є╧єєєєє Д╨Д╨^Д╨`Д╨Д╨^Д╨ Д╨Д╨^Д╨`Д╨ Д╨Д0¤^Д╨`Д0¤ Д╨Д0¤^Д╨`Д0¤*Csецюяаб╡т ~ ╜ х ¤ ) : f g ░ · : j ▒ ю ) m ▓ є 2 N O Е ╚ ▌ а╛ /pУ═Ббв└р"@О╢°6YВЭЮ SасiВЩ╠ф)=Ж¤¤√Hj ▒ ю ) m ▓ є 2 N O Е ╚ ▌ а╛ /pУ═Ббв└р"¤¤¤¤¤¤¤¤¤¤¤є¤э¤э¤¤є¤¤єє¤¤¤¤Да^Да Д╨Д╨^Д╨`Д╨"@О╢°6YВЭЮ SасiВЩ╠ф)=Ж¤ў¤¤эуу▌¤¤¤¤¤▌¤¤¤¤ў¤ўД╨`Д╨ ДаД╨^Да`Д╨ Д╨Д╨^Д╨`Д╨Да^Да░╨/ ░р=!░"░#Ра$Ра%░ i4@ё 4NormalCJOJPJQJmH <A@Є б<Default Paragraph FontVC`ЄVBody Text IndentДаД`·^Да`Д`·B*OJQJphЖ2    !  аzЩ   аzЩ   аzЩЕсЖCИЖj "ЖЖ4BFNvи╡Q]шЁ,2доR[ИРрэгн  Ц Э м ╕ ║ ─  ! 5 ? ├ ═ ╘ ▐  ! % 0 Ж Н С Ш Я и к ┤ · 3 ; $+17=CIOSY_ekrxЕКСЫм╡ЕТ╧▌,7И-3NQВи╢цч╢╖цш}ВД└┴шё¤,3:>░╖│╕*4nw│╕Їў39R\ИС╔╦рюго╛├  1 6 q s Ц Ю ╧ ╘   Е З ├ ╬ т ч % 1 @ E С Щ ╕ ╝ ° № 6 ; Y b 3 < SYаеЕУЫв╧▐фщ,8=DИ  MBHS;Macintosh HD:Temporary Items:AutoRecovery save of Document1MBHSGMacintosh HD:Desktop Folder:*WORKING* Graphics for 8th pd.:Command Info @АQQШїQQ~│Ж0 @GРTimes New Roman5РАSymbol3Р Arial5Р Geneva3РTimes 1ИЁ╨hЭ UF│ UFЖe!Ёе└┤┤А0dн|Ё  IMBHS■  рЕЯЄ∙OhлС+'│┘0LИРЬи┤└╨ рь   ,4<D'IssssNormalfMBHSlf1HSMicrosoft Word 9.0d@╚@■Чl╥└@цйo╥└Жe■  ╒═╒Ь.УЧ+,∙о0ь hpАИРШ аи░╕ └ ╬'MCPSitlн╧ I Title ■    !■   #$%&'()■   +,-./01■   ¤   4■   ■   ■                                                                                                                                                                                                                                                                                                       Root Entry         └FЪp?N╥└6А1Table            WordDocument        2SummaryInformation(    "DocumentSummaryInformation8            *CompObj    XObjectPool            Ъp?N╥└Ъp?N╥└            ■                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ■      └FMicrosoft Word Document■   NB6WWord.Document.8