Home
last modified time | relevance | path

Searched refs:getTotalMatrix (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/tests/
DShadowTest.cpp65 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDo_ExpectVerts, true); in DEF_TEST()
67 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4.0e+37f}, in DEF_TEST()
73 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
80 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
89 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, true); in DEF_TEST()
115 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
122 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
DCanvasTest.cpp289 REPORTER_ASSERT(r, c->getTotalMatrix().isIdentity()); in __anon712ff1b50d02()
481 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
486 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
694 const SkMatrix preCTM = canvas.getTotalMatrix(); in DEF_TEST()
696 const SkMatrix postCTM = canvas.getTotalMatrix(); in DEF_TEST()
DPictureTest.cpp198 SkMatrix beforeMatrix = canvas.getTotalMatrix(); in check_balance()
205 REPORTER_ASSERT(reporter, beforeMatrix == canvas.getTotalMatrix()); in check_balance()
314 REPORTER_ASSERT(reporter, testCanvas.getTotalMatrix().isIdentity()); in test_unbalanced_save_restores()
/third_party/skia/modules/sksg/src/
DSkSGRenderEffect.cpp29 .modulateMaskShader(fShader, canvas->getTotalMatrix()); in onRender()
74 .modulateShader(fShader ? fShader->getShader() : nullptr, canvas->getTotalMatrix()); in onRender()
133 canvas->getTotalMatrix(), in onRender()
243 canvas->getTotalMatrix(), in onRender()
249 ctx->modulatePaint(canvas->getTotalMatrix(), &layer_paint); in onRender()
DSkSGImage.cpp31 local_ctx.setIsolation(this->bounds(), canvas->getTotalMatrix(), true); in onRender()
33 local_ctx->modulatePaint(canvas->getTotalMatrix(), &paint); in onRender()
DSkSGDraw.cpp34 ctx->modulatePaint(canvas->getTotalMatrix(), &paint); in onRender()
DSkSGMaskEffect.cpp52 ctx->modulatePaint(canvas->getTotalMatrix(), &mask_layer_paint); in onRender()
DSkSGGroup.cpp63 canvas->getTotalMatrix(), in onRender()
/third_party/skia/gm/
Dtessellation.cpp405 sdc->addDrawOp(GrOp::Make<TessellationTestOp>(rContext, canvas->getTotalMatrix(), kTri1)); in onDraw()
406 sdc->addDrawOp(GrOp::Make<TessellationTestOp>(rContext, canvas->getTotalMatrix(), kTri2)); in onDraw()
407 sdc->addDrawOp(GrOp::Make<TessellationTestOp>(rContext, canvas->getTotalMatrix(), nullptr)); in onDraw()
Dshadowutils.cpp85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
213 SkMatrix invCanvasM = canvas->getTotalMatrix(); in draw_paths()
Dtextblobmixedsizes.cpp121 canvas->setMatrix(inputCanvas->getTotalMatrix()); in onDraw()
Dfwidth_squircle.cpp285 sdc->addDrawOp(FwidthSquircleTestOp::Make(rContext, canvas->getTotalMatrix()));
Ddrawquadset.cpp86 SkMatrix view = canvas->getTotalMatrix(); in draw_gradient_tiles()
/third_party/skia/docs/examples/
DCanvas_getTotalMatrix.cpp7 SkDebugf("isIdentity %s\n", canvas->getTotalMatrix().isIdentity() ? "true" : "false"); in draw()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js855 this._currentTransform = this._canvas.getTotalMatrix();
891 this._currentTransform = this._canvas.getTotalMatrix();
903 this._currentTransform = this._canvas.getTotalMatrix();
951 this._currentTransform = this._canvas.getTotalMatrix();
1105 this._currentTransform = this._canvas.getTotalMatrix();
1117 this._currentTransform = this._canvas.getTotalMatrix();
/third_party/skia/modules/skottie/src/effects/
DMotionBlurEffect.cpp118 this->seekToSample(i, canvas->getTotalMatrix()); in renderToRaster8888Pow2Samples()
236 this->seekToSample(i, canvas->getTotalMatrix()); in onRender()
DRadialWipeEffect.cpp98 .modulateMaskShader(fMaskShader, canvas->getTotalMatrix()); in onRender()
DSkSLEffect.cpp35 .setIsolation(bounds, canvas->getTotalMatrix(), true); in onRender()
DBuldgeEffect.cpp138 .setIsolation(bounds, canvas->getTotalMatrix(), true); in onRender()
/third_party/skia/src/core/
DSkOverdrawCanvas.cpp69 fPainter.drawForBitmapDevice(glyphRunList, paint, fOverdrawCanvas->getTotalMatrix(), this); in onDrawGlyphRunList()
210 SkDrawShadowMetrics::GetLocalBounds(path, rec, this->getTotalMatrix(), &bounds); in onDrawShadowRec()
/third_party/skia/samplecode/
DSamplePathTessellators.cpp245 fPath, canvas->getTotalMatrix(), in onDrawContent()
253 devPath.transform(canvas->getTotalMatrix()); in onDrawContent()
DSampleShadowUtils.cpp235 SkMatrix invCanvasM = canvas->getTotalMatrix(); in onDrawContent()
/third_party/skia/modules/canvaskit/tests/
Dcanvas.spec.js756 let matr = canvas.getTotalMatrix();
771 matr = canvas.getTotalMatrix();
790 let matr = canvas.getTotalMatrix();
804 matr = canvas.getTotalMatrix();
/third_party/skia/modules/skottie/src/layers/
DPrecompLayer.cpp124 canvas->getTotalMatrix(), in attachExternalPrecompLayer()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp90 canvas->getTotalMatrix(), in onRender()

12