~ubuntu-branches/ubuntu/saucy/koffice/saucy

« back to all changes in this revision

Viewing changes to krita/image/kis_image.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
    }
372
372
 
373
373
    /**
374
 
     * returns a paintdevice that contains the merged layers of this
375
 
     * image, within the bounds of this image (with the colorspace and
376
 
     * profile of this image) It will cause a synchronous update to the
377
 
     * projection.
 
374
     * Starting form 2.3 mergedImage() is declared deprecated.
 
375
     * If you want to get a projection of the image, please use
 
376
     * something like:
 
377
     *
 
378
     * image->lock();
 
379
     * read_something_from_the_image(image->projection());
 
380
     * image->unlock();
 
381
     *
 
382
     * or if you want to get a full refresh of the image graph
 
383
     * performed beforehand (do you really want it?) (sure?) then
 
384
     * you can add a call to image->refreshGraph() before locking
 
385
     * the image.
378
386
     */
379
 
    KisPaintDeviceSP mergedImage();
 
387
    KDE_DEPRECATED KisPaintDeviceSP mergedImage();
380
388
 
381
389
    /**
382
390
     * @return the root node of the image node graph