nr-filter-component-transfer.cpp revision 0cc082e09c2ce5f515a90ce45a6a440c11150dc6
/*
* 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"
#include "display/nr-filter-utils.h"
#include "libnr/nr-pixblock.h"
#include <math.h>
namespace NR {
{
}
return new FilterComponentTransfer();
}
{}
if (!in) {
return 1;
}
// this primitive is defined for non-premultiplied RGBA values,
// thus convert them to that format before blending
in = new NRPixBlock;
false);
}
(void)in_data;
(void)out_data;
int i;
}
break;
if (_vsize==0){
}
} else {
}
}
break;
if (_vsize==0){
}
} else {
}
}
break;
}
break;
}
break;
}
}
return 0;
}
{
}
} /* 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 :