invalidaterect函数 ondraw 绘制区域判断