Home
last modified time | relevance | path

Searched refs:viewPort (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/modules/svg/src/
DSkSVGImage.cpp59 const SkRect& viewPort, in LoadImage() argument
73 const SkMatrix m = ComputeViewboxMatrix(viewBox, viewPort, par); in LoadImage()
74 const SkRect dst = m.mapRect(viewBox).makeOffset(viewPort.fLeft, viewPort.fTop); in LoadImage()
82 const SkRect viewPort = lctx.resolveRect(fX, fY, fWidth, fHeight); in onRender() local
84 const auto imgInfo = LoadImage(ctx.resourceProvider(), fHref, viewPort, fPreserveAspectRatio); in onRender()
DSkSVGSVG.cpp20 auto viewPort = SkSize::Make(viewPortRect.width(), viewPortRect.height()); in onPrepareToRender() local
31 viewPort = SkSize::Make(viewBox.width(), viewBox.height()); in onPrepareToRender()
41 if (viewPort != ctx->lengthContext().viewPort()) { in onPrepareToRender()
42 ctx->writableLengthContext()->setViewPort(viewPort); in onPrepareToRender()
DSkSVGNode.cpp133 const SkRect& viewPort, in ComputeViewboxMatrix() argument
136 SkASSERT(!viewPort.isEmpty()); in ComputeViewboxMatrix()
139 const auto sx = viewPort.width() / viewBox.width(), in ComputeViewboxMatrix()
140 sy = viewPort.height() / viewBox.height(); in ComputeViewboxMatrix()
169 dx = viewPort.width() - viewBox.width() * scale.x, in ComputeViewboxMatrix()
170 dy = viewPort.height() - viewBox.height() * scale.y; in ComputeViewboxMatrix()
/third_party/skia/tools/lottie-web-perf/
Dlottie-web-perf.js123 const viewPort = {width: 1000, height: 1000}; variable
134 '--window-size=' + viewPort.width + ',' + viewPort.height,
145 await page.setViewport(viewPort);
/third_party/skia/tools/skottie-wasm-perf/
Dskottie-wasm-perf.js123 const viewPort = {width: 1000, height: 1000}; variable
134 '--window-size=' + viewPort.width + ',' + viewPort.height,
145 await page.setViewport(viewPort);
/third_party/skia/tools/perf-canvaskit-puppeteer/
Dperf-canvaskit-with-puppeteer.js197 const viewPort = {width: 1000, height: 1000}; variable
208 '--window-size=' + viewPort.width + ',' + viewPort.height,
231 await page.setViewport(viewPort);
/third_party/skia/tools/run-wasm-gm-tests/
Drun-wasm-gm-tests.js200 const viewPort = {width: 1000, height: 1000}; variable
208 '--window-size=' + viewPort.width + ',' + viewPort.height,
234 await page.setViewport(viewPort);
/third_party/skia/modules/svg/include/
DSkSVGRenderContext.h39 const SkSize& viewPort() const { return fViewport; } in viewPort() function