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

cairo_ps_surface_dsc_begin_page_setup(surface)

Arguments

surface

[cairo_surface_t *] a PostScript #cairo_surface_t

Details

This function call is only needed for the first page of a surface. It should be called after any call to cairo_ps_surface_dsc_begin_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_page_setup (cairo_surface_t *surface)

See also