[cairo-commit] src/cairo-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Jun 16 15:39:55 PDT 2006


 src/cairo-surface.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree 8bc05f15ab3f2054f802cfbc9564476a4acbb4a8 (from 3bad1f0b0c431f1e5832d8755d0e22fe31120007)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Jun 16 18:39:36 2006 -0400

    Note that create_similar clears surface.

diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index b7d0e75..dd45147 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -247,6 +247,8 @@ _cairo_surface_create_similar_scratch (c
  * existing surface. The new surface will use the same backend as
  * @other unless that is not possible for some reason. The type of the
  * returned surface may be examined with cairo_surface_get_type().
+ * Initially the surface contents are all 0 (transparent if contents
+ * have transparency, black otherwise.)
  *
  * Return value: a pointer to the newly allocated surface. The caller
  * owns the surface and should call cairo_surface_destroy when done


More information about the cairo-commit mailing list