nr-filter-component-transfer.cpp revision 723b4d8bde8ce8503d1d01ee0f2e3548ec0dc88c
/*
* feComponentTransfer filter primitive renderer
*
* Authors:
* Felipe CorrĂȘa da Silva Sanches <felipe.sanches@gmail.com>
*
* Copyright (C) 2007 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "display/nr-filter-component-transfer.h"
#include "display/nr-filter-units.h"
namespace NR {
{
g_warning("FilterComponentTransfer::render not implemented.");
}
return new FilterComponentTransfer();
}
{}
true);
//IMPLEMENT ME!
(void)in_data;
(void)out_data;
return 0;
}
{
}
type = t;
}
void FilterComponentTransfer::set_slope(double s){
slope = s;
}
tableValues = tv;
}
void FilterComponentTransfer::set_intercept(double i){
intercept = i;
}
void FilterComponentTransfer::set_amplitude(double a){
amplitude = a;
}
void FilterComponentTransfer::set_exponent(double e){
exponent = e;
}
void FilterComponentTransfer::set_offset(double o){
offset = o;
}
} /* namespace NR */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :