Copyright | (c) Kilian Kilger Iñaki García Etxebarria 2018 |
---|---|
License | LGPL-2.1 |
Maintainer | kkilger@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This library contains glue code to interconnect Haskell GI, i.e. the gi-cairo library and gi-cairo-render, i.e. the hand written cairo bindings for Haskell.
Documentation
This function is used to call back to functions of GI.Pango or GI.PangoCairo
or other Haskell GI libraries from inside the Render
action.
Example:
draw :: Cairo.Render () draw = do ... context <- getContext somePangoFunction context