Export all : work in progress, add callbackBeforeCanvg