add visibility/export control to libcanvas