Home
last modified time | relevance | path

Searched refs:svg (Results 1 - 25 of 27) sorted by relevance

12

/third_party/libabigail/tests/
H A Dtest-svg.cc6 #include "abg-viz-svg.h"
14 svg obj("sa-base"); in main()
23 svg obj("sa-A"); in main()
42 svg obj("sa-B"); in main()
59 svg obj("sa-C1"); in main()
72 svg obj("sa-C2"); in main()
89 svg obj("sa-C3"); in main()
106 svg obj("sa-D1"); in main()
125 svg obj("sa-D2"); in main()
148 svg ob in main()
[all...]
/third_party/libabigail/src/
H A Dabg-viz-svg.cc13 #include "abg-viz-svg.h"
22 svg::write() in write()
26 std::string filename(_M_title + ".svg"); in write()
29 throw std::runtime_error("abigail::svg::write fail"); in write()
42 svg::start_element()
45 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
46 <svg version="1.1"
50 xmlns:svg="http://www.w3.org/2000/svg"
51 xmlns="http://www.w3.org/2000/svg"
[all...]
/third_party/skia/modules/pathkit/tests/
H A Dpathops.spec.js17 sheet.insertRule(`svg {
34 <svg class='expected' viewBox='${getViewBox(expectedPath)}'>
36 </svg>
38 <svg class='actual' viewBox='${getViewBox(actualPath)}'>
40 </svg>
H A DtestReporter.js11 function reportSVG(svg, testname) {
16 let svgStr = svg.outerHTML;
21 setCanvasSize(canvasCtx, svg.getAttribute('width'), svg.getAttribute('height'));
27 _report(b64, 'svg', testname).then(() => {
31 tempImg.setAttribute('src', 'data:image/svg+xml;,' + svgStr);
36 // a proper svg and send it off. Supports fill (nofill means just stroke it).
39 let newPath = document.createElementNS('http://www.w3.org/2000/svg', 'path');
48 let newSVG = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
[all...]
/third_party/skia/modules/canvaskit/tests/
H A DtestReporter.js11 function reportSVG(svg, testname) {
16 let svgStr = svg.outerHTML;
21 setCanvasSize(canvasCtx, svg.getAttribute('width'), svg.getAttribute('height'));
27 _report(b64, 'svg', testname).then(() => {
31 tempImg.setAttribute('src', 'data:image/svg+xml;,' + svgStr);
36 // a proper svg and send it off. Supports fill (nofill means just stroke it).
39 let newPath = document.createElementNS('http://www.w3.org/2000/svg', 'path');
48 let newSVG = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dlinkcheck.py21 # Remove all <svg> elements, which just add noise to the cross-referencing
22 for svg in tree.findall('//svg'):
23 svg.getparent().remove(svg)
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-color.c103 static hb_face_t *svg = NULL; variable
356 g_assert (hb_ot_color_has_layers (svg) == FALSE); in test_hb_ot_color_has_data()
364 g_assert (hb_ot_color_has_palettes (svg) == FALSE); in test_hb_ot_color_has_data()
372 g_assert (hb_ot_color_has_svg (svg) == TRUE); in test_hb_ot_color_has_data()
380 g_assert (hb_ot_color_has_png (svg) == FALSE); in test_hb_ot_color_has_data()
390 blob = hb_ot_color_glyph_reference_svg (svg, 0); in test_hb_ot_color_svg()
393 blob = hb_ot_color_glyph_reference_svg (svg, 1); in test_hb_ot_color_svg()
397 g_assert (strncmp (data + 140, "</svg>", 5) == 0); in test_hb_ot_color_svg()
466 svg = hb_test_open_font_file ("fonts/chromacheck-svg in main()
[all...]
/third_party/skia/tools/fm/
H A Dfm.cpp41 #include "modules/svg/include/SkSVGDOM.h"
42 #include "modules/svg/include/SkSVGNode.h"
194 static void init(Source* source, sk_sp<SkSVGDOM> svg) { in init() argument
195 if (svg->containerSize().isEmpty()) { in init()
196 svg->setContainerSize({1000,1000}); in init()
198 source->size = svg->containerSize().toCeil(); in init()
199 source->draw = [svg](SkCanvas* canvas) { in init()
200 svg->render(canvas); in init()
465 else if (name.endsWith(".svg")) { in main()
467 if (sk_sp<SkSVGDOM> svg in main()
[all...]
/third_party/libabigail/include/
H A Dabg-viz-svg.h63 struct svg struct
87 svg(const std::string &__title, in svg() function
/third_party/vk-gl-cts/external/vulkan-docs/src/antora/
H A DMakefile47 ./images/*.svg \
58 ./images/tile_image.svg \
/third_party/skia/modules/svg/tests/
H A DFilters.cpp12 #include "modules/svg/include/SkSVGDOM.h"
13 #include "modules/svg/include/SkSVGNode.h"
18 <svg width="500" height="500" xmlns="http://www.w3.org/2000/svg"
27 </svg>
/third_party/skia/tools/
H A DToolUtils.cpp34 #include "modules/svg/include/SkSVGDOM.h"
35 #include "modules/svg/include/SkSVGNode.h"
498 if (const char* ext = strrchr(filepath, '.'); ext && !strcmp(ext, ".svg")) { in sniff_paths()
500 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(stream); in sniff_paths() local
501 if (!svg) { in sniff_paths()
502 SkDebugf("sniff_paths: couldn't load svg at \"%s\"\n", filepath); in sniff_paths()
505 svg->setContainerSize(SkSize::Make(pathSniffer.getBaseLayerSize())); in sniff_paths()
506 svg->render(&pathSniffer); in sniff_paths()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/icons/
H A DMakefile12 inkscape $(subst .png,.svg, $(word 2, $(subst /, , $(@)))) --without-gui \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/icons/
H A DMakefile26 inkscape $(subst .png,.svg, $(word 2, $(subst /, , $(@)))) $(INKSCAPE_GUI_FLAG) \
/third_party/qrcodegen/java/
H A DQrCodeGeneratorDemo.java66 String svg = toSvgString(qr, 4, "#FFFFFF", "#000000"); // Convert to SVG XML code in doBasicDemo()
67 File svgFile = new File("hello-world-QR.svg"); // File path for output in doBasicDemo()
69 svg.getBytes(StandardCharsets.UTF_8)); in doBasicDemo()
236 .append("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n") in toSvgString()
237 .append(String.format("<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 %1$d %1$d\" stroke=\"none\">\n", in toSvgString()
252 .append("</svg>\n") in toSvgString()
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCodeGeneratorDemo.java65 String svg = toSvgString(qr, 4, "#FFFFFF", "#000000"); // Convert to SVG XML code in doBasicDemo()
66 File svgFile = new File("hello-world-QR.svg"); // File path for output in doBasicDemo()
68 svg.getBytes(StandardCharsets.UTF_8)); in doBasicDemo()
235 .append("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n") in toSvgString()
236 .append(String.format("<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 %1$d %1$d\" stroke=\"none\">\n", in toSvgString()
251 .append("</svg>\n") in toSvgString()
/third_party/skia/tools/skpbench/
H A Dskpbench.cpp38 #include "modules/svg/include/SkSVGDOM.h"
51 * This is a minimalist program whose sole purpose is to open a .skp or .svg file, benchmark it on a
77 "path to a single .skp or .svg file, or 'warmup' for a builtin warmup run");
510 "invalid input '%s': must specify a single .skp or .svg file, or 'warmup'", in main()
528 if (srcfile.endsWith(".svg")) { in main()
704 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(*stream); in create_skp_from_svg() local
705 if (!svg) { in create_skp_from_svg()
706 exitf(ExitErr::kData, "failed to build svg dom from file %s", filename); in create_skp_from_svg()
713 svg->setContainerSize(SkSize::Make(recording->getBaseLayerSize())); in create_skp_from_svg()
714 svg in create_skp_from_svg()
[all...]
/third_party/skia/tools/fonts/
H A DTestSVGTypeface.cpp32 #include "modules/svg/include/SkSVGDOM.h"
33 #include "modules/svg/include/SkSVGNode.h"
84 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(*stream); in withSVG() local
85 if (!svg) { in withSVG()
89 if (svg->containerSize().isEmpty()) { in withSVG()
93 fSvg = std::move(svg); in withSVG()
103 this->withSVG([&](const SkSVGDOM& svg){ in size()
104 size = svg.containerSize(); in size()
110 this->withSVG([&](const SkSVGDOM& svg){ in render()
111 svg in render()
[all...]
/third_party/skia/tests/
H A DPathOpsExtendedTest.cpp416 SkString svg; in json_path_out() local
417 SkParsePath::ToSVGString(path, &svg); in json_path_out()
418 fprintf(PathOpsDebug::gOut, " \"%s\": \"%s\",\n", pathName, svg.c_str()); in json_path_out()
/third_party/skia/src/svg/
H A DSkSVGDevice.cpp8 #include "src/svg/SkSVGDevice.h"
27 #include "include/svg/SkSVGCanvas.h"
702 // The root <svg> tag gets closed by the destructor.
703 fRootElement = std::make_unique<AutoElement>("svg", fWriter);
705 fRootElement->addAttribute("xmlns", "http://www.w3.org/2000/svg");
858 std::unique_ptr<AutoElement> svg;
860 svg = std::make_unique<AutoElement>("svg", this, fResourceBucket.get(), MxCp(this), paint);
861 svg->addRectAttributes(r);
866 if (svg) {
[all...]
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs7 //! cargo run --example readme_preview svg > codespan-reporting/assets/readme_preview.svg
106 r#"<svg viewBox="0 0 {width} {height}" xmlns="http://www.w3.org/2000/svg"> in main()
173 </svg> in main()
/third_party/littlefs/scripts/
H A Dplotmpl.py6 # ./scripts/plotmpl.py bench.csv -xSIZE -ybench_read -obench.svg
562 svg=False,
606 if not png and not svg:
610 svg = True
722 # I think the svg backend just ignores DPI, but seems to use something
1009 plt.savefig(output, format='png' if png else 'svg')
1032 help="Output *.svg/*.png file.")
1034 '--svg',
1036 help="Output an svg file. By default this is infered.")
/third_party/vk-gl-cts/external/vulkan-docs/src/
H A DMakefile240 ADOCPDFOPTS = $(ADOCPDFEXTS) -a mathematical-format=svg \
257 SVGFILES = $(wildcard $(IMAGEPATH)/*.svg)
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhelper-cairo.hh39 # include <cairo-svg.h>
415 "svg",
494 else if (0 == g_ascii_strcasecmp (extension, "svg")) in helper_cairo_create_context()
/third_party/ffmpeg/libavformat/
H A Dimg2dec.c978 if (!memcmp(b, "<svg", 4)) in svg_probe()
1246 IMAGEAUTO_DEMUXER(svg, SVG)

Completed in 16 milliseconds

12