src/utils/color.cpp
/**
 * If this is an ALPHA_ONLY color, applies this alpha channel to the other
 * color, otherwise just returns this.
 *
 * \returns the new color if this is ALPHA_ONLY or a copy of this otherwise.
 */
If this is an ALPHA_ONLY color, applies this alpha channel to the other
color, otherwise just returns this.

\returns the new color if this is ALPHA_ONLY or a copy of this otherwise.
If this is an ALPHA_ONLY color applies this alpha channel to the other color otherwise just returns this . \ returns the new color if this is ALPHA_ONLY or a copy of this otherwise .
rgba rgba::try_apply_alpha_to(rgba other) const {
  if (m_type == ALPHA_ONLY) {
    return apply_alpha_to(other);
  }
  return *this;
}
rgba rgba :: try_apply_alpha_to ( rgba other ) const { if ( m_type == ALPHA_ONLY ) { return apply_alpha_to ( other ) ; } return * this ; }
If this is an ALPHA_ONLY color, applies this alpha channel to the other
 color, otherwise just returns this.
If this is an ALPHA_ONLY color applies this alpha channel to the other color otherwise just returns this .