precompute G_Command_DrawPolygon parameters.