Searched refs:viewPort (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/modules/svg/src/ |
D | SkSVGImage.cpp | 59 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()
|
D | SkSVGSVG.cpp | 20 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()
|
D | SkSVGNode.cpp | 133 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/ |
D | lottie-web-perf.js | 123 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/ |
D | skottie-wasm-perf.js | 123 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/ |
D | perf-canvaskit-with-puppeteer.js | 197 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/ |
D | run-wasm-gm-tests.js | 200 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/ |
D | SkSVGRenderContext.h | 39 const SkSize& viewPort() const { return fViewport; } in viewPort() function
|