Home
last modified time | relevance | path

Searched refs:bitmapBounds (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/docs/examples/
DMatrix_preConcat.cpp8 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()
DMatrix_setConcat.cpp8 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()
DMatrix_Concat.cpp8 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()
DMatrix_preRotate_2.cpp8 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()
DMatrix_postScale_2.cpp8 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()
DMatrix_preScale_2.cpp8 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()
DMatrix_postRotate_2.cpp8 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()
DMatrix_postSkew_2.cpp8 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()
DMatrix_preSkew_2.cpp8 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()
DMatrix_063.cpp8 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()
DMatrix_postConcat.cpp8 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()
DMatrix_postSkew.cpp8 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()
DMatrix_postRotate.cpp8 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()
DMatrix_preSkew.cpp8 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()
DMatrix_preRotate.cpp8 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()
DMatrix_postScale.cpp8 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()
DMatrix_preScale.cpp8 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()
DMatrix_mapXY_2.cpp8 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()
DMatrix_hasPerspective.cpp9 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/
DSkMatrix_Reference.bmh333 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/
Dlightingshader.cpp94 SkRect bitmapBounds = SkRect::MakeIWH(fDiffuse.width(), fDiffuse.height()); in drawRect() local
97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dlightingshader2.cpp77 SkRect bitmapBounds = SkRect::MakeIWH(kTexSize, kTexSize); in onOnceBeforeDraw() local
78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
/external/skia/src/core/
DSkBitmapDevice.cpp438 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/
DSkBitmapDevice.cpp440 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/
DSkPDFShader.cpp93 SkRect bitmapBounds = SkRect::MakeSize(SkSize::Make(image->dimensions())); in make_image_shader() local
100 deviceBounds.join(bitmapBounds); in make_image_shader()

12