Browse Source

Fix typos

pull/2601/head
Stefan Nikolei 3 years ago
parent
commit
2949655d92
  1. 6
      src/ImageSharp/PixelFormats/IPixel.cs
  2. 2
      src/ImageSharp/PixelFormats/PixelImplementations/A8.cs
  3. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Abgr32.cs
  4. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Argb32.cs
  5. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Bgr24.cs
  6. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Bgr565.cs
  7. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs
  8. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Bgra4444.cs
  9. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Bgra5551.cs
  10. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Byte4.cs
  11. 2
      src/ImageSharp/PixelFormats/PixelImplementations/HalfSingle.cs
  12. 2
      src/ImageSharp/PixelFormats/PixelImplementations/HalfVector2.cs
  13. 2
      src/ImageSharp/PixelFormats/PixelImplementations/HalfVector4.cs
  14. 2
      src/ImageSharp/PixelFormats/PixelImplementations/L16.cs
  15. 2
      src/ImageSharp/PixelFormats/PixelImplementations/L8.cs
  16. 2
      src/ImageSharp/PixelFormats/PixelImplementations/La16.cs
  17. 2
      src/ImageSharp/PixelFormats/PixelImplementations/La32.cs
  18. 2
      src/ImageSharp/PixelFormats/PixelImplementations/NormalizedByte2.cs
  19. 2
      src/ImageSharp/PixelFormats/PixelImplementations/NormalizedByte4.cs
  20. 2
      src/ImageSharp/PixelFormats/PixelImplementations/NormalizedShort2.cs
  21. 2
      src/ImageSharp/PixelFormats/PixelImplementations/NormalizedShort4.cs
  22. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rg32.cs
  23. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rgb24.cs
  24. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rgb48.cs
  25. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rgba1010102.cs
  26. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rgba32.cs
  27. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Rgba64.cs
  28. 2
      src/ImageSharp/PixelFormats/PixelImplementations/RgbaVector.cs
  29. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Short2.cs
  30. 2
      src/ImageSharp/PixelFormats/PixelImplementations/Short4.cs

6
src/ImageSharp/PixelFormats/IPixel.cs

