Qth.Core.Size

Contents

Documentation

size :: Int -> Int -> Size #

sizeF :: Double -> Double -> SizeF #

sizeq :: Size -> IO (QSize ()) #

sizeFq :: SizeF -> IO (QSizeF ()) #

sizeQ :: QSize () -> IO Size #

sizeQF :: QSizeF () -> IO SizeF #

boundedTo :: Ord a => ISize a -> ISize a -> ISize a #

expandedTo :: Ord a => ISize a -> ISize a -> ISize a #

scale :: Qhscale a => ISize a -> a -> a -> AspectRatioMode -> ISize a #

scaleS :: Qhscale a => ISize a -> ISize a -> AspectRatioMode -> ISize a #

Orphan instances

Qhdf SizeF Double # 
Instance details

Methods

(*~) :: SizeF -> Double -> SizeF #

(/~) :: SizeF -> Double -> SizeF #

(~*) :: Double -> SizeF -> SizeF #

(~/) :: Double -> SizeF -> SizeF #

Qhdf Size Double # 
Instance details

Methods

(*~) :: Size -> Double -> Size #

(/~) :: Size -> Double -> Size #

(~*) :: Double -> Size -> Size #

(~/) :: Double -> Size -> Size #

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

Methods

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

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

(Ord a, Num a) => Num (ISize a) # 
Instance details

Methods

(+) :: ISize a -> ISize a -> ISize a

(-) :: ISize a -> ISize a -> ISize a

(*) :: ISize a -> ISize a -> ISize a

negate :: ISize a -> ISize a

abs :: ISize a -> ISize a

signum :: ISize a -> ISize a

fromInteger :: Integer -> ISize a

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

Methods

showsPrec :: Int -> ISize a -> ShowS

show :: ISize a -> String

showList :: [ISize a] -> ShowS

QhisEV (ISize a) # 
Instance details

Methods

isEmpty :: ISize a -> Bool #

isValid :: ISize a -> Bool #

QhisNull (ISize a) # 
Instance details

Methods

isNull :: ISize a -> Bool #

Qhwh (ISize a) a # 
Instance details

Methods

width :: ISize a -> a #

height :: ISize a -> a #

setWidth :: ISize a -> a -> ISize a #

setHeight :: ISize a -> a -> ISize a #