New CairoSvgSurface (gb.cairo)

Dim hCairoSvgSurface As CairoSvgSurface
hCairoSvgSurface = New CairoSvgSurface ( Path As String, Width As Float, Height As Float [ , Version As String ] )

Creates a SVG surface of the specified size in millimiters to be written to a file.

  • Path : a filename for the SVG output (must be writable). NULL may be used to specify no output. This will generate a SVG 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.

  • Version : if specified, restricts the generated PS file to that version ("1.1" or "1.2").