@ -16,10 +16,12 @@ public interface IPixel<TSelf> : IPixel, IEquatable<TSelf>
where TSelf : unmanaged, IPixel<TSelf>
{
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
/// <returns>The <see cref="PixelTypeInfo"/>.</returns>
#pragma warning disable CA1000
static abstract PixelTypeInfo GetPixelTypeInfo();
#pragma warning restore CA1000
/// <summary>
/// Creates a <see cref="PixelOperations{TPixel}"/> instance for this pixel type.

2
src/ImageSharp/PixelFormats/PixelImplementations/A8.cs

@ -57,7 +57,7 @@ public partial struct A8 : IPixel<A8>, IPackedVector<byte>
public static bool operator !=(A8 left, A8 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<A8>(1, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Abgr32.cs

@ -185,7 +185,7 @@ public partial struct Abgr32 : IPixel<Abgr32>, IPackedVector<uint>
public static bool operator !=(Abgr32 left, Abgr32 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Abgr32>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Argb32.cs

@ -185,7 +185,7 @@ public partial struct Argb32 : IPixel<Argb32>, IPackedVector<uint>
public static bool operator !=(Argb32 left, Argb32 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Argb32>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Bgr24.cs

@ -89,7 +89,7 @@ public partial struct Bgr24 : IPixel<Bgr24>
public static bool operator !=(Bgr24 left, Bgr24 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr24>(3, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Bgr565.cs

@ -61,7 +61,7 @@ public partial struct Bgr565 : IPixel<Bgr565>, IPackedVector<ushort>
public static bool operator !=(Bgr565 left, Bgr565 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr565>(3, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs

@ -138,7 +138,7 @@ public partial struct Bgra32 : IPixel<Bgra32>, IPackedVector<uint>
public static bool operator !=(Bgra32 left, Bgra32 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra32>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Bgra4444.cs

@ -59,7 +59,7 @@ public partial struct Bgra4444 : IPixel<Bgra4444>, IPackedVector<ushort>
public static bool operator !=(Bgra4444 left, Bgra4444 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra4444>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Bgra5551.cs

@ -62,7 +62,7 @@ public partial struct Bgra5551 : IPixel<Bgra5551>, IPackedVector<ushort>
public static bool operator !=(Bgra5551 left, Bgra5551 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra5551>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Byte4.cs

@ -62,7 +62,7 @@ public partial struct Byte4 : IPixel<Byte4>, IPackedVector<uint>
public static bool operator !=(Byte4 left, Byte4 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Byte4>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/HalfSingle.cs

@ -47,7 +47,7 @@ public partial struct HalfSingle : IPixel<HalfSingle>, IPackedVector<ushort>
public static bool operator !=(HalfSingle left, HalfSingle right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<HalfSingle>(1, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/HalfVector2.cs

@ -54,7 +54,7 @@ public partial struct HalfVector2 : IPixel<HalfVector2>, IPackedVector<uint>
public static bool operator !=(HalfVector2 left, HalfVector2 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<HalfVector2>(2, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/HalfVector4.cs

@ -59,7 +59,7 @@ public partial struct HalfVector4 : IPixel<HalfVector4>, IPackedVector<ulong>
public static bool operator !=(HalfVector4 left, HalfVector4 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<HalfVector4>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/L16.cs

@ -49,7 +49,7 @@ public partial struct L16 : IPixel<L16>, IPackedVector<ushort>
public static bool operator !=(L16 left, L16 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<L16>(1, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/L8.cs

@ -50,7 +50,7 @@ public partial struct L8 : IPixel<L8>, IPackedVector<byte>
public static bool operator !=(L8 left, L8 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<L8>(1, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/La16.cs

@ -73,7 +73,7 @@ public partial struct La16 : IPixel<La16>, IPackedVector<ushort>
public static bool operator !=(La16 left, La16 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<La16>(2, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/La32.cs

@ -75,7 +75,7 @@ public partial struct La32 : IPixel<La32>, IPackedVector<uint>
public static bool operator !=(La32 left, La32 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<La32>(2, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/NormalizedByte2.cs

@ -62,7 +62,7 @@ public partial struct NormalizedByte2 : IPixel<NormalizedByte2>, IPackedVector<u
public static bool operator !=(NormalizedByte2 left, NormalizedByte2 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<NormalizedByte2>(2, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/NormalizedByte4.cs

@ -64,7 +64,7 @@ public partial struct NormalizedByte4 : IPixel<NormalizedByte4>, IPackedVector<u
public static bool operator !=(NormalizedByte4 left, NormalizedByte4 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<NormalizedByte4>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/NormalizedShort2.cs

@ -63,7 +63,7 @@ public partial struct NormalizedShort2 : IPixel<NormalizedShort2>, IPackedVector
public static bool operator !=(NormalizedShort2 left, NormalizedShort2 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<NormalizedShort2>(2, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/NormalizedShort4.cs

@ -65,7 +65,7 @@ public partial struct NormalizedShort4 : IPixel<NormalizedShort4>, IPackedVector
public static bool operator !=(NormalizedShort4 left, NormalizedShort4 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<NormalizedShort4>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rg32.cs

@ -59,7 +59,7 @@ public partial struct Rg32 : IPixel<Rg32>, IPackedVector<uint>
public static bool operator !=(Rg32 left, Rg32 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rg32>(2, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rgb24.cs

@ -108,7 +108,7 @@ public partial struct Rgb24 : IPixel<Rgb24>
public static bool operator !=(Rgb24 left, Rgb24 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rgb24>(3, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rgb48.cs

@ -71,7 +71,7 @@ public partial struct Rgb48 : IPixel<Rgb48>
public static bool operator !=(Rgb48 left, Rgb48 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rgb48>(3, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rgba1010102.cs

@ -62,7 +62,7 @@ public partial struct Rgba1010102 : IPixel<Rgba1010102>, IPackedVector<uint>
public static bool operator !=(Rgba1010102 left, Rgba1010102 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rgba1010102>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rgba32.cs

@ -288,7 +288,7 @@ public partial struct Rgba32 : IPixel<Rgba32>, IPackedVector<uint>
}
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rgba32>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Rgba64.cs

@ -208,7 +208,7 @@ public partial struct Rgba64 : IPixel<Rgba64>, IPackedVector<ulong>
public static bool operator !=(Rgba64 left, Rgba64 right) => left.PackedValue != right.PackedValue;
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Rgba64>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/RgbaVector.cs

@ -98,7 +98,7 @@ public partial struct RgbaVector : IPixel<RgbaVector>
public static RgbaVector FromHex(string hex) => Color.ParseHex(hex).ToPixel<RgbaVector>();
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<RgbaVector>(4, PixelAlphaRepresentation.Unassociated);

2
src/ImageSharp/PixelFormats/PixelImplementations/Short2.cs

@ -66,7 +66,7 @@ public partial struct Short2 : IPixel<Short2>, IPackedVector<uint>
public static bool operator !=(Short2 left, Short2 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Short2>(2, PixelAlphaRepresentation.None);

2
src/ImageSharp/PixelFormats/PixelImplementations/Short4.cs

@ -68,7 +68,7 @@ public partial struct Short4 : IPixel<Short4>, IPackedVector<ulong>
public static bool operator !=(Short4 left, Short4 right) => !left.Equals(right);
/// <summary>
/// Gets the The pixel type information.
/// Gets the pixel type information.
/// </summary>
/// <returns>PixelTypeInfo</returns>
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Short4>(4, PixelAlphaRepresentation.Unassociated);

Loading…
Cancel
Save