Safe Haskell | Safe-Inferred |
---|
A ruler is also a Track, and can be mixed with them freely. Rulers have Marks at various positions. Marks have width, color, translucency, and an optional name. They also have a display at zoom value. Marks are only displayed if the zoom level is >= the display at zoom.
Documentation
with_ruler :: Ruler.Ruler -> (Ptr Ruler.Ruler -> Ptr (Ptr Mark.Marklist) -> CInt -> IO a) -> IO a Source #
Orphan instances
CStorable Mark.Mark Source # | |
CStorable Ruler.Ruler Source # | |
sizeOf :: Ruler.Ruler -> Int # alignment :: Ruler.Ruler -> Int # peekElemOff :: Ptr Ruler.Ruler -> Int -> IO Ruler.Ruler # pokeElemOff :: Ptr Ruler.Ruler -> Int -> Ruler.Ruler -> IO () # peekByteOff :: Ptr b -> Int -> IO Ruler.Ruler # pokeByteOff :: Ptr b -> Int -> Ruler.Ruler -> IO () # peek :: Ptr Ruler.Ruler -> IO Ruler.Ruler # poke :: Ptr Ruler.Ruler -> Ruler.Ruler -> IO () # |