Copyright | (c) 2012 Diagrams-cairo team (see LICENSE) |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | diagrams-discuss@googlegroups.com |
Safe Haskell | None |
Language | Haskell2010 |
Diagrams.Backend.Cairo.Ptr
Description
Render diagrams to buffers in memory.
Documentation
renderPtr :: Int -> Int -> Format -> QDiagram Cairo V2 Double Any -> IO (Ptr Word8) Source
Render a diagram to a new buffer in memory, with the format ARGB32.