~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/display/pixblock-scaler.h

  • Committer: JazzyNico
  • Date: 2011-08-29 20:25:30 UTC
  • Revision ID: nicoduf@yahoo.fr-20110829202530-6deuoz11q90usldv
Code refactoring and merging with trunk (revision 10599).

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 :