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. PointSize :: Float -> PointSize

    FontyFruity Graphics.Text.TrueType

    No documentation available.

  2. PatchBicubic :: PatchInterpolation

    Rasterific Graphics.Rasterific

    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
    

  3. PatchBilinear :: PatchInterpolation

    Rasterific Graphics.Rasterific

    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
    

  4. data PatchInterpolation

    Rasterific Graphics.Rasterific

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

  5. data Path

    Rasterific Graphics.Rasterific

    Describe a path in a way similar to many graphical packages, using a "pen" position in memory and reusing it for the next "move" For example the example from Primitive could be rewritten:

    fill $ Path (V2 50 20) True
    [ PathCubicBezierCurveTo (V2 90 60) (V2  5 100) (V2 50 140)
    , PathLineTo (V2 120 80) ]
    

  6. Path :: Point -> Bool -> [PathCommand] -> Path

    Rasterific Graphics.Rasterific

    No documentation available.

  7. data PathCommand

    Rasterific Graphics.Rasterific

    Actions to create a path

  8. PathCubicBezierCurveTo :: Point -> Point -> Point -> PathCommand

    Rasterific Graphics.Rasterific

    Draw a cubic bezier curve using 2 control points.

  9. PathLineTo :: Point -> PathCommand

    Rasterific Graphics.Rasterific

    Draw a line from the current point to another point

  10. PathQuadraticBezierCurveTo :: Point -> Point -> PathCommand

    Rasterific Graphics.Rasterific

    Draw a quadratic bezier curve from the current point through the control point to the end point.

Page 663 of many | Previous | Next