示例#1
0
 public DragonPainter(IImageHolder imageHolder, DragonSettings settings)
 {
     this.imageHolder = imageHolder;
     this.settings    = settings;
     imageSize        = imageHolder.GetImageSize();
     size             = Math.Min(imageSize.Width, imageSize.Height) / 2.1f;
 }
示例#2
0
 public DragonPainter(IImageHolder imageHolder, Palette palette, DragonSettings settings)
 {
     this.imageHolder = imageHolder;
     this.palette     = palette;
     this.settings    = settings;
 }