hoodle-render-0.6: Hoodle file renderer

Copyright(c) 2011-2015 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Graphics.Hoodle.Render.Item

Description

Rendering RItem

Synopsis

Documentation

cnstrctRItem :: Item -> Renderer RItem Source #

construct renderable item

getByteStringIfEmbeddedPNG :: ByteString -> Maybe ByteString Source #

get embedded png image. If not, just give me nothing.

getJPGandCreateSurface :: FilePath -> IO Surface Source #

read JPG file using GD library and create cairo image surface currently, this uses temporary png file (which is potentially dangerous)