Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_feSpecularLighting_update ( SPObject object,
SPCtx ctx,
guint  flags 
) [static]

Receives update notifications.

Definition at line 250 of file specularlighting.cpp.

References sp_object_read_attr().

{
    if (flags & (SP_OBJECT_MODIFIED_FLAG)) {
        sp_object_read_attr(object, "surfaceScale");
        sp_object_read_attr(object, "specularConstant");
        sp_object_read_attr(object, "specularExponent");
        sp_object_read_attr(object, "kernelUnitLength");
        sp_object_read_attr(object, "lighting-color");
    }

    if (((SPObjectClass *) feSpecularLighting_parent_class)->update) {
        ((SPObjectClass *) feSpecularLighting_parent_class)->update(object, ctx, flags);
    }
}


Generated by  Doxygen 1.6.0   Back to index