nanovg-0.5.2.0: Haskell bindings for nanovg
NanoVG.Internal.FixedVector
Synopsis
data V2 a Source #
Vector of 2 strict elements
Constructors
Instances
Methods
fmap :: (a -> b) -> V2 a -> V2 b #
(<$) :: a -> V2 b -> V2 a #
fold :: Monoid m => V2 m -> m #
foldMap :: Monoid m => (a -> m) -> V2 a -> m #
foldr :: (a -> b -> b) -> b -> V2 a -> b #
foldr' :: (a -> b -> b) -> b -> V2 a -> b #
foldl :: (b -> a -> b) -> b -> V2 a -> b #
foldl' :: (b -> a -> b) -> b -> V2 a -> b #
foldr1 :: (a -> a -> a) -> V2 a -> a #
foldl1 :: (a -> a -> a) -> V2 a -> a #
toList :: V2 a -> [a] #
null :: V2 a -> Bool #
length :: V2 a -> Int #
elem :: Eq a => a -> V2 a -> Bool #
maximum :: Ord a => V2 a -> a #
minimum :: Ord a => V2 a -> a #
sum :: Num a => V2 a -> a #
product :: Num a => V2 a -> a #
traverse :: Applicative f => (a -> f b) -> V2 a -> f (V2 b) #
sequenceA :: Applicative f => V2 (f a) -> f (V2 a) #
mapM :: Monad m => (a -> m b) -> V2 a -> m (V2 b) #
sequence :: Monad m => V2 (m a) -> m (V2 a) #
(==) :: V2 a -> V2 a -> Bool #
(/=) :: V2 a -> V2 a -> Bool #
compare :: V2 a -> V2 a -> Ordering #
(<) :: V2 a -> V2 a -> Bool #
(<=) :: V2 a -> V2 a -> Bool #
(>) :: V2 a -> V2 a -> Bool #
(>=) :: V2 a -> V2 a -> Bool #
max :: V2 a -> V2 a -> V2 a #
min :: V2 a -> V2 a -> V2 a #
readsPrec :: Int -> ReadS (V2 a) #
readList :: ReadS [V2 a] #
readPrec :: ReadPrec (V2 a) #
readListPrec :: ReadPrec [V2 a] #
showsPrec :: Int -> V2 a -> ShowS #
show :: V2 a -> String #
showList :: [V2 a] -> ShowS #
data V3 a Source #
Vector of 3 strict elements
fmap :: (a -> b) -> V3 a -> V3 b #
(<$) :: a -> V3 b -> V3 a #
fold :: Monoid m => V3 m -> m #
foldMap :: Monoid m => (a -> m) -> V3 a -> m #
foldr :: (a -> b -> b) -> b -> V3 a -> b #
foldr' :: (a -> b -> b) -> b -> V3 a -> b #
foldl :: (b -> a -> b) -> b -> V3 a -> b #
foldl' :: (b -> a -> b) -> b -> V3 a -> b #
foldr1 :: (a -> a -> a) -> V3 a -> a #
foldl1 :: (a -> a -> a) -> V3 a -> a #
toList :: V3 a -> [a] #
null :: V3 a -> Bool #
length :: V3 a -> Int #
elem :: Eq a => a -> V3 a -> Bool #
maximum :: Ord a => V3 a -> a #
minimum :: Ord a => V3 a -> a #
sum :: Num a => V3 a -> a #
product :: Num a => V3 a -> a #
traverse :: Applicative f => (a -> f b) -> V3 a -> f (V3 b) #
sequenceA :: Applicative f => V3 (f a) -> f (V3 a) #
mapM :: Monad m => (a -> m b) -> V3 a -> m (V3 b) #
sequence :: Monad m => V3 (m a) -> m (V3 a) #
(==) :: V3 a -> V3 a -> Bool #
(/=) :: V3 a -> V3 a -> Bool #
compare :: V3 a -> V3 a -> Ordering #
(<) :: V3 a -> V3 a -> Bool #
(<=) :: V3 a -> V3 a -> Bool #
(>) :: V3 a -> V3 a -> Bool #
(>=) :: V3 a -> V3 a -> Bool #
max :: V3 a -> V3 a -> V3 a #
min :: V3 a -> V3 a -> V3 a #
readsPrec :: Int -> ReadS (V3 a) #
readList :: ReadS [V3 a] #
readPrec :: ReadPrec (V3 a) #
readListPrec :: ReadPrec [V3 a] #
showsPrec :: Int -> V3 a -> ShowS #
show :: V3 a -> String #
showList :: [V3 a] -> ShowS #
data V4 a Source #
Vector of 4 strict elements
fmap :: (a -> b) -> V4 a -> V4 b #
(<$) :: a -> V4 b -> V4 a #
fold :: Monoid m => V4 m -> m #
foldMap :: Monoid m => (a -> m) -> V4 a -> m #
foldr :: (a -> b -> b) -> b -> V4 a -> b #
foldr' :: (a -> b -> b) -> b -> V4 a -> b #
foldl :: (b -> a -> b) -> b -> V4 a -> b #
foldl' :: (b -> a -> b) -> b -> V4 a -> b #
foldr1 :: (a -> a -> a) -> V4 a -> a #
foldl1 :: (a -> a -> a) -> V4 a -> a #
toList :: V4 a -> [a] #
null :: V4 a -> Bool #
length :: V4 a -> Int #
elem :: Eq a => a -> V4 a -> Bool #
maximum :: Ord a => V4 a -> a #
minimum :: Ord a => V4 a -> a #
sum :: Num a => V4 a -> a #
product :: Num a => V4 a -> a #
traverse :: Applicative f => (a -> f b) -> V4 a -> f (V4 b) #
sequenceA :: Applicative f => V4 (f a) -> f (V4 a) #
mapM :: Monad m => (a -> m b) -> V4 a -> m (V4 b) #
sequence :: Monad m => V4 (m a) -> m (V4 a) #
(==) :: V4 a -> V4 a -> Bool #
(/=) :: V4 a -> V4 a -> Bool #
compare :: V4 a -> V4 a -> Ordering #
(<) :: V4 a -> V4 a -> Bool #
(<=) :: V4 a -> V4 a -> Bool #
(>) :: V4 a -> V4 a -> Bool #
(>=) :: V4 a -> V4 a -> Bool #
max :: V4 a -> V4 a -> V4 a #
min :: V4 a -> V4 a -> V4 a #
readsPrec :: Int -> ReadS (V4 a) #
readList :: ReadS [V4 a] #
readPrec :: ReadPrec (V4 a) #
readListPrec :: ReadPrec [V4 a] #
showsPrec :: Int -> V4 a -> ShowS #
show :: V4 a -> String #
showList :: [V4 a] -> ShowS #
type M23 a = V2 (V3 a) Source #
Type synonym for 2x3 matrices