From 1f7a574b809437fd45f0db152ff3664f542efce7 Mon Sep 17 00:00:00 2001 From: Mark Skilbeck Date: Mon, 29 Mar 2010 20:48:54 +0000 Subject: [PATCH] Added Cairo documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297109 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/cairo/cairosurface/construct.xml | 30 ++------------ reference/cairo/cairosurface/copypage.xml | 7 +--- .../cairo/cairosurface/createsimilar.xml | 41 +++++++++++-------- 3 files changed, 30 insertions(+), 48 deletions(-) diff --git a/reference/cairo/cairosurface/construct.xml b/reference/cairo/cairosurface/construct.xml index 7f06305b98..46c5e4f813 100644 --- a/reference/cairo/cairosurface/construct.xml +++ b/reference/cairo/cairosurface/construct.xml @@ -14,11 +14,9 @@ - The method description goes here. + CairoSurface is an abstract type and, as such, should not be instantiated in your PHP scripts. - &warn.undocumented.func; - @@ -29,29 +27,7 @@ &reftitle.returnvalues; - Description... - - - - - &reftitle.examples; - - - <methodname>CairoSurface::__construct</methodname> example - - -]]> - - &example.outputs.similar; - - - - + No return value @@ -59,7 +35,7 @@ &reftitle.seealso; - Classname::Method + CairoImageSurface::__construct diff --git a/reference/cairo/cairosurface/copypage.xml b/reference/cairo/cairosurface/copypage.xml index b8d75022d7..023bc4e625 100644 --- a/reference/cairo/cairosurface/copypage.xml +++ b/reference/cairo/cairosurface/copypage.xml @@ -21,11 +21,8 @@ CairoContextcontext - Description here. + Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. Use CairoSurface::showPage() if you want to get an empty page after the emission. - - &warn.undocumented.func; - @@ -36,7 +33,7 @@ context - Description... + A CairoContext object diff --git a/reference/cairo/cairosurface/createsimilar.xml b/reference/cairo/cairosurface/createsimilar.xml index 436809f99b..7462e4f3fc 100644 --- a/reference/cairo/cairosurface/createsimilar.xml +++ b/reference/cairo/cairosurface/createsimilar.xml @@ -6,32 +6,41 @@ CairoSurface::createSimilar The createSimilar purpose - + &reftitle.description; public voidCairoSurface::createSimilar - stringcontent + CairoSurfaceother + intcontent stringwidth stringheight - The method description goes here. + 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 possible for some reason. The type of the returned surface may be examined with CairoSurface::getType(). + + Initially the surface contents are all 0 (transparent if contents have transparency, black otherwise.) - - &warn.undocumented.func; - + - + &reftitle.parameters; + + other + + + An existing surface used to select the backend of the new surface + + + content - Description... + The content for the new surface. See the CairoContent class for possible values. @@ -39,7 +48,7 @@ width - Description... + Width of the new surface, (in device-space units). @@ -47,21 +56,21 @@ height - Description... + Height of the new surface, (in device-space units). - + &reftitle.returnvalues; - Description... + A new CairoSurface - + &reftitle.examples; @@ -83,16 +92,16 @@ - + &reftitle.seealso; - Classname::Method + CairoContent - +