Home
last modified time | relevance | path

Searched refs:svgElement (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/experimental/docs/
DsvgBackend.js173 function svgSetPaintData(svgElement, paint) { argument
190 svgElement.setAttribute("fill", 'fill' == paint.style ? color : "none");
192 svgElement.setAttribute("stroke", color);
195 svgElement.setAttribute("stroke-width", paint.strokeWidth);
201 svgElement.setAttribute("font-size", paint.textSize);
204 svgElement.setAttribute("font-family", typeface.family);
207 svgElement.setAttribute("text-anchor", paint.textAlign == "right" ? "end" : assert(0));
210 svgElement.setAttribute("alignment-baseline", paint.textBaseline);
223 var svgElement;
226 svgElement = svgCreatePath(drawSpec[1], drawObj);
[all …]
/third_party/skia/experimental/docs/
DsvgBackend.js173 function svgSetPaintData(svgElement, paint) { argument
190 svgElement.setAttribute("fill", 'fill' == paint.style ? color : "none");
192 svgElement.setAttribute("stroke", color);
195 svgElement.setAttribute("stroke-width", paint.strokeWidth);
201 svgElement.setAttribute("font-size", paint.textSize);
204 svgElement.setAttribute("font-family", typeface.family);
207 svgElement.setAttribute("text-anchor", paint.textAlign == "right" ? "end" : assert(0));
210 svgElement.setAttribute("alignment-baseline", paint.textBaseline);
223 var svgElement;
226 svgElement = svgCreatePath(drawSpec[1], drawObj);
[all …]
/third_party/skia/demos.skia.org/demos/path_performance/
Dmain.js8 const svgElement = svgObjectElement.contentDocument; constant
9 const svgData = svgToPathStringAndFillColorPairs(svgElement);
94 function svgToPathStringAndFillColorPairs(svgElement) { argument
95 const pathElements = Array.from(svgElement.getElementsByTagName('path'));
/third_party/flutter/flutter/dev/tools/vitool/lib/
Dvitool.dart193 final XmlElement svgElement = _extractSvgElement(xml.parse(fileData));
194 final double width = parsePixels(_extractAttr(svgElement, 'width')).toDouble();
195 final double height = parsePixels(_extractAttr(svgElement, 'height')).toDouble();
198 _interpretSvgGroup(svgElement.children, _Transform());