/// <summary>
 /// Add the 2D primitive.
 /// </summary>
 /// <param name="I2DPrimitive">The i2 D primitive.</param>
 public void Add2DPrimitive(I2DPrimitive I2DPrimitive)
 {
     System.Diagnostics.Debug.Assert(GraphicInfo != null);
     System.Diagnostics.Debug.Assert(factory != null);
     I2DPrimitive.iInit(GraphicInfo, factory);
     primitives.Add(I2DPrimitive);
 }
 /// <summary>
 /// Remove the 2D primitive.
 /// </summary>
 /// <param name="I2DPrimitive">The i2 D primitive.</param>
 public void Remove2DPrimitive(I2DPrimitive I2DPrimitive)
 {
     primitives.Remove(I2DPrimitive);
 }