PHP » GoLang |
login |
register |
about
|
GoLang CairoSvgSurface::getVersions
request it (450)
GoLang replacement for PHP's CairoSvgSurface::getVersions
[edit | history]
PHP CairoSvgSurface::getVersionsPHP original manual for CairoSvgSurface::getVersions [ show | php.net ]CairoSvgSurface::getVersionscairo_svg_surface_get_versions(PECL cairo >= 0.1.0) CairoSvgSurface::getVersions -- cairo_svg_surface_get_versions — Used to retrieve a list of supported SVG versions DescriptionObject oriented style (method):
public static array CairoSvgSurface::getVersions
( void
)
Procedural style:
array cairo_svg_get_versions
( void
)
Returns a numerically indexed array of currently available CairoSvgVersion constants. In order to retreive the string values for each item, use CairoSvgSurface::versionToString(). ParametersThis function has no parameters. Return ValuesReturns a numerically indexed array of integer values. Examples
Example #1 CairoSvgSurface::getVersions() example
<?phpThe above example will output something similar to:
array(2) {
[0]=>
int(0)
[1]=>
int(1)
}
SVG 1.1
SVG 1.2
Example #2 Procedural style
<?phpThe above example will output something similar to:
array(2) {
[0]=>
int(0)
[1]=>
int(1)
}
SVG 1.1
SVG 1.2
|
more
Most requested
more
Last requests
|