Home
last modified time | relevance | path

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

12

/external/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.cpp98 SkSVGViewBoxType viewBox; in SetViewBoxAttribute() local
100 if (!parser.parseViewBox(&viewBox)) { in SetViewBoxAttribute()
104 node->setAttribute(attr, SkSVGViewBoxValue(viewBox)); in SetViewBoxAttribute()
/external/skqp/experimental/svg/model/
DSkSVGSVG.cpp21 const SkRect& viewBox = *fViewBox.get(); in onPrepareToRender() local
24 if (viewBox.isEmpty()) { in onPrepareToRender()
29 viewPort = SkSize::Make(viewBox.width(), viewBox.height()); in onPrepareToRender()
32 SkMatrix::MakeRectToRect(viewBox, viewPortRect, SkMatrix::kFill_ScaleToFit)); in onPrepareToRender()
DSkSVGDOM.cpp136 SkSVGViewBoxType viewBox; in SetViewBoxAttribute() local
138 if (!parser.parseViewBox(&viewBox)) { in SetViewBoxAttribute()
142 node->setAttribute(attr, SkSVGViewBoxValue(viewBox)); in SetViewBoxAttribute()
/external/rust/cxx/book/src/
Doverview.svg39 …<marker id="arrow" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient="…
42 …<marker id="diamond" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient…
45 …<marker id="circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orient="a…
48 …<marker id="open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orie…
51 …<marker id="big_open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" …
/external/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()
/external/rust/cxx/book/diagram/
Doverview.svg74 …<marker id="arrow" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient="…
77 …<marker id="diamond" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient…
80 …<marker id="circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orient="a…
83 …<marker id="open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orie…
86 …<marker id="big_open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" …
/external/mesa3d/docs/
Dfavicon.svg1 <svg xmlns="http://www.w3.org/2000/svg" version="1.2" viewBox="0 0 12.8 12.9">
/external/skia/demos.skia.org/demos/path_performance/
Dgarbage.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
/external/skqp/gm/
Dpictureimagegenerator.cpp22 static void draw_vector_logo(SkCanvas* canvas, const SkRect& viewBox) { in draw_vector_logo() argument
52 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
/external/libabigail/src/
Dabg-viz-svg.cc61 viewBox="0 0 __width __height" enable-background="new 0 0 __width __height">
/external/python/cpython3/PC/icons/
Dpy.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…
Dpythonw.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…
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…
/external/llvm-project/clang-tools-extra/clang-doc/assets/
Dclang-doc-default-stylesheet.css557 …+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path…
565 …+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path…
763 …+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path…
/external/rust/crates/quiche/
Dquiche.svg1 …="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 2469 414"><d…
/external/ImageMagick/www/assets/
Dmagick.css6viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoi…
/external/skqp/site/dev/tools/
Dmarkdown.md141 <svg viewBox="0 0 24 24" height="24px" width="24px" style="display: inline;">

12