/external/skia/docs/examples/ |
D | Matrix_preConcat.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw() 11 matrix2.setPolyToPoly(perspect, bitmapBounds, 4); in draw()
|
D | Matrix_setConcat.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw() 11 matrix2.setPolyToPoly(perspect, bitmapBounds, 4); in draw()
|
D | Matrix_Concat.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw() 11 matrix2.setPolyToPoly(perspect, bitmapBounds, 4); in draw()
|
D | Matrix_preRotate_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postScale_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_preScale_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postRotate_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postSkew_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_preSkew_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_063.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postConcat.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postSkew.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postRotate.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_preSkew.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_preRotate.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_postScale.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_preScale.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; in draw() local 9 SkRect::Make(image->bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_mapXY_2.cpp | 8 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {30, 206}}; in draw() local 9 SkRect::Make(source.bounds()).toQuad(bitmapBounds); in draw() 10 matrix.setPolyToPoly(bitmapBounds, perspect, 4); in draw()
|
D | Matrix_hasPerspective.cpp | 9 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; 10 SkRect::Make(source.bounds()).toQuad(bitmapBounds); 11 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 333 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; 334 SkRect::Make(source.bounds()).toQuad(bitmapBounds); 335 matrix.setPolyToPoly(bitmapBounds, perspect, 4); 1429 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; 1430 SkRect::Make(source.bounds()).toQuad(bitmapBounds); 1431 matrix.setPolyToPoly(bitmapBounds, perspect, 4); 1432 matrix2.setPolyToPoly(perspect, bitmapBounds, 4); 1489 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}}; 1490 SkRect::Make(source.bounds()).toQuad(bitmapBounds); 1491 matrix.setPolyToPoly(bitmapBounds, perspect, 4); [all …]
|
/external/skqp/gm/ |
D | lightingshader.cpp | 94 SkRect bitmapBounds = SkRect::MakeIWH(fDiffuse.width(), fDiffuse.height()); in drawRect() local 97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
|
D | lightingshader2.cpp | 77 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local 78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
|
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 438 SkRect bitmapBounds, tmpSrc, tmpDst; in drawImageRect() local 441 bitmapBounds.setIWH(bitmap.width(), bitmap.height()); in drawImageRect() 447 tmpSrc = bitmapBounds; in drawImageRect() 457 if (!bitmapBounds.contains(*src)) { in drawImageRect() 458 if (!tmpSrc.intersect(bitmapBounds)) { in drawImageRect() 470 if (src && !src->contains(bitmapBounds) && in drawImageRect()
|
/external/skqp/src/core/ |
D | SkBitmapDevice.cpp | 440 SkRect bitmapBounds, tmpSrc, tmpDst; in drawBitmapRect() local 443 bitmapBounds.isetWH(bitmap.width(), bitmap.height()); in drawBitmapRect() 449 tmpSrc = bitmapBounds; in drawBitmapRect() 461 if (!bitmapBounds.contains(*src)) { in drawBitmapRect() 462 if (!tmpSrc.intersect(bitmapBounds)) { in drawBitmapRect() 474 if (src && !src->contains(bitmapBounds) && in drawBitmapRect()
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 93 SkRect bitmapBounds = SkRect::MakeSize(SkSize::Make(image->dimensions())); in make_image_shader() local 100 deviceBounds.join(bitmapBounds); in make_image_shader()
|