~ubuntu-branches/ubuntu/hardy/libgdiplus/hardy

« back to all changes in this revision

Viewing changes to cairo/src/cairo-meta-surface.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2007-12-18 13:08:10 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218130810-hlmitxfddf6h511j
Tags: 1.2.6-1ubuntu1
* Sync with Debian:
  - debian/control:
    + Add lpia and sparc to the architectures. We support them.
    + Change Maintainer to Ubuntu Mono Team.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
_init_pattern_with_snapshot (cairo_pattern_t       *pattern,
213
213
                             const cairo_pattern_t *other)
214
214
{
215
 
    _cairo_pattern_init_copy (pattern, other);
 
215
    cairo_status_t status;
 
216
 
 
217
    status = _cairo_pattern_init_copy (pattern, other);
 
218
    if (status)
 
219
        return status;
216
220
 
217
221
    if (pattern->type == CAIRO_PATTERN_TYPE_SURFACE) {
218
222
        cairo_surface_pattern_t *surface_pattern =
648
652
    cairo_matrix_t *device_transform = &target->device_transform;
649
653
    cairo_path_fixed_t path_copy, *dev_path;
650
654
 
 
655
    if (surface->status)
 
656
        return surface->status;
 
657
 
651
658
    meta = (cairo_meta_surface_t *) surface;
652
659
    status = CAIRO_STATUS_SUCCESS;
653
660