function draw_rectangle_width(x1, y1, x2, y2, width) { var i; for (i=-ceil(width/2); i