make Canvas.cpp to compile as stand-alone