diagrams-cairo-1.3: Cairo backend for diagrams drawing EDSL

Copyright(c) 2012 Diagrams-cairo team (see LICENSE)
LicenseBSD-style (see LICENSE)
Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellNone
LanguageHaskell2010

Diagrams.Backend.Cairo.List

Description

Render a diagram directly to a list of lists of Colour values (i.e. pixels).

Synopsis

Documentation

renderToList :: (Ord a, Floating a) => Int -> Int -> QDiagram Cairo V2 Double Any -> IO [[AlphaColour a]] Source

Render to a regular list of Colour values.