|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|