~ubuntu-branches/ubuntu/oneiric/inkscape/oneiric-updates

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/display/pixblock-scaler.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __NR_PIXBLOCK_SCALER_H__
 
2
#define __NR_PIXBLOCK_SCALER_H__
 
3
 
 
4
/*
 
5
 * Functions for blitting pixblocks using scaling
 
6
 *
 
7
 * Author:
 
8
 *   Niko Kiirala <niko@kiirala.com>
 
9
 *
 
10
 * Copyright (C) 2006 Niko Kiirala
 
11
 *
 
12
 * Released under GNU GPL, read the file 'COPYING' for more information
 
13
 */
 
14
 
 
15
#include "libnr/nr-pixblock.h"
 
16
#include <2geom/forward.h>
 
17
 
 
18
namespace NR {
 
19
 
 
20
/** Blits the second pixblock to the first.
 
21
 * Image in source pixblock is scaled to the size of destination pixblock
 
22
 * using bicubic interpolation.
 
23
 * Source pixblock is not modified in process.
 
24
 * Only works for 32-bpp images.
 
25
 */
 
26
void scale_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans);
 
27
 
 
28
} /* namespace NR */
 
29
 
 
30
#endif // __NR_PIXBLOCK_SCALER_H__
 
31
/*
 
32
  Local Variables:
 
33
  mode:c++
 
34
  c-file-style:"stroustrup"
 
35
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
36
  indent-tabs-mode:nil
 
37
  fill-column:99
 
38
  End:
 
39
*/
 
40
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :