fontconfig-pure-0.5.1.0: Queries your system (Linux/BSD/etc) font database.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Text.Font.Choose.Range

Description

A range between 2 values.

Synopsis

Documentation

data Range Source #

Matches a numeric range, bounded by 2 floating point numbers.

Constructors

Range Double Double 

Instances

Instances details
Arbitrary Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Methods

arbitrary :: Gen Range #

shrink :: Range -> [Range] #

Generic Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Read Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Show Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

ToValue Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Value

Eq Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Methods

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

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

Ord Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Methods

compare :: Range -> Range -> Ordering #

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

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

(>) :: Range -> Range -> Bool #

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

max :: Range -> Range -> Range #

min :: Range -> Range -> Range #

Hashable Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

MessagePack Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

type Rep Range Source # 
Instance details

Defined in Graphics.Text.Font.Choose.Range

type Rep Range = D1 ('MetaData "Range" "Graphics.Text.Font.Choose.Range" "fontconfig-pure-0.5.1.0-inplace" 'False) (C1 ('MetaCons "Range" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))

iRange :: Int -> Int -> Range Source #

Matches an integral range.

validRange :: Range -> Bool Source #

Can FontConfig process this range?