From 129da60ff20ae95334dabc9d95058d0dcb51231c Mon Sep 17 00:00:00 2001 From: Phil Freeman Date: Wed, 17 Jun 2015 09:17:50 -0700 Subject: [PATCH] Remove README --- README.md | 174 ------------------------------------------------------ 1 file changed, 174 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index e59b273..0000000 --- a/README.md +++ /dev/null @@ -1,174 +0,0 @@ -# Module Documentation - -## Module Graphics.Canvas - -### Types - - type Arc = { end :: Number, start :: Number, r :: Number, y :: Number, x :: Number } - - data Canvas :: ! - - data CanvasElement :: * - - data CanvasPixelArray :: * - - data Composite where - SourceOver :: Composite - SourceIn :: Composite - SourceOut :: Composite - SourceAtop :: Composite - DestinationOver :: Composite - DestinationIn :: Composite - DestinationOut :: Composite - DestinationAtop :: Composite - Lighter :: Composite - Copy :: Composite - Xor :: Composite - - data Context2D :: * - - type Dimensions = { height :: Number, width :: Number } - - data ImageData :: * - - data LineCap where - Round :: LineCap - Square :: LineCap - Butt :: LineCap - - type Rectangle = { h :: Number, w :: Number, y :: Number, x :: Number } - - type ScaleTransform = { scaleY :: Number, scaleX :: Number } - - data TextAlign where - AlignLeft :: TextAlign - AlignRight :: TextAlign - AlignCenter :: TextAlign - AlignStart :: TextAlign - AlignEnd :: TextAlign - - type TextMetrics = { width :: Number } - - type Transform = { m32 :: Number, m31 :: Number, m22 :: Number, m21 :: Number, m12 :: Number, m11 :: Number } - - type TranslateTransform = { translateY :: Number, translateX :: Number } - - -### Type Class Instances - - instance showComposite :: Show Composite - - instance showTextAlign :: Show TextAlign - - -### Values - - arc :: forall eff. Context2D -> Arc -> Eff (canvas :: Canvas | eff) Context2D - - beginPath :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - canvasToDataURL :: forall eff. CanvasElement -> Eff (canvas :: Canvas | eff) String - - clearRect :: forall eff. Context2D -> Rectangle -> Eff (canvas :: Canvas | eff) Context2D - - clip :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - closePath :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - createImageData :: forall eff. Context2D -> Number -> Number -> Eff (canvas :: Canvas | eff) ImageData - - createImageDataCopy :: forall eff. Context2D -> ImageData -> Eff (canvas :: Canvas | eff) ImageData - - fill :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - fillPath :: forall eff a. Context2D -> Eff (canvas :: Canvas | eff) a -> Eff (canvas :: Canvas | eff) a - - fillRect :: forall eff. Context2D -> Rectangle -> Eff (canvas :: Canvas | eff) Context2D - - fillText :: forall eff. Context2D -> String -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - font :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) String - - getCanvasDimensions :: forall eff. CanvasElement -> Eff (canvas :: Canvas | eff) Dimensions - - getCanvasElementById :: forall eff. String -> Eff (canvas :: Canvas | eff) (Maybe CanvasElement) - - getCanvasHeight :: forall eff. CanvasElement -> Eff (canvas :: Canvas | eff) Number - - getCanvasWidth :: forall eff. CanvasElement -> Eff (canvas :: Canvas | eff) Number - - getContext2D :: forall eff. CanvasElement -> Eff (canvas :: Canvas | eff) Context2D - - getImageData :: forall eff. Context2D -> Number -> Number -> Number -> Number -> Eff (canvas :: Canvas | eff) ImageData - - getImageDataHeight :: forall eff. ImageData -> Eff (canvas :: Canvas | eff) Number - - getImageDataPixelArray :: forall eff. ImageData -> Eff (canvas :: Canvas | eff) CanvasPixelArray - - getImageDataWidth :: forall eff. ImageData -> Eff (canvas :: Canvas | eff) Number - - lineTo :: forall eff. Context2D -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - measureText :: forall eff. Context2D -> String -> Eff (canvas :: Canvas | eff) TextMetrics - - moveTo :: forall eff. Context2D -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - putImageData :: forall eff. Context2D -> ImageData -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - putImageDataFull :: forall eff. Context2D -> ImageData -> Number -> Number -> Number -> Number -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - rect :: forall eff. Context2D -> Rectangle -> Eff (canvas :: Canvas | eff) Context2D - - restore :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - rotate :: forall eff. Number -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - save :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - scale :: forall eff. ScaleTransform -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setCanvasDimensions :: forall eff. Dimensions -> CanvasElement -> Eff (canvas :: Canvas | eff) CanvasElement - - setCanvasHeight :: forall eff. Number -> CanvasElement -> Eff (canvas :: Canvas | eff) CanvasElement - - setCanvasWidth :: forall eff. Number -> CanvasElement -> Eff (canvas :: Canvas | eff) CanvasElement - - setFillStyle :: forall eff. String -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setFont :: forall eff. String -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setGlobalAlpha :: forall eff. Context2D -> Number -> Eff (canvas :: Canvas | eff) Context2D - - setGlobalCompositeOperation :: forall eff. Context2D -> Composite -> Eff (canvas :: Canvas | eff) Context2D - - setLineCap :: forall eff. LineCap -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setLineWidth :: forall eff. Number -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setShadowBlur :: forall eff. Number -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setShadowColor :: forall eff. String -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setShadowOffsetX :: forall eff. Number -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setShadowOffsetY :: forall eff. Number -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setStrokeStyle :: forall eff. String -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - setTextAlign :: forall eff. Context2D -> TextAlign -> Eff (canvas :: Canvas | eff) Context2D - - stroke :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) Context2D - - strokePath :: forall eff a. Context2D -> Eff (canvas :: Canvas | eff) a -> Eff (canvas :: Canvas | eff) a - - strokeRect :: forall eff. Context2D -> Rectangle -> Eff (canvas :: Canvas | eff) Context2D - - strokeText :: forall eff. Context2D -> String -> Number -> Number -> Eff (canvas :: Canvas | eff) Context2D - - textAlign :: forall eff. Context2D -> Eff (canvas :: Canvas | eff) TextAlign - - transform :: forall eff. Transform -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - translate :: forall eff. TranslateTransform -> Context2D -> Eff (canvas :: Canvas | eff) Context2D - - withContext :: forall eff a. Context2D -> Eff (canvas :: Canvas | eff) a -> Eff (canvas :: Canvas | eff) a \ No newline at end of file