DOM.setElementAttribute(canvas, "height", Integer.toString(height+size*2));
DOM.setStyleAttribute(canvas, "width", Integer.toString(width+size*2));
DOM.setStyleAttribute(canvas, "height", Integer.toString(height+size*2));
drawImpl(
p1.move(realStart.negative()),
p2.move(realStart.negative()),
c1.move(realStart.negative()),
c2.move(realStart.negative()),
getComputedStyle(canvas, "color"));