/external/skqp/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 110 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()
|
D | SkGpuDevice.cpp | 999 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/ |
D | Matrix_ScaleToFit.cpp | 14 for (auto fit : { SkMatrix::kFill_ScaleToFit, SkMatrix::kStart_ScaleToFit,
|
/external/skqp/samplecode/ |
D | SampleCamera.cpp | 40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in CameraView()
|
D | SampleHT.cpp | 35 m.setRectToRect(r, gUnitSquare, SkMatrix::kFill_ScaleToFit); in oval_contains()
|
D | SampleLitAtlas.cpp | 128 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/ |
D | SkSVGSVG.cpp | 32 SkMatrix::MakeRectToRect(viewBox, viewPortRect, SkMatrix::kFill_ScaleToFit)); in onPrepareToRender()
|
/external/skqp/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 146 SkMatrix::kFill_ScaleToFit)); in onOnceBeforeDraw() 185 SkMatrix::kFill_ScaleToFit)); in onSizeChange()
|
/external/skqp/gm/ |
D | lightingshader.cpp | 97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
|
D | pictureimagegenerator.cpp | 52 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
|
D | lightingshader2.cpp | 78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
|
D | flippity.cpp | 73 SkMatrix::kFill_ScaleToFit); in make_text_image()
|
/external/skqp/tools/viewer/ |
D | StatsLayer.cpp | 95 SkMatrix::kFill_ScaleToFit)); in onPaint()
|
/external/skia/include/core/ |
D | SkMatrix.h | 131 kFill_ScaleToFit, //!< scales in x and y to fill destination SkRect enumerator 152 ScaleToFit mode = kFill_ScaleToFit) {
|
/external/skqp/tests/ |
D | MatrixTest.cpp | 126 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()
|
D | SerializationTest.cpp | 601 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 236 SkMatrix::kFill_ScaleToFit); in refBitmapShader()
|
/external/skqp/src/core/ |
D | SkPixmap.cpp | 215 SkMatrix::kFill_ScaleToFit); in scalePixels()
|
D | SkBitmapDevice.cpp | 451 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
|
/external/skqp/tools/ |
D | sk_tool_utils.cpp | 189 path.transform(SkMatrix::MakeRectToRect(path.getBounds(), bounds, SkMatrix::kFill_ScaleToFit)); in make_star()
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 1048 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/ |
D | SkMatrix.h | 1084 kFill_ScaleToFit, //!< scales in x and y to fill destination SkRect enumerator
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 843 SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 1208 SkMatrix::ScaleToFit scaleToFit = SkMatrix::kFill_ScaleToFit; in lmatrix_setRectToRect() 1215 { "fill", SkMatrix::kFill_ScaleToFit }, in lmatrix_setRectToRect()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 562 if (align != kFill_ScaleToFit) { in setRectToRect()
|