Home
last modified time | relevance | path

Searched refs:viewBox (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/modules/svg/src/
DSkSVGNode.cpp132 SkMatrix SkSVGNode::ComputeViewboxMatrix(const SkRect& viewBox, in ComputeViewboxMatrix() argument
135 SkASSERT(!viewBox.isEmpty()); in ComputeViewboxMatrix()
139 const auto sx = viewPort.width() / viewBox.width(), in ComputeViewboxMatrix()
140 sy = viewPort.height() / viewBox.height(); in ComputeViewboxMatrix()
167 const auto tx = -viewBox.x() * scale.x, in ComputeViewboxMatrix()
168 ty = -viewBox.y() * scale.y, in ComputeViewboxMatrix()
169 dx = viewPort.width() - viewBox.width() * scale.x, in ComputeViewboxMatrix()
170 dy = viewPort.height() - viewBox.height() * scale.y; in ComputeViewboxMatrix()
DSkSVGSVG.cpp23 const SkRect& viewBox = *fViewBox; in onPrepareToRender() local
26 if (viewBox.isEmpty()) { in onPrepareToRender()
31 viewPort = SkSize::Make(viewBox.width(), viewBox.height()); in onPrepareToRender()
33 contentMatrix.preConcat(ComputeViewboxMatrix(viewBox, viewPortRect, fPreserveAspectRatio)); in onPrepareToRender()
DSkSVGImage.cpp70 const SkRect viewBox = SkRect::Make(image->bounds()); in LoadImage() local
73 const SkMatrix m = ComputeViewboxMatrix(viewBox, viewPort, par); in LoadImage()
74 const SkRect dst = m.mapRect(viewBox).makeOffset(viewPort.fLeft, viewPort.fTop); in LoadImage()
DSkSVGDOM.cpp99 SkSVGViewBoxType viewBox; in SetViewBoxAttribute() local
101 if (!parser.parseViewBox(&viewBox)) { in SetViewBoxAttribute()
105 node->setAttribute(attr, SkSVGViewBoxValue(viewBox)); in SetViewBoxAttribute()
/third_party/skia/gm/
Dcrbug_1113794.cpp26 SkMatrix viewBox = SkMatrix::RectToRect(SkRect::MakeWH(100, 100), SkRect::MakeWH(600, 200)); variable
27 canvas->concat(viewBox);
Dpictureimagegenerator.cpp41 static void draw_vector_logo(SkCanvas* canvas, const SkRect& viewBox) { in draw_vector_logo() argument
71 canvas->concat(SkMatrix::RectToRect(skiaBox, viewBox)); in draw_vector_logo()
/third_party/parse5/test/data/parser-feedback/
Dtests11.test5 …='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' …
6 …='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' …
77 "viewBox": "",
164 "viewBox": "",
252 "viewBox": "",
267 …='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' …
268 …='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' …
/third_party/mesa3d/docs/
Dfavicon.svg1 <svg xmlns="http://www.w3.org/2000/svg" version="1.2" viewBox="0 0 12.8 12.9">
/third_party/skia/demos.skia.org/demos/path_performance/
Dgarbage.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen-input-demo.ts101 const viewBox: string = (/ viewBox="([^"]*)"/.exec(code) as RegExpExecArray)[1]; constant
103 svg.setAttribute("viewBox", viewBox);
/third_party/skia/third_party/externals/harfbuzz/docs/
DHarfBuzz.svg1 <svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 682.667 682.667">
/third_party/libabigail/src/
Dabg-viz-svg.cc61 viewBox="0 0 __width __height" enable-background="new 0 0 __width __height">
/third_party/typescript/doc/
Dlogo.svg1 <svg id="logo-typescript" xmlns="http://www.w3.org/2000/svg" viewBox="-64.9 417 216.5 51.9">
/third_party/python/PC/icons/
Dpy.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dpyc.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dpython.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dpythonw.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dsetup.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dlauncher.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
Dpyd.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity…
/third_party/skia/third_party/externals/expat/expat/doc/
Dok.min.css2viewBox='0 0 12 8' width='24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23747…
/third_party/rust/crates/codespan/codespan-reporting/assets/
Dreadme_preview.svg1 <svg viewBox="0 0 882 335" xmlns="http://www.w3.org/2000/svg">
/third_party/typescript/tests/lib/
Dreact.d.ts2115 viewBox?: string; property
/third_party/python/Doc/library/
Dpathlib-inheritance.svg1 <svg version="1.1" viewBox="0.0 0.0 539.005249343832 319.40944881889766" fill="none" stroke="none" …
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/
Dkatex.min.js1viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),h=Ot(["overlay"],[s],e);return h.h… property

12