index 890cb96fe7ad81399c9c7a0422a24272373fc7a1..32467e3decbe956d151fd5df69b57d30a4f21a63 100644 (file)
// Nothing to do here
}
-/** Wrapper function for rendering with C-style matrices. */
-int FilterPrimitive::render(FilterSlot &slot, NRMatrix const *trans) {
- if(trans) {
- return this->render(slot, *trans);
- } else {
- Matrix tmp;
- tmp.set_identity();
- return this->render(slot, tmp);
- }
-}
-
-int FilterPrimitive::get_enlarge(Matrix const &m)
+void FilterPrimitive::area_enlarge(NRRectL &/*area*/, Matrix const &/*m*/)
{
- return 0;
+ // This doesn't need to do anything by default
}
void FilterPrimitive::set_input(int slot) {
if (slot >= 0) _output = slot;
}
+FilterTraits FilterPrimitive::get_input_traits() {
+ return TRAIT_ANYTHING;
+}
+
} /* namespace NR */
/*