GoLang CairoContext::newPath

request it (341)
GoLang replacement for PHP's CairoContext::newPath [edit | history]



Do you know a GoLang replacement for PHP's CairoContext::newPath? Write it!

PHP CairoContext::newPath

PHP original manual for CairoContext::newPath [ show | php.net ]

CairoContext::newPath

cairo_new_path

(PECL cairo >= 0.1.0)

CairoContext::newPath -- cairo_new_pathThe newPath purpose

Description

Object oriented style (method):

public void CairoContext::newPath ( void )

Procedural style:

void cairo_new_path ( CairoContext $context )

Clears the current path. After this call there will be no path and no current point.

Parameters

context

A valid CairoContext object.

Return Values

No value is returned.

Examples

Example #1 Object oriented style

<?php
// [...]
CairoContext::newPath();
?>

Example #2 Procedural style

<?php
// [...]
cairo_new_path($context);
?>

See Also