Home
last modified time | relevance | path

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

123

/third_party/skia/docs/examples/
H A DMatrix_get9.cpp7 SkMatrix matrix = SkMatrix::RectToRect({0, 0, 1, 1}, {3, 4, 7, 9}); in REG_FIDDLE()
H A DMatrix_MakeRectToRect.cpp11 SkMatrix matrix = SkMatrix::RectToRect(src, dst); in REG_FIDDLE()
H A DRRect_transform.cpp12 SkMatrix matrix = SkMatrix::RectToRect(rrect.rect(), {140, 30, 220, 80}, in REG_FIDDLE()
H A DCanvas_concat.cpp15 canvas->concat(SkMatrix::RectToRect(rect[0], rect[1])); in REG_FIDDLE()
/third_party/skia/gm/
H A Dcrbug_1113794.cpp26 SkMatrix viewBox = SkMatrix::RectToRect(SkRect::MakeWH(100, 100), SkRect::MakeWH(600, 200)); in DEF_SIMPLE_GM()
H A Dtexelsubset.cpp121 textureMatrices.push_back() = SkMatrix::RectToRect(a, b);
125 textureMatrices.push_back() = SkMatrix::RectToRect(a, b);
H A Danimated_image_orientation.cpp116 auto matrix = SkMatrix::RectToRect(SkRect::Make(unscaledSize),
H A Dimagefilterstransformed.cpp329 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 Dimage_shader.cpp176 SkMatrix mx = SkMatrix::RectToRect(src, dst); in DEF_SIMPLE_GM()
H A Dcolorfilters.cpp94 const auto lm = SkMatrix::RectToRect(SkRect::MakeWH(mandrill->width(), mandrill->height()),
H A Dlazytiling.cpp229 SkMatrix texMatrix = SkMatrix::RectToRect(contentRect, SkRect::Make(fContentRect));
H A Dflippity.cpp95 const SkMatrix mat = SkMatrix::RectToRect(bounds, SkRect::MakeWH(kLabelSize, kLabelSize)); in make_text_image()
H A Dtrickycubicstrokes.cpp150 matrix = SkMatrix::RectToRect(strokeBounds, cellRect, SkMatrix::kCenter_ScaleToFit); in draw_test()
/third_party/skia/samplecode/
H A DSampleCamera.cpp40 SkMatrix::RectToRect(src, dst)));
H A DSampleStrokePath.cpp38 canvas->concat(SkMatrix::RectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit)); in test_huge_stroke()
H A DSampleXfer.cpp266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C);
/third_party/skia/tools/viewer/
H A DSkRiveSlide.cpp60 canvas->concat(SkMatrix::RectToRect(fRiveBounds, SkRect::MakeSize(fWinSize), in draw()
H A 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()
H A DStatsLayer.cpp101 canvas->concat(SkMatrix::RectToRect(SkRect::Make(canvasSize), in onPaint()
/third_party/skia/src/gpu/geometry/
H A DGrRect.h96 SkMatrix::RectToRect(inRect, outRect).mapPoints(outPts, inPts, ptCount); in GrMapRectPoints()
/third_party/skia/src/gpu/
H A DSurfaceFillContext.h67 SkMatrix lm = SkMatrix::RectToRect(SkRect::Make(dstRect), srcRect); in fillRectToRectWithFP()
/third_party/skia/modules/skottie/src/layers/
H A DFootageLayer.cpp25 return frame_data.matrix * SkMatrix::RectToRect(SkRect::Make(frame_data.image->bounds()), in image_matrix()
/third_party/skia/tests/
H A DGrQuadCropTest.cpp210 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 DSampleSVGPong.cpp147 SkMatrix::RectToRect(SkRect::MakeWH(1, 1),
177 fContentMatrix->setMatrix(SkMatrix::RectToRect(SkRect::MakeWH(1, 1),
/third_party/skia/modules/skottie/src/effects/
H A DMotionTileEffect.cpp82 const auto layerShaderMatrix = SkMatrix::RectToRect(

Completed in 11 milliseconds

123