AcTools.Render.Tests.TrackMapRendererTest.HitabashiPark C# (CSharp) Method

HitabashiPark() private method

private HitabashiPark ( ) : void
return void
        public void HitabashiPark() {
            var path = Path.Combine(AcRootFinder.Find(), @"content\tracks\hitabashipark\hitabashipark.kn5");
            var output = Path.Combine(Path.GetDirectoryName(path) ?? "", "map.png");
            var ini = Path.Combine(Path.GetDirectoryName(path) ?? "", "data", "map.ini");
            if (!File.Exists(path)) {
                Debug.WriteLine("REQUIRED ASSET IS MISSING, TEST CANNOT BE DONE");
                return;
            }

            using (var renderer = new TrackMapRenderer(path) { Scale = 3.4f, Margin = 50f }) {
                renderer.Shot(output);
                renderer.SaveInformation(ini);
            }
        }
    }
TrackMapRendererTest