gloss-algorithms-1.13.0.2: Data structures and algorithms for working with 2D graphics.

Safe HaskellSafe
LanguageHaskell2010

Graphics.Gloss.Data.Quad

Synopsis

Documentation

data Quad Source #

Represents a Quadrant in the 2D plane.

Constructors

NW

North West

NE

North East

SW

South West

SE

South East

Instances
Enum Quad Source # 
Instance details

Defined in Graphics.Gloss.Data.Quad

Methods

succ :: Quad -> Quad #

pred :: Quad -> Quad #

toEnum :: Int -> Quad #

fromEnum :: Quad -> Int #

enumFrom :: Quad -> [Quad] #

enumFromThen :: Quad -> Quad -> [Quad] #

enumFromTo :: Quad -> Quad -> [Quad] #

enumFromThenTo :: Quad -> Quad -> Quad -> [Quad] #

Eq Quad Source # 
Instance details

Defined in Graphics.Gloss.Data.Quad

Methods

(==) :: Quad -> Quad -> Bool #

(/=) :: Quad -> Quad -> Bool #

Show Quad Source # 
Instance details

Defined in Graphics.Gloss.Data.Quad

Methods

showsPrec :: Int -> Quad -> ShowS #

show :: Quad -> String #

showList :: [Quad] -> ShowS #

allQuads :: [Quad] Source #

A list of all quadrants. Same as [NW .. SE].