[PATCH v10 2/5] gdiplus: use iterator instead calculate pointer position every time