Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

FilterPrimitive * Inkscape::Filters::Filter::get_primitive ( int  handle )

Returns a pointer to the primitive, which the handle corrensponds to. If the handle is not valid, returns NULL.

Definition at line 437 of file nr-filter.cpp.

                                                 {
    if (handle < 0 || handle >= _primitive_count) return NULL;
    return _primitive[handle];
}

Generated by  Doxygen 1.6.0   Back to index