~jaro/balkon

ref: 0975c99f8e8fc2f33c968daa8968444bb0c026c5 balkon/lib/Data/Text/ParagraphLayout/Rect.hs -rw-r--r-- 456 bytes
0975c99fJaro Refactor lineNumbers into a common module. 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- | Representation of an axis-aligned rectangle on a 2D plane, with one of its
-- corners being a designated origin point.
module Data.Text.ParagraphLayout.Rect
    ( Rect (Rect, x_origin, y_origin, x_size, y_size)
    , height
    , width
    , x_max
    , x_min
    , x_terminus
    , y_max
    , y_min
    , y_terminus
    , union
    , unionMany
    , unionMany1
    , Bias (LL, LH, HL, HH)
    )
where

import Data.Text.ParagraphLayout.Internal.Rect