public void CairoSurface::createSimilar ( CairoSurface $other
, int $content
, string $width
, string $height
)
CairoSurface::createSimilar — The createSimilar purpose
-
other
-
An existing surface used to select the backend of the new surface
-
content
-
The content for the new surface. See the CairoContent class for possible values.
-
width
-
Width of the new surface, (in device-space units).
-
height
-
Height of the new surface, (in device-space units).