!?K:Q      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPShort description(c) Francesco Gazzetta, 2016MITfrancygazz@gmail.com experimentalNone shine6How big (and how stretched/cropped) the Image is drawnshineThe orizinal size of the imageshine'Scale the image to the given dimensionsshineGClip the image from the given coordinates to the given width and heightshine;Clip (x,y,width,height) and scale (width, height) the imageshineJust a wrapper around the Q$ type. Needed for the Show instance. shine"Makes an image element from an URL  Short description(c) Francesco Gazzetta, 2016MITfrancygazz@gmail.com experimentalSafeshine)Datatype representing all possible inputsshineThe three mouse buttonsshineThe four key modifiersshine%The state of a button on the keyboard shineBConvert a js mouse button identifier to the corresponding datatype!shine&Convert a bool (from js) to a keystate ! !Short description(c) Francesco Gazzetta, 2016MITfrancygazz@gmail.com experimentalNone))*shine.A drawable element. All Pictures are centered.+shine!The empty picture. Draws nothing.,shineA rectangle from the dimensions-shineSame thing but filled.shine)A line from the coordinates of two points/shine!A polygon from a list of vertices0shineAn arc from the radius, start angle, end angle. If the last parameter is True, the direction is counterclockwise TODO replace with Clockwise | Counterclockwise or remove entirely1shineA filled circle from the radius2shineDraws some text. The R S is the optional max width.3shineDraws an image4shineDraws the second * over the first5shine Applies the 8h to the picture. Innermost colors have the precedence, so you can set a "global color" and override it6shine Rotates the Picture (in radians)7shine0Moves the Picture by the given x and y distances8shineAA color given r, g, b (all from 0 to 255) and alpha (from 0 to 1):shineHow the text should be aligned>shineJs-style font, ex.  "12px Sans"?shine/A circle from the center coordinates and radius@shine#Shorthand to draw a series of linesAshine*s are Ts. The identity is an + (completely transparent) picture and the composing function is the overlapping (the right picture is drawn over the left one).Bshine*s are U]s. The composing function is the overlapping (the right picture is drawn over the left one).*2+3,-./01456789:;<=>?@*2+3,-./01456789:;<=>?@Short description(c) Francesco Gazzetta, 2016MITfrancygazz@gmail.com experimentalNone, Ishine"Renders a picture on a 2D context.IIShort description(c) Francesco Gazzetta, 2016MITfrancygazz@gmail.com experimentalNone:SJshine$Get a context from a canvas element.KshineCreate a full screen canvasLshine/Create a fixed size canvas given the dimensionsMshine.Draws a picture which depends only on the timeNshine]Draws a picture which depends only on the time... and everything else, since you can do I/O.OshineLets you manage the input.PshineSame thing with I/OJshinethis must be a canvasMshinethe context to draw onshineFPSshineYour drawing functionNshinethe context to draw onshineFPSshineYour drawing functionOshinethe context to draw onshineFPSshine Initial stateshineDrawing functionshineInput handling functionshineStepping functionPshinethe context to draw onshineFPSshine Initial stateshineDrawing functionshineInput handling functionshineStepping functionJKLMNOPJKLMNOPV      !"#$%&'()*+,-./0123456789:;<==>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_shine-0.2.0.4-inplaceGraphics.Shine.PictureGraphics.Shine.ImageGraphics.Shine.InputGraphics.Shine.RenderGraphics.ShinebaseGHC.Base<> ImageSizeOriginal StretchedClippedClippedStretched ImageData unImageData makeImage$fShowImageData $fEqImageData $fEqImageSize$fShowImageSizeInputKeyboardMouseBtn MouseWheel MouseMoveBtnLeftBtnRight BtnMiddle ModifiersctrlaltshiftmetaKeyStateDownUp toMouseBtn toKeyState$fShowKeyState $fEqKeyState$fShowModifiers $fEqModifiers$fShowMouseBtn $fEqMouseBtn $fShowInput $fEqInputPictureEmptyRectRectFLinePolygonArcCircleFTextImageOverColoredRotate TranslateColor TextAlignment LeftAlign CenterAlign RightAlignFontcirclepath$fMonoidPicture$fSemigroupPicture$fEqTextAlignment$fShowTextAlignment $fEqColor $fShowColor $fEqPicture $fShowPicturerender toContextfullScreenCanvasfixedSizeCanvasanimate animateIOplayplayIO.ghcjs-dom-jsffi-0.9.4.0-76Ln42WLg2C47qQnHuJVX0GHCJS.DOM.TypesHTMLImageElement GHC.MaybeMaybeghc-prim GHC.TypesDoubleMonoid Semigroup