d3dx9: Implement D3DXCreatePolygon