Package: cairo

Function cairo:ps-surface-restrict-to-level

Lambda List

cairo:ps-surface-restrict-to-level (surface level)

Arguments

surface -- a PostScript cairo:surface-t instance
level -- a cairo:ps-level-t value

Details

Restricts the generated PostSript file to level. See the cairo:ps-levels function 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.
 

See also

2025-1-29