(PECL cairo >= 0.1.0)
The createSimilar purpose
public void CairoSurface::createSimilar ( CairoSurface $other, int $content, string $width, string $height )
Create a new surface that is as compatible as possible with an existing surface. For example the new surface will have the same fallback resolution and font options as other. Generally, the new surface will also use the same backend as other, unless that is not possi