From: Duncan C. <dun...@wo...> - 2007-07-05 01:27:03
|
Wed Jul 4 18:24:50 PDT 2007 Duncan Coutts <du...@ha...> * Really add the SVG backend, forgot to add the main file. I'm clearly going mad. The file got included in the tarball, so I didn't notice it's absence from the darcs repo. addfile ./cairo/Graphics/Rendering/Cairo/Internal/Surfaces/SVG.chs.pp hunk ./cairo/Graphics/Rendering/Cairo/Internal/Surfaces/SVG.chs.pp 1 +----------------------------------------------------------------------------- +-- | +-- Module : Graphics.Rendering.Cairo.Internal.Surfaces.SVG +-- Copyright : (c) Duncan Coutts 2007 +-- License : BSD-style (see doc/COPYRIGHT) +-- +-- Maintainer : p.m...@ne... +-- Stability : experimental +-- Portability : portable +-- +-- Rendering SVG images. +----------------------------------------------------------------------------- + +module Graphics.Rendering.Cairo.Internal.Surfaces.SVG where + +{#import Graphics.Rendering.Cairo.Types#} + +import Foreign +import Foreign.C + +{#context lib="cairo" prefix="cairo"#} + +#ifdef ENABLE_CAIRO_SVG_SURFACE + +{#fun svg_surface_create as svgSurfaceCreate { withCString* `FilePath', `Double', `Double' } -> `Surface' mkSurface*#} + +#endif |