comic-0.0.1: A format for describing comics.

Safe HaskellNone
LanguageHaskell2010

Data.Comic.Types

Documentation

data Font Source #

Constructors

Font !FontName !FontSize !RGBA 
Instances
Eq Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

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

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

Ord Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

compare :: Font -> Font -> Ordering #

(<) :: Font -> Font -> Bool #

(<=) :: Font -> Font -> Bool #

(>) :: Font -> Font -> Bool #

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

max :: Font -> Font -> Font #

min :: Font -> Font -> Font #

Read Font Source # 
Instance details

Defined in Data.Comic.Types

Show Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

showsPrec :: Int -> Font -> ShowS #

show :: Font -> String #

showList :: [Font] -> ShowS #

Generic Font Source # 
Instance details

Defined in Data.Comic.Types

Associated Types

type Rep Font :: Type -> Type #

Methods

from :: Font -> Rep Font x #

to :: Rep Font x -> Font #

Hashable Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

hashWithSalt :: Int -> Font -> Int #

hash :: Font -> Int #

NFData Font Source # 
Instance details

Defined in Data.Comic.Types

Methods

rnf :: Font -> () #

type Rep Font Source # 
Instance details

Defined in Data.Comic.Types

data Position Source #

Constructors

Pos 

Fields

Instances
Eq Position Source # 
Instance details

Defined in Data.Comic.Types

Ord Position Source # 
Instance details

Defined in Data.Comic.Types

Read Position Source # 
Instance details

Defined in Data.Comic.Types

Show Position Source # 
Instance details

Defined in Data.Comic.Types

Generic Position Source # 
Instance details

Defined in Data.Comic.Types

Associated Types

type Rep Position :: Type -> Type #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

Hashable Position Source # 
Instance details

Defined in Data.Comic.Types

Methods

hashWithSalt :: Int -> Position -> Int #

hash :: Position -> Int #

ToJSON Position Source # 
Instance details

Defined in Data.Comic.Types

FromJSON Position Source # 
Instance details

Defined in Data.Comic.Types

NFData Position Source # 
Instance details

Defined in Data.Comic.Types

Methods

rnf :: Position -> () #

type Rep Position Source # 
Instance details

Defined in Data.Comic.Types

type Rep Position = D1 (MetaData "Position" "Data.Comic.Types" "comic-0.0.1-GvijLpXnXAw1uVTGer44ST" False) (C1 (MetaCons "Pos" PrefixI True) (S1 (MetaSel (Just "_pX") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_pY") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int)))

data RelPosition Source #

Constructors

RPos 

Fields

Instances
Eq RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Ord RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Read RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Show RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Generic RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Associated Types

type Rep RelPosition :: Type -> Type #

Hashable RelPosition Source # 
Instance details

Defined in Data.Comic.Types

ToJSON RelPosition Source # 
Instance details

Defined in Data.Comic.Types

FromJSON RelPosition Source # 
Instance details

Defined in Data.Comic.Types

NFData RelPosition Source # 
Instance details

Defined in Data.Comic.Types

Methods

rnf :: RelPosition -> () #

type Rep RelPosition Source # 
Instance details

Defined in Data.Comic.Types

type Rep RelPosition = D1 (MetaData "RelPosition" "Data.Comic.Types" "comic-0.0.1-GvijLpXnXAw1uVTGer44ST" False) (C1 (MetaCons "RPos" PrefixI True) (S1 (MetaSel (Just "_rX") SourceUnpack SourceStrict DecidedStrict) (Rec0 Float) :*: S1 (MetaSel (Just "_rY") SourceUnpack SourceStrict DecidedStrict) (Rec0 Float)))