Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
withTransformation :: Transformation -> Drawing px () -> Drawing px ()Rasterific Graphics.Rasterific Draw all the sub drawing commands using a transformation.
transformOrder :: (Point -> Point) -> DrawOrder px -> DrawOrder pxRasterific Graphics.Rasterific.Immediate No documentation available.
transformTexture :: Transformation -> Texture px -> Texture pxRasterific Graphics.Rasterific.Texture Transform the coordinates used for texture before applying it, allow interesting transformations.
withTexture (withSampler SamplerRepeat $ transformTexture (rotateCenter 1 (V2 0 0) <> scale 0.5 0.25) $ sampledImageTexture textureImage) $ fill $ rectangle (V2 0 0) 200 200
uniformTexture :: px -> Texture pxRasterific Graphics.Rasterific.Texture The uniform texture is the simplest texture of all: an uniform color.
module Graphics.Rasterific.
Transformations This module provide some helpers in order to perform basic geometric transformation on the drawable primitives. You can combine the transformation is mappend or the (\<\>) operator from Data.Monoid .
-
Rasterific Graphics.Rasterific.Transformations Represent a 3*3 matrix for homogenous coordinates.
| A C E | | B D F | | 0 0 1 |
Transformation :: Float -> Float -> Float -> Float -> Float -> Float -> TransformationRasterific Graphics.Rasterific.Transformations No documentation available.
_transformA :: Transformation -> {-# UNPACK #-} !FloatRasterific Graphics.Rasterific.Transformations No documentation available.
_transformB :: Transformation -> {-# UNPACK #-} !FloatRasterific Graphics.Rasterific.Transformations No documentation available.
_transformC :: Transformation -> {-# UNPACK #-} !FloatRasterific Graphics.Rasterific.Transformations No documentation available.