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; }
public MosaicImage CreateMosaicImage(Mosaic mosaic, List<TileImage> tileImages) { return new MosaicImage(mosaic.TileWidth * mosaic.ColumnCount, mosaic.TileHeight * mosaic.RowCount, tileImages); }