Software renderer in GDI