在笛卡爾平面上繪制,拖動,拖放和重疊形狀的基本算法 [英]Essential algorithms for drawing, dragging, dropping and overlapping shapes on a cartesian plane