Logo Search packages:      
Sourcecode: inkscape version File versions

float Inkscape::Extension::Extension::get_param_float ( const gchar *  name,
const SPDocument doc = NULL,
const Inkscape::XML::Node node = NULL 
)

Gets a parameter identified by name with the float placed in value.

Returns:
The float value for the parameter specified
Parameters:
name The name of the parameter to get
doc The document to look in for document specific parameters
node The node to look in for a specific parameter
Look up in the parameters list, then execute the function on that found parameter.

Definition at line 490 of file extension.cpp.

References Inkscape::Extension::Parameter::get_float(), and parameters.

Referenced by Inkscape::Extension::Internal::Grid::effect(), and Inkscape::Extension::Internal::BlurEdge::effect().

{
    Parameter * param;
    param = param_shared(name, parameters);
    return param->get_float(doc, node);
}


Generated by  Doxygen 1.6.0   Back to index