How can speed up ploting in win32?