~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/display/nr-filter.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
struct NRArenaItem;
26
26
 
27
 
namespace NR {
 
27
namespace Inkscape {
 
28
namespace Filters {
28
29
 
29
30
class Filter : public Inkscape::GC::Managed<> {
30
31
public:
144
145
     * to be rendered so that after filtering, the original area is
145
146
     * drawn correctly.
146
147
     */
147
 
    void area_enlarge(NRRectL &area, Matrix const &m);
 
148
    void area_enlarge(NRRectL &area, NRArenaItem const *item) const;
148
149
    /**
149
150
     * Given an object bounding box, this function enlarges it so that
150
151
     * it contains the filter effect area.
155
156
     * The given bounding box should be a bounding box as specified in
156
157
     * SVG standard and in user coordinate system.
157
158
     */
158
 
    Rect filter_effect_area(Rect const &bbox);
 
159
    Geom::Rect filter_effect_area(Geom::Rect const &bbox);
159
160
 
160
161
    /** Creates a new filter with space for one filter element */
161
162
    Filter();
198
199
    void _create_constructor_table();
199
200
    void _enlarge_primitive_table();
200
201
    void _common_init();
 
202
    int _resolution_limit(FilterQuality const quality) const;
 
203
    std::pair<double,double> _filter_resolution(Geom::Rect const &area,
 
204
                                                Geom::Matrix const &trans,
 
205
                                                FilterQuality const q) const;
201
206
};
202
207
 
203
208
 
204
 
} /* namespace NR */
205
 
 
206
 
 
 
209
} /* namespace Filters */
 
210
} /* namespace Inkscape */
207
211
 
208
212
 
209
213
#endif /* __NR_FILTER_H__ */