CairoSurface::__construct

(PECL cairo >= 0.1.0)
The __construct purpose
public CairoSurface::__construct ( void )

CairoSurface is an abstract type and, as such, should not be instantiated in your PHP scripts.

Returns:

No return value

Notes:

If you're using a PHP version before 5.3, you must destroy the CairoContext associated with a CairoSurface after you destroy the CairoSurface. Otherwise, you're left with a Circular-reference memory leak.

See also:

CairoImageSurface::__construct() -

doc_php
2016-02-24 15:59:11
Comments
Leave a Comment

Please login to continue.