stk_canvas: functions prototypes added to .h