/// <summary> /// Apply a simple translation to the points of an outline. /// </summary> /// <param name="offsetX">The horizontal offset.</param> /// <param name="offsetY">The vertical offset.</param> public void Translate(int offsetX, int offsetY) { if (disposed) { throw new ObjectDisposedException("Outline", "Cannot access a disposed object."); } FT.FT_Outline_Translate(reference, offsetX, offsetY); }
/// <summary> /// Apply a simple translation to the points of an outline. /// </summary> /// <param name="offsetX">The horizontal offset.</param> /// <param name="offsetY">The vertical offset.</param> public void Translate(int offsetX, int offsetY) => FT.FT_Outline_Translate(Reference, offsetX, offsetY);