Exemplo n.º 1
0
        public void TestMinimapImage()
        {
            float x, y;

            Pather.GetWoWTileByLocation(new[] { -8020, 1515, -1.5f }.ToRecast(), out x, out y);

            var image = new MinimapImage("Azeroth", 256, 256, (int)x, (int)x, (int)y, (int)y);

            image.Generate();
            image.Result.Save("MinimapImageTest.png", ImageFormat.Png);
        }