Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Safe Haskell | None |
Documentation
data PDFCommand whereSource
GetDocFromFile :: !ByteString -> TMVar (Maybe Document) -> PDFCommand | |
GetDocFromDataURI :: !ByteString -> TMVar (Maybe Document) -> PDFCommand | |
GetPageFromDoc :: !Document -> !Int -> TMVar (Maybe Page) -> PDFCommand | |
RenderPageScaled :: !Page -> !Dimension -> !Dimension -> PDFCommand |
type Renderer = ReaderT ((UUID, (Double, Surface)) -> IO (), TVar (Seq (UUID, PDFCommand))) IOSource
sendPDFCommand :: UUID -> TVar (Seq (UUID, PDFCommand)) -> PDFCommand -> STM ()Source