Browse Source

fix whitespacing in generated code

pull/729/head
Peter Amrehn 8 years ago
parent
commit
0abb99b884
  1. 14
      src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.cs
  2. 11
      src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.tt

14
src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.cs

@ -1,4 +1,13 @@
// Copyright (c) Six Labors and contributors. 
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// <auto-generated /> // <auto-generated />
@ -10,7 +19,6 @@ namespace SixLabors.ImageSharp.PixelFormats
public partial class PixelOperations<TPixel> public partial class PixelOperations<TPixel>
{ {
/// <summary> /// <summary>
/// Converts 'count' elements in 'source` span of <see cref="Rgba64"/> data to a span of <typeparamref name="TPixel"/>-s. /// Converts 'count' elements in 'source` span of <see cref="Rgba64"/> data to a span of <typeparamref name="TPixel"/>-s.
/// </summary> /// </summary>
@ -514,7 +522,5 @@ namespace SixLabors.ImageSharp.PixelFormats
{ {
this.ToArgb32(sourceColors, MemoryMarshal.Cast<byte, Argb32>(destBytes), count); this.ToArgb32(sourceColors, MemoryMarshal.Cast<byte, Argb32>(destBytes), count);
} }
} }
} }

11
src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.tt

@ -14,7 +14,6 @@
void GeneratePackFromMethods(string pixelType, string tempPixelType, string assignToTempCode) void GeneratePackFromMethods(string pixelType, string tempPixelType, string assignToTempCode)
{ {
#> #>
/// <summary> /// <summary>
/// Converts 'count' elements in 'source` span of <see cref="<#=pixelType#>"/> data to a span of <typeparamref name="TPixel"/>-s. /// Converts 'count' elements in 'source` span of <see cref="<#=pixelType#>"/> data to a span of <typeparamref name="TPixel"/>-s.
/// </summary> /// </summary>
@ -57,7 +56,6 @@
void GenerateToDestFormatMethods(string pixelType) void GenerateToDestFormatMethods(string pixelType)
{ {
#> #>
/// <summary> /// <summary>
/// Converts 'count' pixels in 'sourcePixels` span to a span of <see cref="<#=pixelType#>"/>-s. /// Converts 'count' pixels in 'sourcePixels` span to a span of <see cref="<#=pixelType#>"/>-s.
/// Bulk version of <see cref="IPixel.To<#=pixelType#>(ref <#=pixelType#>)"/>. /// Bulk version of <see cref="IPixel.To<#=pixelType#>(ref <#=pixelType#>)"/>.
@ -107,8 +105,8 @@ namespace SixLabors.ImageSharp.PixelFormats
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
public partial class PixelOperations<TPixel> public partial class PixelOperations<TPixel>
{ {<#
<#
GeneratePackFromMethods("Rgba64", "Rgba64", "temp = Unsafe.Add(ref sourceRef, i);"); GeneratePackFromMethods("Rgba64", "Rgba64", "temp = Unsafe.Add(ref sourceRef, i);");
GenerateToDestFormatMethods("Rgba64"); GenerateToDestFormatMethods("Rgba64");
@ -129,8 +127,5 @@ namespace SixLabors.ImageSharp.PixelFormats
GeneratePackFromMethods("Argb32", "Argb32", "temp = Unsafe.Add(ref sourceRef, i);"); GeneratePackFromMethods("Argb32", "Argb32", "temp = Unsafe.Add(ref sourceRef, i);");
GenerateToDestFormatMethods("Argb32"); GenerateToDestFormatMethods("Argb32");
#> #> }
}
} }
Loading…
Cancel
Save