[cairo] API to set PostScript Language Level

Adrian Johnson ajohnson at redneon.com
Tue Sep 18 15:07:41 PDT 2007

The PostScript backend currently generates Level 2 PostScript.
In order to support Level 3 features such as gradients an API function
for selecting the LanguageLevel is required.

The following API is based on the SVG restrict_to API. A patch to add
this API is attached.

typedef enum _cairo_ps_level {
} cairo_ps_level_t;

cairo_ps_surface_restrict_to_level (cairo_surface_t    *surface,
                                    cairo_ps_level_t    level);

cairo_ps_get_levels (cairo_ps_level_t const  **levels,
                     int                      *num_levels);

const char *
cairo_ps_level_to_string (cairo_ps_level_t level);

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-cairo_ps_surface_restrict_to_level.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20070919/8b0f96fe/attachment.bin 

More information about the cairo mailing list