示例#1
0
		public void addWeighted(double weight, PixelStruct pix)
		{
			this.r += (int)(weight * (double)pix.r);
			this.g += (int)(weight * (double)pix.g);
			this.b += (int)(weight * (double)pix.b);
			this.a += (int)(weight * (double)pix.a);
		}
示例#2
0
文件: IntPixel.cs 项目: gabilic/Oplan
 public void addWeighted(double weight, PixelStruct pix)
 {
     this.r += (int)(weight * (double)pix.r);
     this.g += (int)(weight * (double)pix.g);
     this.b += (int)(weight * (double)pix.b);
     this.a += (int)(weight * (double)pix.a);
 }
示例#3
0
		public Pixel()
		{
			this.p = default(PixelStruct);
		}
示例#4
0
 public Pixel()
 {
     this.p = default(PixelStruct);
 }
示例#5
0
 public Pixel()
 {
     p = default(PixelStruct);
 }