-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | Binding to the libsvg-cairo library.
--   
--   Svgcairo is used to render SVG with cairo.
@package svgcairo
@version 0.12.1

-- | The SVG extension to the Cairo 2D graphics library.
module Graphics.Rendering.Cairo.SVG
svgRenderFromFile :: FilePath -> Render Bool
svgRenderFromHandle :: Handle -> Render Bool
svgRenderFromString :: String -> Render Bool
data SVG

-- | render an SVG file
--   
--   Returns False if an error was detected. On librsvg before
--   2.22.3, svgRender always returns True.
svgRender :: SVG -> Render Bool

-- | Get the width and height of the SVG image.
svgGetSize :: SVG -> (Int, Int)
withSvgFromFile :: FilePath -> (SVG -> Render a) -> Render a
withSvgFromHandle :: Handle -> (SVG -> Render a) -> Render a
withSvgFromString :: String -> (SVG -> Render a) -> Render a
svgNewFromFile :: FilePath -> IO SVG
svgNewFromHandle :: Handle -> IO SVG
svgNewFromString :: String -> IO SVG
instance GObjectClass SVG
