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.
-
Rasterific Graphics.Rasterific.Patch Values associated to the corner of a patch
North East +--------------+ |0 1| | | | | | | |3 2| +--------------+ West South
ParametricValues :: a -> a -> a -> a -> ParametricValues aRasterific Graphics.Rasterific.Patch No documentation available.
PatchBicubic :: PatchInterpolationRasterific 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
PatchBilinear :: PatchInterpolationRasterific 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
-
Rasterific Graphics.Rasterific.Patch How do we want to perform color/image interpolation within the patch.
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.
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.
type
PathWalker a = PathWalkerT Identity aRasterific Graphics.Rasterific.PathWalker Simpler alias if monad transformers are not needed.
data
PathWalkerT (m :: Type -> Type) aRasterific Graphics.Rasterific.PathWalker The walking transformer monad.
class DequeClass d =>
PopL (d :: Type -> Type)abstract-deque Data.Concurrent.Deque.Class No documentation available.