public static PixelF operator +(PixelF a, PixelF b) { PixelF c = a; c.A += b.A; c.B += b.B; c.G += b.G; c.R += b.R; return(c); }
public static PixelF operator +(PixelF a, int b) { PixelF c = a; c.A += b; c.B += b; c.G += b; c.R += b; return(c); }
public static PixelF operator *(PixelF a, PixelF b) { PixelF c = a; c.A *= b.A; c.B *= b.B; c.G *= b.G; c.R *= b.R; return(c); }
public static PixelF operator *(PixelF a, int b) { PixelF c = a; c.A *= b; c.B *= b; c.G *= b; c.R *= b; return(c); }
public static PixelF operator /(PixelF a, int b) { PixelF c = a; c.A /= b; c.B /= b; c.G /= b; c.R /= b; return(c); }
public static PixelF operator /(PixelF a, Pixel b) { PixelF c = a; c.A /= b.A; c.B /= b.B; c.G /= b.G; c.R /= b.R; return(c); }
public static PixelF operator -(PixelF a, int b) { PixelF c = a; c.A -= b; c.B -= b; c.G -= b; c.R -= b; return(c); }
public static PixelF operator -(PixelF a, PixelF b) { PixelF c = a; c.A -= b.A; c.B -= b.B; c.G -= b.G; c.R -= b.R; return(c); }
public static PixelF operator *(Pixel a, double b) { PixelF c = a; c.A *= (float)b; c.B *= (float)b; c.G *= (float)b; c.R *= (float)b; return(c); }