[cairo] API for Encapsulated PostScript

Behdad Esfahbod behdad at behdad.org
Sat Sep 22 19:51:35 PDT 2007


On Sat, 2007-09-22 at 22:22 -0400, Adrian Johnson wrote:
> The following proposed API functions allow EPS output from the
> PostScript surface to be enabled or disabled.
> 
> void
> cairo_ps_surface_set_eps (cairo_surface_t      *surface,
>                           cairo_bool_t          eps);
> 
> cairo_bool_t
> cairo_ps_surface_get_eps (cairo_surface_t      *surface);
> 
> A patch to add this API is attached.

Looks good.  You have an implementation too, right?  Feel free to
commit.

Thanks!
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list