Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Safe Haskell | None |
- data BBox = BBox {
- bbox_upperleft :: (Double, Double)
- bbox_lowerright :: (Double, Double)
- data StrokeBBox = StrokeBBox {}
- type TLayerBBox = GLayer [] StrokeBBox
- type TPageBBox = GPage Background [] TLayerBBox
- type TXournalBBox = GXournal [] TPageBBox
- mkbbox :: [Pair Double Double] -> BBox
- mkbboxF :: (Foldable m, Functor m) => m (Double, Double) -> BBox
- bboxFromStroke :: Stroke -> BBox
- dimToBBox :: Dimension -> BBox
- xformBBox :: ((Double, Double) -> (Double, Double)) -> BBox -> BBox
- inflate :: BBox -> Double -> BBox
- moveBBoxToOrigin :: BBox -> BBox
- moveBBoxByOffset :: (Double, Double) -> BBox -> BBox
- moveBBoxULCornerTo :: (Double, Double) -> BBox -> BBox
- intersectBBox :: BBox -> BBox -> Maybe BBox
- unionBBox :: BBox -> BBox -> BBox
- data ULMaybe a
- newtype IntersectBBox = Intersect {}
- newtype UnionBBox = Union {}
- class Maybeable a where
- mkStrokeBBoxFromStroke :: Stroke -> StrokeBBox
- strokeFromStrokeBBox :: StrokeBBox -> Stroke
Documentation
bounding box type
BBox | |
|
data StrokeBBox Source
type TLayerBBox = GLayer [] StrokeBBoxSource
type TPageBBox = GPage Background [] TLayerBBoxSource
type TXournalBBox = GXournal [] TPageBBoxSource
bboxFromStroke :: Stroke -> BBoxSource
moveBBoxToOrigin :: BBox -> BBoxSource
newtype IntersectBBox Source