OGDF-1.0.0.0: Haskell binding to OGDF
Safe HaskellSafe-Inferred
LanguageHaskell2010

OGDF.Color

Documentation

newtype Color Source #

Constructors

Color (Ptr RawColor) 

Instances

Instances details
IColor Color Source # 
Instance details

Defined in OGDF.Color.Implementation

Show Color Source # 
Instance details

Defined in OGDF.Color.RawType

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

FPtr Color Source # 
Instance details

Defined in OGDF.Color.RawType

Associated Types

type Raw Color #

Eq Color Source # 
Instance details

Defined in OGDF.Color.RawType

Methods

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

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

Ord Color Source # 
Instance details

Defined in OGDF.Color.RawType

Methods

compare :: Color -> Color -> Ordering #

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

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

(>) :: Color -> Color -> Bool #

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

max :: Color -> Color -> Color #

min :: Color -> Color -> Color #

IDeletable Color Source # 
Instance details

Defined in OGDF.Color.Implementation

Methods

delete :: Color -> IO () #

Castable Color (Ptr RawColor) Source # 
Instance details

Defined in OGDF.Color.Cast

Methods

cast :: Color -> (Ptr RawColor -> IO r) -> IO r #

uncast :: Ptr RawColor -> (Color -> IO r) -> IO r #

type Raw Color Source # 
Instance details

Defined in OGDF.Color.RawType

class IDeletable a => IColor a Source #

Instances

Instances details
IColor Color Source # 
Instance details

Defined in OGDF.Color.Implementation

upcastColor :: forall a. (FPtr a, IColor a) => a -> Color Source #

downcastColor :: forall a. (FPtr a, IColor a) => Color -> a Source #

newColor :: (ICppString c0, FPtr c0) => c0 -> IO Color Source #