Home
last modified time | relevance | path

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

/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/skia/docs/
DSkMatrix_Reference.bmh332 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
333 SkRect::Make(source.bounds()).toQuad(bitmapBounds);
334 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
1411 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
1412 SkRect::Make(source.bounds()).toQuad(bitmapBounds);
1413 matrix.setPolyToPoly(bitmapBounds, perspect, 4);
1414 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
1471 SkPoint bitmapBounds[4], perspect[4] = {{50, 10}, {180, 40}, {236, 176}, {10, 206}};
1472 SkRect::Make(source.bounds()).toQuad(bitmapBounds);
1473 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/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.cpp426 SkRect bitmapBounds, tmpSrc, tmpDst; in drawBitmapRect() local
429 bitmapBounds.isetWH(bitmap.width(), bitmap.height()); in drawBitmapRect()
435 tmpSrc = bitmapBounds; in drawBitmapRect()
447 if (!bitmapBounds.contains(*src)) { in drawBitmapRect()
448 if (!tmpSrc.intersect(bitmapBounds)) { in drawBitmapRect()
460 if (src && !src->contains(bitmapBounds) && in drawBitmapRect()
/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/skqp/src/pdf/
DSkPDFShader.cpp58 SkRect bitmapBounds = SkRect::Make(image->bounds()); in make_image_shader() local
69 deviceBounds.join(bitmapBounds); in make_image_shader()
/external/skia/src/pdf/
DSkPDFShader.cpp58 SkRect bitmapBounds = SkRect::Make(image->bounds()); in make_image_shader() local
69 deviceBounds.join(bitmapBounds); in make_image_shader()
/external/skia/tests/
DSerializationTest.cpp597 SkRect bitmapBounds = SkRect::MakeIWH(diffuse.width(), diffuse.height()); in DEF_TEST() local
601 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
/external/skqp/tests/
DSerializationTest.cpp597 SkRect bitmapBounds = SkRect::MakeIWH(diffuse.width(), diffuse.height()); in DEF_TEST() local
601 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
/external/skia/src/xps/
DSkXPSDevice.cpp2075 SkRect bitmapBounds = SkRect::Make(bitmap.bounds()); in drawBitmapRect() local
2076 SkRect srcBounds = src ? *src : bitmapBounds; in drawBitmapRect()
2079 if (!src || bitmapBounds.contains(*src)) { in drawBitmapRect()
2082 if (!srcBounds.intersect(bitmapBounds)) { in drawBitmapRect()
/external/skqp/src/xps/
DSkXPSDevice.cpp2149 SkRect bitmapBounds = SkRect::Make(bitmap.bounds()); in drawBitmapRect() local
2150 SkRect srcBounds = src ? *src : bitmapBounds; in drawBitmapRect()
2153 if (!src || bitmapBounds.contains(*src)) { in drawBitmapRect()
2156 if (!srcBounds.intersect(bitmapBounds)) { in drawBitmapRect()