| 140 | constexpr float LUM_COEFF_B = 0.0722f; |
| 141 | |
| 142 | ColorMatrix SVGFeColorMatrix::MakeLuminanceToAlpha() { |
| 143 | return ColorMatrix{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 144 | 0, 0, 0, 0, 0, LUM_COEFF_R, LUM_COEFF_G, LUM_COEFF_B, 0, 0}; |
| 145 | } |
| 146 | |
| 147 | std::shared_ptr<ImageFilter> SVGFeColorMatrix::onMakeImageFilter( |
| 148 | const SVGRenderContext& context, const SVGFilterContext& filterContext) const { |
nothing calls this directly
no outgoing calls
no test coverage detected