hoodle-render-0.4: Hoodle file renderer

PortabilityGHC
Stabilityexperimental
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Safe HaskellNone

Graphics.Hoodle.Render.Item

Description

Rendering RItem

Synopsis

Documentation

cnstrctRItem :: Item -> Renderer RItemSource

construct renderable item

getByteStringIfEmbeddedPNG :: ByteString -> Maybe ByteStringSource

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

getJPGandCreateSurface :: FilePath -> IO SurfaceSource

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