Function PSSurface.restrictToLevel

Restricts the generated PostSript file to level. See getPSLevels() 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.

Prototype

void restrictToLevel(
  cairo_ps_level_t level
);

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1