/third_party/skia/docs/examples/ |
H A D | Matrix_get9.cpp | 7 SkMatrix matrix = SkMatrix::RectToRect({0, 0, 1, 1}, {3, 4, 7, 9}); in REG_FIDDLE()
|
H A D | Matrix_MakeRectToRect.cpp | 11 SkMatrix matrix = SkMatrix::RectToRect(src, dst); in REG_FIDDLE()
|
H A D | RRect_transform.cpp | 12 SkMatrix matrix = SkMatrix::RectToRect(rrect.rect(), {140, 30, 220, 80}, in REG_FIDDLE()
|
H A D | Canvas_concat.cpp | 15 canvas->concat(SkMatrix::RectToRect(rect[0], rect[1])); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | crbug_1113794.cpp | 26 SkMatrix viewBox = SkMatrix::RectToRect(SkRect::MakeWH(100, 100), SkRect::MakeWH(600, 200)); in DEF_SIMPLE_GM()
|
H A D | texelsubset.cpp | 121 textureMatrices.push_back() = SkMatrix::RectToRect(a, b); 125 textureMatrices.push_back() = SkMatrix::RectToRect(a, b);
|
H A D | animated_image_orientation.cpp | 116 auto matrix = SkMatrix::RectToRect(SkRect::Make(unscaledSize),
|
H A D | imagefilterstransformed.cpp | 329 SkM44 m2 = SkM44::RectToRect({-1.f, -1.f, 1.f, 1.f}, imageRect) * in DEF_SIMPLE_GM() 333 SkM44::RectToRect(imageRect, {-1.f, -1.f, 1.f, 1.f}); in DEF_SIMPLE_GM()
|
H A D | image_shader.cpp | 176 SkMatrix mx = SkMatrix::RectToRect(src, dst); in DEF_SIMPLE_GM()
|
H A D | colorfilters.cpp | 94 const auto lm = SkMatrix::RectToRect(SkRect::MakeWH(mandrill->width(), mandrill->height()),
|
H A D | lazytiling.cpp | 229 SkMatrix texMatrix = SkMatrix::RectToRect(contentRect, SkRect::Make(fContentRect));
|
H A D | flippity.cpp | 95 const SkMatrix mat = SkMatrix::RectToRect(bounds, SkRect::MakeWH(kLabelSize, kLabelSize)); in make_text_image()
|
H A D | trickycubicstrokes.cpp | 150 matrix = SkMatrix::RectToRect(strokeBounds, cellRect, SkMatrix::kCenter_ScaleToFit); in draw_test()
|
/third_party/skia/samplecode/ |
H A D | SampleCamera.cpp | 40 SkMatrix::RectToRect(src, dst)));
|
H A D | SampleStrokePath.cpp | 38 canvas->concat(SkMatrix::RectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit)); in test_huge_stroke()
|
H A D | SampleXfer.cpp | 266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C);
|
/third_party/skia/tools/viewer/ |
H A D | SkRiveSlide.cpp | 60 canvas->concat(SkMatrix::RectToRect(fRiveBounds, SkRect::MakeSize(fWinSize), in draw()
|
H A D | SlideDir.cpp | 111 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()
|
H A D | StatsLayer.cpp | 101 canvas->concat(SkMatrix::RectToRect(SkRect::Make(canvasSize), in onPaint()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrRect.h | 96 SkMatrix::RectToRect(inRect, outRect).mapPoints(outPts, inPts, ptCount); in GrMapRectPoints()
|
/third_party/skia/src/gpu/ |
H A D | SurfaceFillContext.h | 67 SkMatrix lm = SkMatrix::RectToRect(SkRect::Make(dstRect), srcRect); in fillRectToRectWithFP()
|
/third_party/skia/modules/skottie/src/layers/ |
H A D | FootageLayer.cpp | 25 return frame_data.matrix * SkMatrix::RectToRect(SkRect::Make(frame_data.image->bounds()), in image_matrix()
|
/third_party/skia/tests/ |
H A D | GrQuadCropTest.cpp | 210 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f)); in test_axis_aligned() 227 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f)); in test_crop_fully_covered()
|
/third_party/skia/modules/sksg/samples/ |
H A D | SampleSVGPong.cpp | 147 SkMatrix::RectToRect(SkRect::MakeWH(1, 1), 177 fContentMatrix->setMatrix(SkMatrix::RectToRect(SkRect::MakeWH(1, 1),
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | MotionTileEffect.cpp | 82 const auto layerShaderMatrix = SkMatrix::RectToRect(
|