mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #9065 from barronpm/drawing-use-file-namespaces
This commit is contained in:
commit
515e69dcf7
|
@ -2,8 +2,8 @@ using System;
|
||||||
using MediaBrowser.Model.Drawing;
|
using MediaBrowser.Model.Drawing;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Static helper class used to draw percentage-played indicators on images.
|
/// Static helper class used to draw percentage-played indicators on images.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -33,4 +33,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
canvas.DrawRect(SKRect.Create(0, (float)endY - IndicatorHeight, Convert.ToInt32(foregroundWidth), endY), paint);
|
canvas.DrawRect(SKRect.Create(0, (float)endY - IndicatorHeight, Convert.ToInt32(foregroundWidth), endY), paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
using MediaBrowser.Model.Drawing;
|
using MediaBrowser.Model.Drawing;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Static helper class for drawing 'played' indicators.
|
/// Static helper class for drawing 'played' indicators.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -45,4 +45,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
canvas.DrawText(Text, (float)x - 12, OffsetFromTopRightCorner + 12, paint);
|
canvas.DrawText(Text, (float)x - 12, OffsetFromTopRightCorner + 12, paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents errors that occur during interaction with Skia codecs.
|
/// Represents errors that occur during interaction with Skia codecs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -42,4 +42,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
CodecResult,
|
CodecResult,
|
||||||
base.ToString());
|
base.ToString());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ using Microsoft.Extensions.Logging;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
using SKSvg = SkiaSharp.Extended.Svg.SKSvg;
|
using SKSvg = SkiaSharp.Extended.Svg.SKSvg;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Image encoder that uses <see cref="SkiaSharp"/> to manipulate images.
|
/// Image encoder that uses <see cref="SkiaSharp"/> to manipulate images.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -542,4 +542,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents errors that occur during interaction with Skia.
|
/// Represents errors that occur during interaction with Skia.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -36,4 +36,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class containing helper methods for working with SkiaSharp.
|
/// Class containing helper methods for working with SkiaSharp.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -44,4 +44,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
return bitmap;
|
return bitmap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to build the splashscreen.
|
/// Used to build the splashscreen.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -145,4 +145,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
return bitmap;
|
return bitmap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ using System.IO;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to build collages of multiple images arranged in vertical strips.
|
/// Used to build collages of multiple images arranged in vertical strips.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -183,4 +183,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
return bitmap;
|
return bitmap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ using System.Globalization;
|
||||||
using MediaBrowser.Model.Drawing;
|
using MediaBrowser.Model.Drawing;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing.Skia
|
namespace Jellyfin.Drawing.Skia;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Static helper class for drawing unplayed count indicators.
|
/// Static helper class for drawing unplayed count indicators.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -61,4 +61,3 @@ namespace Jellyfin.Drawing.Skia
|
||||||
canvas.DrawText(text, x, y, paint);
|
canvas.DrawText(text, x, y, paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ using MediaBrowser.Model.Net;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Photo = MediaBrowser.Controller.Entities.Photo;
|
using Photo = MediaBrowser.Controller.Entities.Photo;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing
|
namespace Jellyfin.Drawing;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ImageProcessor.
|
/// Class ImageProcessor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -566,4 +566,3 @@ namespace Jellyfin.Drawing
|
||||||
_disposed = true;
|
_disposed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
||||||
using MediaBrowser.Controller.Drawing;
|
using MediaBrowser.Controller.Drawing;
|
||||||
using MediaBrowser.Model.Drawing;
|
using MediaBrowser.Model.Drawing;
|
||||||
|
|
||||||
namespace Jellyfin.Drawing
|
namespace Jellyfin.Drawing;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A fallback implementation of <see cref="IImageEncoder" />.
|
/// A fallback implementation of <see cref="IImageEncoder" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -55,4 +55,3 @@ namespace Jellyfin.Drawing
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue