module HROOT.Class.TGaxis.Interface where
import Data.Word
import Foreign.ForeignPtr
import HROOT.TypeCast
import HROOT.Class.TGaxis.RawType
import HROOT.Class.TLine.Interface
import HROOT.Class.TAttText.Interface
class (ITLine a,ITAttText a) => ITGaxis a where
instance Existable TGaxis where
data Exist TGaxis = forall a. (FPtr a, ITGaxis a) => ETGaxis a
upcastTGaxis :: (FPtr a, ITGaxis a) => a -> TGaxis
upcastTGaxis h = let fh = get_fptr h
fh2 :: ForeignPtr RawTGaxis = castForeignPtr fh
in cast_fptr_to_obj fh2