// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using System.Numerics; namespace SixLabors.ImageSharp.Drawing.Text { /// /// A rendering surface that Fonts can use to generate shapes. /// Extends by adding a configurable origin offset /// so that all captured geometry is translated by the specified amount. /// internal class GlyphBuilder : BaseGlyphBuilder { /// /// Initializes a new instance of the class. /// public GlyphBuilder() : this(Vector2.Zero) { } /// /// Initializes a new instance of the class. /// /// The origin. public GlyphBuilder(Vector2 origin) => this.Builder.SetOrigin(origin); } }