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.
PointSize :: Float -> PointSizeFontyFruity Graphics.Text.TrueType No documentation available.
PatchBicubic :: PatchInterpolationRasterific 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
PatchBilinear :: PatchInterpolationRasterific 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
-
Rasterific Graphics.Rasterific How do we want to perform color/image interpolation within the patch.
-
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) ]
Path :: Point -> Bool -> [PathCommand] -> PathRasterific Graphics.Rasterific No documentation available.
-
Rasterific Graphics.Rasterific Actions to create a path
PathCubicBezierCurveTo :: Point -> Point -> Point -> PathCommandRasterific Graphics.Rasterific Draw a cubic bezier curve using 2 control points.
PathLineTo :: Point -> PathCommandRasterific Graphics.Rasterific Draw a line from the current point to another point
PathQuadraticBezierCurveTo :: Point -> Point -> PathCommandRasterific Graphics.Rasterific Draw a quadratic bezier curve from the current point through the control point to the end point.