Searched refs:svgElement (Results 1 – 3 of 3) sorted by relevance
/external/skqp/experimental/docs/ |
D | svgBackend.js | 173 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 …]
|
/external/skia/experimental/docs/ |
D | svgBackend.js | 173 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 …]
|
/external/skia/demos.skia.org/demos/path_performance/ |
D | main.js | 8 const svgElement = svgObjectElement.contentDocument; constant 9 const svgData = svgToPathStringAndFillColorPairs(svgElement); 94 function svgToPathStringAndFillColorPairs(svgElement) { argument 95 const pathElements = Array.from(svgElement.getElementsByTagName('path'));
|