Canvas-based tablet drawing application