Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

New CairoPsSurface (gb.cairo)

Dim hCairoPsSurface As CairoPsSurface
hCairoPsSurface = New CairoPsSurface ( Path As String, Width As Float, Height As Float [ , Encapsulated As Boolean, Level As String ] )

Creates a PostScript surface of the specified size in millimeters to be written to a file.

Note that the size of individual pages of the PostScript output can vary. See CairoPsSurface.Resize.

  • Path : a filename for the PS output (must be writable). NULL may be used to specify no output. This will generate a PS surface that may be queried and used as a source, without generating a temporary file.

  • Width : width of the surface, in millimeters.

  • Height : height of the surface, in millimeters.

  • Encapsulated : if specified and TRUE, then an encapsulated PostScript file (EPS) will be generated.

  • Level : if specified, restricts the generated PostScript file to that level ("2" or "3").