コード例 #1
0
ファイル: DragonPainter.cs プロジェクト: Moordown/tag_cloud_3
 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;
 }