Searched refs:fBounds (Results 1 - 25 of 126) sorted by relevance

123456

/external/skia/include/core/
H A DSkMask.h35 SkIRect fBounds; member in struct:SkMask
41 bool isEmpty() const { return fBounds.isEmpty(); }
57 x,y are in the same coordiate space as fBounds.
61 SkASSERT(fBounds.contains(x, y));
63 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
68 x,y are in the same coordiate space as fBounds.
72 SkASSERT(fBounds.contains(x, y));
74 return fImage + x - fBounds.fLeft + (y - fBounds
[all...]
H A DSkRegion.h85 const SkIRect& getBounds() const { return fBounds; }
196 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
200 /* fBounds.contains(left, top, right, bottom); */
201 fBounds.fLeft <= left && fBounds.fTop <= top &&
202 fBounds.fRight >= right && fBounds.fBottom >= bottom;
212 !SkIRect::Intersects(fBounds, rect);
222 !SkIRect::Intersects(fBounds, rgn.fBounds);
420 SkIRect fBounds; member in class:SkRegion
[all...]
/external/skia/src/core/
H A DSkMaskFilter.cpp41 SkASSERT(src.fBounds.contains(dst->fBounds));
43 const int dx = dst->fBounds.left() - src.fBounds.left();
44 const int dy = dst->fBounds.top() - src.fBounds.top();
67 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
68 for (int x = mask.fBounds.left(); x < mask.fBounds
[all...]
H A DSkRecordedDrawable.h22 , fBounds(bounds)
32 SkRect onGetBounds() override { return fBounds; }
42 const SkRect fBounds; member in class:SkRecordedDrawable
H A DSkMask.cpp26 return safeMul32(fBounds.height(), fRowBytes);
81 SkASSERT(fBounds.contains(x, y));
85 addr += (y - fBounds.fTop) * fRowBytes;
86 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
H A DSkRecordedDrawable.cpp40 return new SkBigPicture(fBounds, SkRef(fRecord.get()), pictList, SkSafeRef(fBBH.get()),
46 buffer.writeRect(fBounds);
50 SkPictureRecord pictureRecord(SkISize::Make(fBounds.width(), fBounds.height()), 0);
54 if (pictureRecord.getLocalClipBounds().contains(fBounds)) {
H A DSkRegion.cpp72 fBounds.set(0, 0, 0, 0);
122 SkTSwap<SkIRect>(fBounds, other.fBounds);
137 fBounds.set(0, 0, 0, 0);
148 fBounds.set(left, top, right, bottom);
161 fBounds = src.fBounds;
223 *itop = fBounds.fTop;
224 *ibot = fBounds.fBottom;
278 if (SkRegion::RunsAreARect(runs, count, &fBounds)) {
[all...]
H A DSkRTree.cpp15 return fRoot.fBounds;
34 b->fBounds = bounds;
46 fRoot.fBounds = branches[0].fBounds;
148 b.fBounds = (*branches)[currentBranch].fBounds;
152 b.fBounds.join((*branches)[currentBranch].fBounds);
166 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) {
173 if (SkRect::Intersects(node->fChildren[i].fBounds, quer
[all...]
H A DSkAAClip.cpp137 fTop = fBottom = clip.fBounds.fBottom;
150 fTop = clip.fBounds.fTop;
151 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1;
191 SkASSERT(fBounds.isEmpty());
194 SkASSERT(!fBounds.isEmpty());
202 const int lastY = fBounds.height() - 1;
214 size_t rowLength = compute_row_length(row, fBounds.width());
248 const int width = fBounds.width();
250 int y = fBounds.fTop;
445 const int width = fBounds
947 SkIRect fBounds; member in class:SkAAClip::Builder
[all...]
H A DSkBlitBWMaskTemplate.h27 SkASSERT(clip.fRight <= srcMask.fBounds.fRight);
31 int maskLeft = srcMask.fBounds.fLeft;
43 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight)
/external/skia/tests/
H A DBlitMaskClip.cpp16 : fBounds(bounds)
21 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight);
22 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom);
24 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight);
32 SkIRect fBounds; member in class:TestBlitter
51 mask.fBounds = b;
55 TestBlitter tb(mask.fBounds, reporte
[all...]
H A DMaskCacheTest.cpp48 mask.fBounds.setXYWH(0, 0, 100, 100);
61 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100);
86 mask.fBounds.setXYWH(0, 0, 100, 100);
99 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100);
/external/dng_sdk/source/
H A Ddng_simple_image.cpp90 fBounds.t = 0;
91 fBounds.l = 0;
93 fBounds.b = r.H ();
94 fBounds.r = r.W ();
98 fBuffer.fArea = fBounds;
107 int32 originH = fBounds.l;
108 int32 originV = fBounds.t;
113 uint32 width = fBounds.W ();
114 uint32 height = fBounds.H ();
142 width = fBounds
[all...]
H A Ddng_image.cpp94 : fBounds (bounds)
198 return fBounds;
502 dng_rect overlap = buffer.fArea & fBounds;
531 areaT.b = Min_int32 (areaT.b, fBounds.t);
532 areaL.r = Min_int32 (areaL.r, fBounds.l);
533 areaB.t = Max_int32 (areaB.t, fBounds.b);
534 areaR.l = Max_int32 (areaR.l, fBounds.r);
539 areaH.l = Max_int32 (areaH.l, fBounds.l);
540 areaH.r = Min_int32 (areaH.r, fBounds.r);
542 areaV.t = Max_int32 (areaV.t, fBounds
[all...]
/external/skia/src/gpu/ops/
H A DGrOp.h78 return fBounds;
82 fBounds = clippedBounds;
151 fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom);
176 fBounds = newBounds;
181 m.mapRect(&fBounds, srcBounds);
192 return fBounds.joinPossiblyEmptyRect(that.fBounds);
240 SkRect fBounds; member in class:GrOp
[all...]
/external/skia/src/gpu/
H A DGrPath.h26 , fBounds(SkRect::MakeEmpty())
37 const SkRect& getBounds() const { return fBounds; }
46 SkRect fBounds; member in class:GrPath
H A DGrGlyph.h39 GrIRect16 fBounds; member in struct:GrGlyph
47 fBounds.set(bounds);
60 int width() const { return fBounds.width(); }
61 int height() const { return fBounds.height(); }
62 bool isEmpty() const { return fBounds.isEmpty(); }
H A DGrAuditTrail.cpp18 auditOp->fBounds = op->bounds();
48 opNode->fBounds = op->bounds();
79 consumerOp.fBounds = consumer->bounds();
91 outOpInfo->fBounds = bn->fBounds;
96 outOp.fBounds = currentOp->fBounds;
271 skrect_to_json(&json, "Bounds", fBounds);
290 skrect_to_json(&json, "Bounds", fBounds);
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp85 SkASSERT(mask.fBounds.width() == static_cast<int>(bitmap.width));
88 SkASSERT(mask.fBounds.height() == static_cast<int>(bitmap.rows));
95 const int width = mask.fBounds.width();
96 const int height = mask.fBounds.height();
118 SkASSERT(3 * mask.fBounds.width() == static_cast<int>(bitmap.width));
141 SkASSERT(3 * mask.fBounds.height() == static_cast<int>(bitmap.rows));
182 SkASSERTF(dstMask.fBounds.width() == static_cast<int>(srcFTBitmap.width),
183 "dstMask.fBounds.width() = %d\n"
185 dstMask.fBounds.width(),
188 SkASSERTF(dstMask.fBounds
[all...]
/external/skia/src/pathops/
H A DSkOpContour.h25 return fBounds.fTop == rh.fBounds.fTop
26 ? fBounds.fLeft < rh.fBounds.fLeft
27 : fBounds.fTop < rh.fBounds.fTop;
59 return fBounds;
284 SkDEBUGCODE(fBounds.set(SK_ScalarMax, SK_ScalarMax, SK_ScalarMin, SK_ScalarMin));
307 fBounds = segment->bounds();
309 fBounds
378 SkPathOpsBounds fBounds; member in class:SkOpContour
[all...]
/external/skia/samplecode/
H A DSampleStrokePath.cpp54 src.fBounds.set(0, 0, x, y);
55 src.fRowBytes = src.fBounds.width();
59 printf("src [%d %d %d %d] radius %g\n", src.fBounds.fLeft, src.fBounds.fTop,
60 src.fBounds.fRight, src.fBounds.fBottom, radius);
65 for (int y = 0; y < dst.fBounds.height(); y++) {
66 for (int x = 0; x < dst.fBounds.width(); x++) {
/external/skia/src/gpu/effects/
H A DGrGaussianConvolutionFragmentProcessor.h36 const int* bounds() const { return fBounds; }
69 int fBounds[2]; member in class:GrGaussianConvolutionFragmentProcessor
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp33 dst->fBounds = src.fBounds;
34 dst->fRowBytes = SkAlign4(dst->fBounds.width());
44 int dstWidth = dst->fBounds.width();
47 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
H A DSkBlurMask.cpp533 dst->fBounds.set(src.fBounds.fLeft - padx, src.fBounds.fTop - pady,
534 src.fBounds.fRight + padx, src.fBounds.fBottom + pady);
536 dst->fRowBytes = dst->fBounds.width();
546 int sw = src.fBounds.width();
547 int sh = src.fBounds.height();
612 src.fBounds.width(), src.fBounds
[all...]
H A DSkLayerRasterizer.cpp85 bounds->join(mask.fBounds);
99 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
105 mask->fRowBytes = mask->fBounds.width();
124 rectClip.setRect(SkIRect::MakeWH(mask->fBounds.width(), mask->fBounds.height()));
127 translatedMatrix.postTranslate(-SkIntToScalar(mask->fBounds.fLeft),
128 -SkIntToScalar(mask->fBounds.fTop));

Completed in 757 milliseconds

123456