Home
last modified time | relevance | path

Searched refs:kFill_ScaleToFit (Results 1 – 25 of 32) sorted by relevance

12

/external/skqp/src/gpu/
DSkGpuDevice_drawTexture.cpp110 srcToDst.setRectToRect(srcRect, dstRect, SkMatrix::kFill_ScaleToFit); in draw_texture()
200 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
207 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
215 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
DSkGpuDevice.cpp999 SkMatrix texMatrix = SkMatrix::MakeRectToRect(dstRect, srcRect, SkMatrix::kFill_ScaleToFit); in drawBitmapTile()
1149 if (!srcToDstMatrix.setRectToRect(*src, *dst, SkMatrix::kFill_ScaleToFit)) { in drawBitmapRect()
1395 dst, SkMatrix::kFill_ScaleToFit); in drawImageRect()
/external/skia/docs/examples/
DMatrix_ScaleToFit.cpp14 for (auto fit : { SkMatrix::kFill_ScaleToFit, SkMatrix::kStart_ScaleToFit,
/external/skqp/samplecode/
DSampleCamera.cpp40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in CameraView()
DSampleHT.cpp35 m.setRectToRect(r, gUnitSquare, SkMatrix::kFill_ScaleToFit); in oval_contains()
DSampleLitAtlas.cpp128 diffMat.setRectToRect(fDiffTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
129 normalMat.setRectToRect(fNormTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
/external/skqp/experimental/svg/model/
DSkSVGSVG.cpp32 SkMatrix::MakeRectToRect(viewBox, viewPortRect, SkMatrix::kFill_ScaleToFit)); in onPrepareToRender()
/external/skqp/modules/sksg/samples/
DSampleSVGPong.cpp146 SkMatrix::kFill_ScaleToFit)); in onOnceBeforeDraw()
185 SkMatrix::kFill_ScaleToFit)); in onSizeChange()
/external/skqp/gm/
Dlightingshader.cpp97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dpictureimagegenerator.cpp52 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
Dlightingshader2.cpp78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
Dflippity.cpp73 SkMatrix::kFill_ScaleToFit); in make_text_image()
/external/skqp/tools/viewer/
DStatsLayer.cpp95 SkMatrix::kFill_ScaleToFit)); in onPaint()
/external/skia/include/core/
DSkMatrix.h131 kFill_ScaleToFit, //!< scales in x and y to fill destination SkRect enumerator
152 ScaleToFit mode = kFill_ScaleToFit) {
/external/skqp/tests/
DMatrixTest.cpp126 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
131 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
136 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
143 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
DSerializationTest.cpp601 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
/external/skqp/src/shaders/
DSkPictureShader.cpp236 SkMatrix::kFill_ScaleToFit); in refBitmapShader()
/external/skqp/src/core/
DSkPixmap.cpp215 SkMatrix::kFill_ScaleToFit); in scalePixels()
DSkBitmapDevice.cpp451 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
/external/skqp/tools/
Dsk_tool_utils.cpp189 path.transform(SkMatrix::MakeRectToRect(path.getBounds(), bounds, SkMatrix::kFill_ScaleToFit)); in make_star()
/external/skqp/docs/
DSkMatrix_Reference.bmh1048 SkMatrix::kFill_ScaleToFit);
1892 kFill_ScaleToFit,
1904 #Const kFill_ScaleToFit 0
1936 for (auto fit : { SkMatrix::kFill_ScaleToFit, SkMatrix::kStart_ScaleToFit,
1971 bool success = matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
2006 SkMatrix matrix = SkMatrix::MakeRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
/external/skqp/include/core/
DSkMatrix.h1084 kFill_ScaleToFit, //!< scales in x and y to fill destination SkRect enumerator
/external/skqp/src/svg/
DSkSVGDevice.cpp843 SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
/external/skqp/src/utils/
DSkLua.cpp1208 SkMatrix::ScaleToFit scaleToFit = SkMatrix::kFill_ScaleToFit; in lmatrix_setRectToRect()
1215 { "fill", SkMatrix::kFill_ScaleToFit }, in lmatrix_setRectToRect()
/external/skia/src/core/
DSkMatrix.cpp562 if (align != kFill_ScaleToFit) { in setRectToRect()

12