Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_gaussianBlur_set ( SPObject object,
unsigned int  key,
gchar const *  value 
) [static]

Sets a specific value in the SPGaussianBlur.

Definition at line 122 of file sp-gaussian-blur.cpp.

{
    SPGaussianBlur *gaussianBlur = SP_GAUSSIANBLUR(object);

    switch(key) {
        case SP_ATTR_STDDEVIATION:
            gaussianBlur->stdDeviation.set(value);
            object->parent->requestModified(SP_OBJECT_MODIFIED_FLAG);
            break;
        default:
            if (((SPObjectClass *) gaussianBlur_parent_class)->set)
                ((SPObjectClass *) gaussianBlur_parent_class)->set(object, key, value);
            break;
    }

}


Generated by  Doxygen 1.6.0   Back to index