Qth.Core.Line

Contents

Documentation

line :: Int -> Int -> Int -> Int -> Line #

lineF :: Double -> Double -> Double -> Double -> LineF #

lineP :: QhlineP ia a => ia -> ILine a #

lineq :: Line -> IO (QLine ()) #

lineFq :: LineF -> IO (QLineF ()) #

lineQ :: QLine () -> IO Line #

lineQF :: QLineF () -> IO LineF #

p1 :: ILine a -> IPoint a #

p2 :: ILine a -> IPoint a #

x1 :: ILine a -> a #

y1 :: ILine a -> a #

x2 :: ILine a -> a #

y2 :: ILine a -> a #

dx :: ILine a -> a #

dy :: ILine a -> a #

len :: LineF -> Double #

Orphan instances

QhtranslateF LineF # 
Instance details

Methods

translateF :: LineF -> Double -> Double -> LineF #

Qhtranslate Line # 
Instance details

Methods

translate :: Line -> Int -> Int -> Line #

(Ord a, Num a) => Eq (ILine a) # 
Instance details

Methods

(==) :: ILine a -> ILine a -> Bool

(/=) :: ILine a -> ILine a -> Bool

(Ord a, Num a) => Show (ILine a) # 
Instance details

Methods

showsPrec :: Int -> ILine a -> ShowS

show :: ILine a -> String

showList :: [ILine a] -> ShowS

QhisNull (ILine a) # 
Instance details

Methods

isNull :: ILine a -> Bool #

Qhitranslate (ILine a) a # 
Instance details

Methods

itranslate :: ILine a -> a -> a -> ILine a #

(Ord a, Num a) => QhtranslateP (ILine a) (IPoint a) # 
Instance details

Methods

translateP :: ILine a -> IPoint a -> ILine a #