Home
last modified time | relevance | path

Searched refs:RectToRect (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/docs/examples/
DMatrix_get9.cpp7 SkMatrix matrix = SkMatrix::RectToRect({0, 0, 1, 1}, {3, 4, 7, 9}); in draw()
DMatrix_MakeRectToRect.cpp11 SkMatrix matrix = SkMatrix::RectToRect(src, dst); in draw()
DCanvas_concat.cpp15 canvas->concat(SkMatrix::RectToRect(rect[0], rect[1])); in draw()
DRRect_transform.cpp12 SkMatrix matrix = SkMatrix::RectToRect(rrect.rect(), {140, 30, 220, 80},
/external/skia/gm/
Dcrbug_1113794.cpp26 SkMatrix viewBox = SkMatrix::RectToRect(SkRect::MakeWH(100, 100), SkRect::MakeWH(600, 200));
Dtexelsubset.cpp114 textureMatrices.push_back() = SkMatrix::RectToRect(a, b); in onDraw()
118 textureMatrices.push_back() = SkMatrix::RectToRect(a, b); in onDraw()
Danimated_image_orientation.cpp116 auto matrix = SkMatrix::RectToRect(SkRect::Make(unscaledSize), in onDraw()
Dcolorfilters.cpp94 const auto lm = SkMatrix::RectToRect(SkRect::MakeWH(mandrill->width(), mandrill->height()), in onOnceBeforeDraw()
Dimage_shader.cpp176 SkMatrix mx = SkMatrix::RectToRect(src, dst);
Dpictureimagegenerator.cpp71 canvas->concat(SkMatrix::RectToRect(skiaBox, viewBox)); in draw_vector_logo()
Dtrickycubicstrokes.cpp148 matrix = SkMatrix::RectToRect(strokeBounds, cellRect, SkMatrix::kCenter_ScaleToFit); in draw_test()
Dcompositor_quads.cpp742 SkMatrix gridToImage = SkMatrix::RectToRect(SkRect::MakeWH(kColCount * kTileWidth, in drawTile()
829 SkMatrix local = SkMatrix::RectToRect(kTarget, rect); in configureTilePaint()
927 SkMatrix gridToImage = SkMatrix::RectToRect(SkRect::MakeWH(kColCount * kTileWidth, in drawTile()
Dflippity.cpp97 const SkMatrix mat = SkMatrix::RectToRect(bounds, SkRect::MakeWH(kLabelSize, kLabelSize)); in make_text_image()
/external/skia/samplecode/
DSampleCamera.cpp40 SkMatrix::RectToRect(src, dst))); in onOnceBeforeDraw()
DSampleStrokePath.cpp38 canvas->concat(SkMatrix::RectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit)); in test_huge_stroke()
/external/skia/tools/viewer/
DSkRiveSlide.cpp60 canvas->concat(SkMatrix::RectToRect(fRiveBounds, SkRect::MakeSize(fWinSize), in draw()
DSlideDir.cpp111 return SkMatrix::RectToRect(SkRect::MakeIWH(slideSize.width(), slideSize.height()), dst, in SlideMatrix()
182 const auto xform = SkMatrix::RectToRect(fRect, SkRect::MakeSize(fDir->fWinSize), in onMouse()
DStatsLayer.cpp101 canvas->concat(SkMatrix::RectToRect(SkRect::Make(canvasSize), in onPaint()
/external/skia/modules/sksg/samples/
DSampleSVGPong.cpp147 SkMatrix::RectToRect(SkRect::MakeWH(1, 1), in onOnceBeforeDraw()
177 fContentMatrix->setMatrix(SkMatrix::RectToRect(SkRect::MakeWH(1, 1), in onSizeChange()
/external/skia/tests/
DGrQuadCropTest.cpp198 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f)); in test_axis_aligned()
215 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f)); in test_crop_fully_covered()
DMatrixTest.cpp136 matrix = SkMatrix::RectToRect(src, dst); in test_matrix_recttorect()
141 matrix = SkMatrix::RectToRect(src, dst); in test_matrix_recttorect()
146 matrix = SkMatrix::RectToRect(src, dst); in test_matrix_recttorect()
153 matrix = SkMatrix::RectToRect(src, dst); in test_matrix_recttorect()
/external/skia/modules/skottie/src/layers/
DFootageLayer.cpp25 return frame_data.matrix * SkMatrix::RectToRect(SkRect::Make(frame_data.image->bounds()), in image_matrix()
/external/skia/src/gpu/geometry/
DGrRect.h96 SkMatrix::RectToRect(inRect, outRect).mapPoints(outPts, inPts, ptCount); in GrMapRectPoints()
/external/skia/src/gpu/
DGrSurfaceFillContext.h160 SkMatrix lm = SkMatrix::RectToRect(SkRect::Make(dstRect), srcRect); in fillRectToRectWithFP()
/external/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp82 const auto layerShaderMatrix = SkMatrix::RectToRect( in onRevalidate()

123