diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-01 13:26:31 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-01 13:26:31 -0500 |
| commit | b9d17c9bc765a0c59d81db6277300a6860bf8421 (patch) | |
| tree | 8a7c538cb73c27b7e06f0055ce4f0bb45175e7aa /MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs | |
| parent | 88b638fbd69ed99bde7065f66af433b015977cb7 (diff) | |
add more methods to file system interface
Diffstat (limited to 'MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs b/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs deleted file mode 100644 index c889db304..000000000 --- a/MediaBrowser.Server.Implementations/Drawing/WatchedIndicatorDrawer.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Drawing; - -namespace MediaBrowser.Server.Implementations.Drawing -{ - public class WatchedIndicatorDrawer - { - private const int IndicatorHeight = 50; - public const int IndicatorWidth = 50; - private const int FontSize = 50; - - public void Process(Graphics graphics, Size imageSize) - { - var x = imageSize.Width - IndicatorWidth; - - using (var backdroundBrush = new SolidBrush(Color.FromArgb(225, 204, 51, 51))) - { - graphics.FillRectangle(backdroundBrush, x, 0, IndicatorWidth, IndicatorHeight); - - const string text = "a"; - - x = imageSize.Width - 55; - - using (var font = new Font("Webdings", FontSize, FontStyle.Regular, GraphicsUnit.Pixel)) - { - using (var fontBrush = new SolidBrush(Color.White)) - { - graphics.DrawString(text, font, fontBrush, x, -2); - } - } - } - - } - } -} |
