~ubuntu-branches/ubuntu/precise/inkscape/precise-updates

« back to all changes in this revision

Viewing changes to src/display/pixblock-transform.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alex Valavanis
  • Date: 2010-09-12 19:44:58 UTC
  • mfrom: (1.1.12 upstream) (45.1.3 maverick)
  • Revision ID: james.westby@ubuntu.com-20100912194458-4sjwmbl7dlsrk5dc
Tags: 0.48.0-1ubuntu1
* Merge with Debian unstable (LP: #628048, LP: #401567, LP: #456248, 
  LP: #463602, LP: #591986)
* debian/control: 
  - Ubuntu maintainers
  - Promote python-lxml, python-numpy, python-uniconvertor to Recommends.
  - Demote pstoedit to Suggests (universe package).
  - Suggests ttf-dejavu instead of ttf-bitstream-vera (LP: #513319)
* debian/rules:
  - Run intltool-update on build (Ubuntu-specific).
  - Add translation domain to .desktop files (Ubuntu-specific).
* debian/dirs:
  - Add usr/share/pixmaps.  Allow inkscape.xpm installation
* drop 50-poppler-API.dpatch (now upstream)
* drop 51-paste-in-unwritable-directory.dpatch (now upstream) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        nr_blit_pixblock_pixblock(from, o_from);
149
149
        free_from_on_exit = true;
150
150
    }
 
151
 
 
152
    if (from->mode != NR_PIXBLOCK_MODE_R8G8B8A8P) {
 
153
        // TODO: Fix this... (The problem is that for interpolation non-premultiplied colors should be premultiplied...)
 
154
        g_warning("transform_bicubic does not properly support non-premultiplied images");
 
155
    }
151
156
    
152
157
    // Precalculate sizes of source and destination pixblocks
153
158
    int from_width = from->area.x1 - from->area.x0;