{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances,
  ForeignFunctionInterface, IncoherentInstances,
  MultiParamTypeClasses, OverlappingInstances, TemplateHaskell,
  TypeFamilies, TypeSynonymInstances #-}
module OGDF.DRect.Implementation where
import Data.Monoid
import Data.Word
import Data.Int
import Foreign.C
import Foreign.Ptr
import Language.Haskell.TH
import Language.Haskell.TH.Syntax
import System.IO.Unsafe
import FFICXX.Runtime.Cast
import FFICXX.Runtime.CodeGen.Cxx
import FFICXX.Runtime.TH
import OGDF.DRect.RawType
import OGDF.DRect.FFI
import OGDF.DRect.Interface
import OGDF.DRect.Cast
import OGDF.DRect.RawType
import OGDF.DRect.Cast
import OGDF.DRect.Interface
import STD.Deletable.RawType
import STD.Deletable.Cast
import STD.Deletable.Interface

instance () => IDRect (DRect) where

instance () => IDeletable (DRect) where
        delete = xform0 c_drect_delete

dRect_height :: () => DRect -> IO CDouble
dRect_height = xform0 c_drect_drect_height

dRect_width :: () => DRect -> IO CDouble
dRect_width = xform0 c_drect_drect_width
