summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-02-11 01:48:14 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-02-11 01:48:14 +0000
commit38fcf14ef7489c2d8cd366cf02443891225e41af (patch)
tree5b8574a4d07aa990289d44e43cb885c92acc9f6f /src/ui
parentUpdate scriptfu from siod to tinyscheme (diff)
downloadinkscape-38fcf14ef7489c2d8cd366cf02443891225e41af.tar.gz
inkscape-38fcf14ef7489c2d8cd366cf02443891225e41af.zip
Offline work done during weekend:
* handle fefuncR, fefuncG, fefuncB and fefuncA nodes * implement fecomponenttransfer renderer ** identity and gamma modes render perfectly ** linear and table modes are rendering with very slight imperfections This commit still mantains feComponentTransfer out of UI (still not implemented) (bzr r4704)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index 12cb29bef..9856c63b7 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -2345,19 +2345,21 @@ void FilterEffectsDialog::update_settings_sensitivity()
_k3->set_sensitive(use_k);
_k4->set_sensitive(use_k);
+// Component transfer not yet implemented
+/*
if(SP_IS_FECOMPONENTTRANSFER(prim)) {
SPFeComponentTransfer* ct = SP_FECOMPONENTTRANSFER(prim);
const bool linear = ct->type == COMPONENTTRANSFER_TYPE_LINEAR;
const bool gamma = ct->type == COMPONENTTRANSFER_TYPE_GAMMA;
- // Component transfer not yet implemented
- /*_ct_table->set_sensitive(ct->type == COMPONENTTRANSFER_TYPE_TABLE || ct->type == COMPONENTTRANSFER_TYPE_DISCRETE);
+ _ct_table->set_sensitive(ct->type == COMPONENTTRANSFER_TYPE_TABLE || ct->type == COMPONENTTRANSFER_TYPE_DISCRETE);
_ct_slope->set_sensitive(linear);
_ct_intercept->set_sensitive(linear);
_ct_amplitude->set_sensitive(gamma);
_ct_exponent->set_sensitive(gamma);
- _ct_offset->set_sensitive(gamma);*/
+ _ct_offset->set_sensitive(gamma);
}
+*/
}
void FilterEffectsDialog::update_color_matrix()