precompute G_Command_DrawLine parameters.