PostScriptSurface.restrictToLevel

Restricts the generated PostSript file to level. See cairo_ps_get_levels() for a list of available level values that can be used here. This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface. Since 1.6

class PostScriptSurface
void
restrictToLevel

Parameters

level cairo_ps_level_t

PostScript level