~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/filters/flood.cpp

  • 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
 
#define __SP_FEFLOOD_CPP__
2
 
 
3
1
/** \file
4
2
 * SVG <feFlood> implementation.
5
3
 *
7
5
/*
8
6
 * Authors:
9
7
 *   hugo Rodrigues <haa.rodrigues@gmail.com>
 
8
 *   Abhishek Sharma
10
9
 *
11
10
 * Copyright (C) 2006 Hugo Rodrigues
12
11
 *
21
20
 
22
21
#include "attributes.h"
23
22
#include "svg/svg.h"
24
 
#include "flood.h"
 
23
#include "svg/svg-color.h"
 
24
#include "filters/flood.h"
25
25
#include "xml/repr.h"
26
26
#include "helper-fns.h"
 
27
#include "display/nr-filter.h"
 
28
#include "display/nr-filter-flood.h"
27
29
 
28
30
/* FeFlood base class */
29
31
 
96
98
    }
97
99
 
98
100
    /*LOAD ATTRIBUTES FROM REPR HERE*/
99
 
    sp_object_read_attr(object, "flood-opacity");
100
 
    sp_object_read_attr(object, "flood-color");
 
101
    object->readAttr( "flood-opacity" );
 
102
    object->readAttr( "flood-color" );
101
103
}
102
104
 
103
105
/**
202
204
    /* TODO: Don't just clone, but create a new repr node and write all
203
205
     * relevant values into it */
204
206
    if (!repr) {
205
 
        repr = SP_OBJECT_REPR(object)->duplicate(doc);
 
207
        repr = object->getRepr()->duplicate(doc);
206
208
    }
207
209
 
208
210
    if (((SPObjectClass *) feFlood_parent_class)->write) {
241
243
  fill-column:99
242
244
  End:
243
245
*/
244
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
 
246
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :