/// <summary> /// Brightens the backdrop color to reflect the source color. Painting with black produces no changes. /// </summary> /// <param name="backdrop">The backdrop color.</param> /// <param name="source">The source color.</param> /// <returns> /// The <see cref="Color"/>. /// </returns> public static Color ColorDodge(Color backdrop, Color source) { Vector4 dodge = Vector4BlendTransforms.Dodge(backdrop.ToVector4(), source.ToVector4()); return(new Color(Pack(ref dodge))); }
/// <summary> /// Brightens the backdrop color to reflect the source color. Painting with black produces no changes. /// </summary> /// <param name="backdrop">The backdrop color.</param> /// <param name="source">The source color.</param> /// <returns> /// The <see cref="ColorVector"/>. /// </returns> public static ColorVector ColorDodge(ColorVector backdrop, ColorVector source) { Vector4 dodge = Vector4BlendTransforms.Dodge(backdrop.backingVector, source.backingVector); return(new ColorVector(dodge)); }