public override void Draw(GraphicContext gc) { ScreenManager.Clear(Colors.CornflowerBlue); var raw = Britanic.GetFont(); var font = new Graphics.Fonts.Formats.CFLFontFormat(); gc.DrawGlyph(font.GetFont(raw), new Point(5, 5), Colors.Black); gc.DrawLine(new Point(10, 10), new Point(150, 10), Colors.Black); /* var w = new Window(); * w.Size = new Size(250, 250); * w.Background = Colors.Blue; * w.TitleBarColor = Colors.Yellow; * w.StartPosition = WindowStartPosition.CenterScreen; * * w.SetGraphics(gc); * * w.Show();*/ }
public void FontFormatSelector_Test() { var logo = Britanic.GetFont(); _ = Font.GetFont(logo, FontFormat.CFL); }