Method Cairo.PSSurface()->set_eps()


Method set_eps

void set_eps(bool eps)

Description

If eps is 1, the PostScript surface will output Encapsulated PostScript.

This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface. An Encapsulated PostScript file should never contain more than one page.

Parameter eps

1 to output EPS format PostScript