Adjustment and refactoring of drawing process

[debug]
Fix some scope error -> Some the member's scopes and names were changed.

Fix "layer.sort"function -> It changes so that an order can be specified
and sorted.  ex "paint2.layer.sort([0,1,2])"
[adjustment]
a "layer.drow"function will use work shape -> Change of an Erase action