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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/trace/filterset.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
/*
 
2
 * Some filters for Potrace in Inkscape
 
3
 *
 
4
 * Authors:
 
5
 *   Bob Jamison <rjamison@titan.com>
 
6
 *   Stéphane Gimenez <dev@gim.name>
 
7
 *
 
8
 * Copyright (C) 2004-2006 Authors
 
9
 *
 
10
 * Released under GNU GPL, read the file 'COPYING' for more information
 
11
 */
 
12
 
 
13
#ifndef __FILTERSET_H__
 
14
#define __FILTERSET_H__
 
15
 
 
16
#include "imagemap.h"
 
17
 
 
18
#include <gdk-pixbuf/gdk-pixbuf.h>
 
19
 
 
20
#ifdef __cplusplus
 
21
extern "C" {
 
22
#endif
 
23
 
 
24
/**
 
25
 *  Apply gaussian blur to an GrayMap
 
26
 */
 
27
GrayMap *grayMapGaussian(GrayMap *gmap);
 
28
 
 
29
/**
 
30
 *  Apply gaussian bluf to an RgbMap
 
31
 */
 
32
RgbMap *rgbMapGaussian(RgbMap *rgbmap);
 
33
 
 
34
/**
 
35
 *
 
36
 */
 
37
GrayMap *grayMapCanny(GrayMap *gmap,
 
38
             double lowThreshold, double highThreshold);
 
39
 
 
40
/**
 
41
 *
 
42
 */
 
43
GdkPixbuf *gdkCanny(GdkPixbuf *img,
 
44
            double lowThreshold, double highThreshold);
 
45
 
 
46
/**
 
47
 *
 
48
 */
 
49
GrayMap *quantizeBand(RgbMap *rgbmap, int nrColors);
 
50
 
 
51
 
 
52
 
 
53
#ifdef __cplusplus
 
54
}
 
55
#endif
 
56
 
 
57
 
 
58
#endif /* __FILTERSET_H__ */
 
59
 
 
60
/*#########################################################################
 
61
### E N D    O F    F I L E
 
62
#########################################################################*/