0a145b77f7
Spec: https://www.w3.org/TR/SVG11/filters.html#FilterPrimitiveSubRegion The filter primitive subregion restricts the output of a specific <fe*> node in a filter DAG. By default it's equal to the union of subregions of all input filters, or the filter region if no inputs exist. If x/y/w/h are specified on the <fe*> node, those are used to bound the primitive subregion instead. In this CL: - Implement the computation of the primitive subregion in SkSVGFe::resolveFilterSubregion - Add primitiveUnits to filter context - Change result registration (by string ID) in filter context to include the primitive subregion of that result. This is needed because filters referencing previous results need access to those primitive subregions to compute the union. Bug: skia:10841 Change-Id: I66fbb4979e3c65cb5e5cc61f98286ec7ad023438 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344666 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Tyler Denniston <tdenniston@google.com> |
||
---|---|---|
.. | ||
SkSVGAttribute.h | ||
SkSVGAttributeParser.h | ||
SkSVGCircle.h | ||
SkSVGClipPath.h | ||
SkSVGContainer.h | ||
SkSVGDefs.h | ||
SkSVGDOM.h | ||
SkSVGEllipse.h | ||
SkSVGFe.h | ||
SkSVGFeColorMatrix.h | ||
SkSVGFeComposite.h | ||
SkSVGFeFlood.h | ||
SkSVGFeTurbulence.h | ||
SkSVGFilter.h | ||
SkSVGFilterContext.h | ||
SkSVGG.h | ||
SkSVGGradient.h | ||
SkSVGHiddenContainer.h | ||
SkSVGIDMapper.h | ||
SkSVGLine.h | ||
SkSVGLinearGradient.h | ||
SkSVGNode.h | ||
SkSVGPath.h | ||
SkSVGPattern.h | ||
SkSVGPoly.h | ||
SkSVGRadialGradient.h | ||
SkSVGRect.h | ||
SkSVGRenderContext.h | ||
SkSVGShape.h | ||
SkSVGStop.h | ||
SkSVGSVG.h | ||
SkSVGText.h | ||
SkSVGTransformableNode.h | ||
SkSVGTypes.h | ||
SkSVGUse.h | ||
SkSVGValue.h |