diff --git a/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj b/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj index 8ba0cbdd0..c4515db37 100644 --- a/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj +++ b/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj @@ -2,7 +2,7 @@ An extension to ImageSharp that allows the drawing of images, paths, and text. ImageSharp.Drawing - 1.0.0-alpha5 + 1.0.0-alpha6 James Jackson-South and contributors netstandard1.1 true @@ -39,8 +39,8 @@ All - - + + ..\..\ImageSharp.ruleset diff --git a/src/ImageSharp.Drawing/Text/GlyphBuilder.cs b/src/ImageSharp.Drawing/Text/GlyphBuilder.cs index ac5d01de7..0033a608c 100644 --- a/src/ImageSharp.Drawing/Text/GlyphBuilder.cs +++ b/src/ImageSharp.Drawing/Text/GlyphBuilder.cs @@ -48,7 +48,8 @@ namespace ImageSharp.Drawing /// /// Begins the glyph. /// - void IGlyphRenderer.BeginGlyph() + /// The offset that the glyph will be rendered at. + void IGlyphRenderer.BeginGlyph(Vector2 location) { this.builder.Clear(); } diff --git a/src/ImageSharp/ImageSharp.csproj b/src/ImageSharp/ImageSharp.csproj index c51c0833a..a19bed604 100644 --- a/src/ImageSharp/ImageSharp.csproj +++ b/src/ImageSharp/ImageSharp.csproj @@ -2,7 +2,7 @@ A cross-platform library for the processing of image files; written in C# ImageSharp - 1.0.0-alpha5 + 1.0.0-alpha6 James Jackson-South and contributors netstandard1.3;netstandard1.1 true diff --git a/tests/ImageSharp.Tests/Drawing/Text/GlyphBuilder.cs b/tests/ImageSharp.Tests/Drawing/Text/GlyphBuilder.cs index c7121695e..7f16f30bb 100644 --- a/tests/ImageSharp.Tests/Drawing/Text/GlyphBuilder.cs +++ b/tests/ImageSharp.Tests/Drawing/Text/GlyphBuilder.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Drawing.Text GlyphBuilder fullBuilder = new GlyphBuilder(new System.Numerics.Vector2(10, 99)); IGlyphRenderer builder = fullBuilder; - builder.BeginGlyph(); + builder.BeginGlyph(Vector2.Zero); builder.BeginFigure(); builder.MoveTo(new Vector2(0, 0)); builder.LineTo(new Vector2(0, 10)); // becomes 0, -10 @@ -52,7 +52,7 @@ namespace ImageSharp.Tests.Drawing.Text IGlyphRenderer builder = fullBuilder; for (int i = 0; i < 10; i++) { - builder.BeginGlyph(); + builder.BeginGlyph(Vector2.Zero); builder.BeginFigure(); builder.MoveTo(new Vector2(0, 0)); builder.LineTo(new Vector2(0, 10)); // becomes 0, -10