Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. data ParametricValues a

    Rasterific Graphics.Rasterific.Patch

    Values associated to the corner of a patch

    North               East
    +--------------+
    |0            1|
    |              |
    |              |
    |              |
    |3            2|
    +--------------+
    West                South
    

  2. ParametricValues :: a -> a -> a -> a -> ParametricValues a

    Rasterific Graphics.Rasterific.Patch

    No documentation available.

  3. PatchBicubic :: PatchInterpolation

    Rasterific Graphics.Rasterific.Patch

    Bicubic interpolation

    import qualified Data.Vector as V
    let colorCycle = cycle
    [ PixelRGBA8 0 0x86 0xc1 255
    , PixelRGBA8 0xff 0xf4 0xc1 255
    , PixelRGBA8 0xFF 0x53 0x73 255
    , PixelRGBA8 0xff 0xf4 0xc1 255
    , PixelRGBA8 0 0x86 0xc1 255]
    colors = V.fromListN (4 * 4) colorCycle
    renderMeshPatch PatchBicubic $ generateLinearGrid 3 3 (V2 10 10) (V2 60 60) colors
    

  4. PatchBilinear :: PatchInterpolation

    Rasterific Graphics.Rasterific.Patch

    Bilinear interpolation

    import qualified Data.Vector as V
    let colorCycle = cycle
    [ PixelRGBA8 0 0x86 0xc1 255
    , PixelRGBA8 0xff 0xf4 0xc1 255
    , PixelRGBA8 0xFF 0x53 0x73 255
    , PixelRGBA8 0xff 0xf4 0xc1 255
    , PixelRGBA8 0 0x86 0xc1 255]
    colors = V.fromListN (4 * 4) colorCycle
    renderMeshPatch PatchBilinear $ generateLinearGrid 3 3 (V2 10 10) (V2 60 60) colors
    

  5. data PatchInterpolation

    Rasterific Graphics.Rasterific.Patch

    How do we want to perform color/image interpolation within the patch.

  6. module Graphics.Rasterific.PathWalker

    This module help the walking of path of any shape, being able to return the current position and the actual orientation.

  7. type PathDrawer (m :: Type -> Type) px = Transformation -> PlaneBound -> DrawOrder px -> m ()

    Rasterific Graphics.Rasterific.PathWalker

    Callback function in charge to transform the DrawOrder given the transformation to place it on the path.

  8. type PathWalker a = PathWalkerT Identity a

    Rasterific Graphics.Rasterific.PathWalker

    Simpler alias if monad transformers are not needed.

  9. data PathWalkerT (m :: Type -> Type) a

    Rasterific Graphics.Rasterific.PathWalker

    The walking transformer monad.

  10. class DequeClass d => PopL (d :: Type -> Type)

    abstract-deque Data.Concurrent.Deque.Class

    No documentation available.

Page 665 of many | Previous | Next