This function indicates that subsequent calls to cairo_ps_surface_dsc_comment() should direct comments to the Setup section of the PostScript output.

cairo_ps_surface_dsc_begin_setup(surface)

Arguments

surface

[cairo_surface_t *] a PostScript #cairo_surface_t

Details

This function should be called at most once per surface, and must be called before any call to cairo_ps_surface_dsc_begin_page_setup() and before any drawing is performed to the surface.

See cairo_ps_surface_dsc_comment() for more details.

Since: 1.2

C function prototype: void cairo_ps_surface_dsc_begin_setup (cairo_surface_t *surface)

See also