コード例 #1
0
        public List<TileImage> CreateTileImageList(Mosaic mosaic, List<LibraryImage> libraryImages)
        {
            List<TileImage> tileImages = new List<TileImage>();

            foreach(MosaicTile tile in mosaic.Tiles)
            {
                tileImages.Add(CreateTileImage(tile, libraryImages));
            }

            return tileImages;
        }
コード例 #2
0
 public MosaicImage CreateMosaicImage(Mosaic mosaic, List<TileImage> tileImages)
 {
     return new MosaicImage(mosaic.TileWidth * mosaic.ColumnCount, mosaic.TileHeight * mosaic.RowCount, tileImages);
 }