/external/skia/gm/ |
D | imagemakewithfilter.cpp | 81 SkIRect outSubset; in onDraw() local 84 &outSubset, &offset); in onDraw() 87 result = result->makeSubset(outSubset); in onDraw() 89 show_bounds(canvas, SkIRect::MakeXYWH(offset.x(), offset.y(), outSubset.width(), in onDraw() 90 outSubset.height()), clipBound); in onDraw()
|
/external/skqp/gm/ |
D | imagemakewithfilter.cpp | 81 SkIRect outSubset; in onDraw() local 84 &outSubset, &offset); in onDraw() 87 result = result->makeSubset(outSubset); in onDraw() 89 show_bounds(canvas, SkIRect::MakeXYWH(offset.x(), offset.y(), outSubset.width(), in onDraw() 90 outSubset.height()), clipBound); in onDraw()
|
/external/skqp/src/image/ |
D | SkImage.cpp | 253 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument 257 return this->makeWithFilter(context, filter, subset, clipBounds, outSubset, offset); in makeWithFilter() 262 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument 264 if (!filter || !outSubset || !offset || !this->bounds().contains(subset)) { in makeWithFilter() 284 *outSubset = SkIRect::MakeWH(result->width(), result->height()); in makeWithFilter() 285 if (!outSubset->intersect(clipBounds.makeOffset(-offset->x(), -offset->y()))) { in makeWithFilter() 288 offset->fX += outSubset->x(); in makeWithFilter() 289 offset->fY += outSubset->y(); in makeWithFilter()
|
/external/skia/src/image/ |
D | SkImage.cpp | 259 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument 263 return this->makeWithFilter(context, filter, subset, clipBounds, outSubset, offset); in makeWithFilter() 268 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument 270 if (!filter || !outSubset || !offset || !this->bounds().contains(subset)) { in makeWithFilter() 294 *outSubset = SkIRect::MakeWH(result->width(), result->height()); in makeWithFilter() 295 if (!outSubset->intersect(clipBounds.makeOffset(-offset->x(), -offset->y()))) { in makeWithFilter() 298 offset->fX += outSubset->x(); in makeWithFilter() 299 offset->fY += outSubset->y(); in makeWithFilter()
|
/external/skqp/include/core/ |
D | SkImage.h | 964 const SkIRect& clipBounds, SkIRect* outSubset, 970 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skia/include/core/ |
D | SkImage.h | 982 const SkIRect& clipBounds, SkIRect* outSubset, 988 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skqp/tests/ |
D | ImageFilterTest.cpp | 1709 SkIRect outSubset; in test_make_with_filter() local 1713 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1719 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter() 1723 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1727 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter() 1730 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter() 1734 result = sourceImage->makeWithFilter(filter.get(), subset, leftField, &outSubset, &offset); in test_make_with_filter() 1737 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1740 REPORTER_ASSERT(reporter, result->bounds().contains(outSubset)); in test_make_with_filter() 1742 outSubset.width(), outSubset.height()); in test_make_with_filter() [all …]
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 1707 SkIRect outSubset; in test_make_with_filter() local 1711 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1717 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter() 1721 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1725 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter() 1728 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter() 1732 result = sourceImage->makeWithFilter(filter.get(), subset, leftField, &outSubset, &offset); in test_make_with_filter() 1735 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, &offset); in test_make_with_filter() 1738 REPORTER_ASSERT(reporter, result->bounds().contains(outSubset)); in test_make_with_filter() 1740 outSubset.width(), outSubset.height()); in test_make_with_filter() [all …]
|
/external/skqp/docs/ |
D | SkImage_Reference.bmh | 1577 const SkIRect& clipBounds, SkIRect* outSubset, 1599 SkIRect outSubset; 1603 &outSubset, &offset)); 1610 canvas->drawRect(SkRect::Make(outSubset), paint); 1620 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skia/docs/ |
D | SkImage_Reference.bmh | 1557 const SkIRect& clipBounds, SkIRect* outSubset, 1579 SkIRect outSubset; 1583 &outSubset, &offset)); 1590 canvas->drawRect(SkRect::Make(outSubset), paint); 1600 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skia/site/user/api/ |
D | SkImage_Reference.md | 159 …rence#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset, 2447 …IRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset, <a href='SkIPoi… 2452 …='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a> 2456 …d not be created. If nullptr is returned, <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a> 2461 can be reused with different sized effects. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</… 2476 …<tr> <td><a name='SkImage_makeWithFilter_outSubset'><code><strong>outSubset</strong></code></a>…
|
/external/skqp/site/user/api/ |
D | SkImage_Reference.md | 159 …rence#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset, 2447 …IRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset, <a href='SkIPoi… 2452 …='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a> 2456 …d not be created. If nullptr is returned, <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a> 2461 can be reused with different sized effects. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</… 2476 …<tr> <td><a name='SkImage_makeWithFilter_outSubset'><code><strong>outSubset</strong></code></a>…
|