Facade constructor: builds the animation_t and registers the save implementation so anim%save(...) works directly (per README).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| procedure(animate_interface) | :: | animate_func | ||||
| integer, | intent(in) | :: | frames | |||
| integer, | intent(in), | optional | :: | interval | ||
| type(figure_t), | intent(in), | optional, | target | :: | fig |
animate_func must be a caller-owned TARGET that outlives anim. Facade constructor: builds the animation_t and registers the save implementation so anim%save(...) works directly (per README).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(animation_callback_t), | intent(inout), | target | :: | animate_func | ||
| integer, | intent(in) | :: | frames | |||
| integer, | intent(in), | optional | :: | interval | ||
| type(figure_t), | intent(in), | optional, | target | :: | fig |