Anime matrix tweaks

This commit is contained in:
Serge
2023-05-03 17:53:21 +02:00
parent 5ed1de0fcf
commit 801096299b
3 changed files with 11 additions and 9 deletions

View File

@@ -420,6 +420,9 @@ namespace Starlight.AnimeMatrix
public void PresentTextDiagonal(string text)
{
Clear();
int maxX = (int)Math.Sqrt(MaxRows * MaxRows + MaxColumns * MaxColumns);
using (Bitmap bmp = new Bitmap(maxX, MaxRows))