Пример #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
 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);
 }