HsHaruPDF-0.0.0: Haskell binding to libharu (http://libharu.sourceforge.net/)
Graphics.PDF.Haru
data HPDF_Doc Source
type Doc = Ptr HPDF_DocSource
data HPDF_Page Source
type Page = Ptr HPDF_PageSource
data HPDF_FontDef Source
type FontDef = Ptr HPDF_FontDefSource
type BOOL = CIntSource
_HPDF_FALSE :: BOOLSource
_HPDF_TRUE :: BOOLSource
withDoc :: String -> (Doc -> IO a) -> IO aSource
withPage :: Doc -> (Page -> IO a) -> IO aSource
text :: Page -> X -> Y -> FontDef -> Size -> String -> IO ()Source
type FontName = StringSource
type X = CFloatSource
type Y = CFloatSource
type Size = CFloatSource
loadFontEmbedded :: Doc -> String -> IO FontDefSource
newDoc :: FunPtr HPDF_Error_Handler -> Ptr () -> IO DocSource
addPage :: Doc -> IO PageSource
loadTTFontFromFile :: Doc -> CString -> BOOL -> IO CStringSource
getFont :: Doc -> CString -> CString -> IO FontDefSource
beginText :: Page -> IO ()Source
endText :: Page -> IO ()Source
freeDoc :: Doc -> IO ()Source
saveToFile :: Doc -> CString -> IO ()Source
showText :: Page -> CString -> IO ()Source
setFontAndSize :: Page -> FontDef -> CFloat -> IO ()Source
setWidth :: Page -> X -> IO ()Source
setHeight :: Page -> Y -> IO ()Source
moveTextPos :: Page -> X -> Y -> IO ()Source
type HPDF_Error_Handler = CULong -> CULong -> Ptr () -> IO ()Source
errorHandler :: HPDF_Error_HandlerSource
mkErrorHandlerCallback :: HPDF_Error_Handler -> IO (FunPtr HPDF_Error_Handler)Source