Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
diagrams-lib Diagrams.BoundingBox Create a transformation mapping points from one bounding box to the other. Returns Nothing if either of the boxes are empty.
-
No documentation available.
-
diagrams-lib Diagrams.Deform No documentation available.
newtype
Deformation (v :: Type -> Type) (u :: Type -> Type) ndiagrams-lib Diagrams.Deform Deformations are a superset of the affine transformations represented by the Transformation type. In general they are not invertible. Deformations include projective transformations. Deformation can represent other functions from points to points which are "well-behaved", in that they do not introduce small wiggles.
Deformation :: (Point v n -> Point u n) -> Deformation (v :: Type -> Type) (u :: Type -> Type) ndiagrams-lib Diagrams.Deform No documentation available.
-
diagrams-lib Diagrams.Deform asDeformation converts a Transformation to a Deformation by discarding the inverse transform. This allows reusing Transformations in the construction of Deformations.
deform :: Deformable a b => Deformation (V a) (V b) (N a) -> a -> bdiagrams-lib Diagrams.Deform deform d a transforms a by the deformation d. If the type of a is not closed under projection, deform should call deform' with some reasonable default value of epsilon.
deform' :: Deformable a b => N a -> Deformation (V a) (V b) (N a) -> a -> bdiagrams-lib Diagrams.Deform deform' epsilon d a transforms a by the deformation d. If the type of a is not closed under projection, approximate to accuracy epsilon.
declareClassyFor :: [(String, (String, String))] -> [(String, String)] -> DecsQ -> DecsQdiagrams-lib Diagrams.Prelude Similar to makeClassyFor, but takes a declaration quote.
declareLensesFor :: [(String, String)] -> DecsQ -> DecsQdiagrams-lib Diagrams.Prelude Similar to makeLensesFor, but takes a declaration quote.