gobj_reset_rstats_attrs()

gobj_reset_rstats_attrs()#

Resets all attributes of the given hgobj that are marked with SDF_RSTATS to their default values.

Prototype

int gobj_reset_rstats_attrs(
    hgobj gobj
);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj whose resettable statistics attributes should be reset.


Return Value

Returns 0 on success.

Notes

This function resets only attributes marked with SDF_RSTATS, leaving other attributes unchanged.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples