Function
Retrieves a named attribute from an Object, verifies that it contains a floating-point number, and returns that number.
Syntax
#include <dx/dx.h>
Object DXGetFloatAttribute(Object o, char *name, float *x)
Functional Details
The attribute to be retrieved from Object o is specified by the string name. The routine then verifies that the attribute contains a scalar floating-point value. If x is not NULL, the floating-point value is returned in *x.
Return Value
Returns o or returns NULL without setting an error code.
See Also
DXGetAttribute, DXGetEnumeratedAttribute, DXGetIntegerAttribute, DXGetStringAttribute, DXSetAttribute, DXDeleteAttribute, DXSetFloatAttribute, DXSetIntegerAttribute, DXSetStringAttribute