Exemple #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);
		}
Exemple #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);
 }
Exemple #3
0
		public Pixel()
		{
			this.p = default(PixelStruct);
		}
Exemple #4
0
 public Pixel()
 {
     this.p = default(PixelStruct);
 }
Exemple #5
0
 public Pixel()
 {
     p = default(PixelStruct);
 }