HomeSort by relevance Sort by last modified time
    Searched refs:fBounds (Results 1 - 25 of 44) sorted by null

1 2

  /external/skia/src/animator/
SkBoundable.cpp 16 fBounds.fTop = 0;
17 fBounds.fRight = 0;
18 fBounds.fBottom = 0;
22 fBounds.fLeft = 0x7fff;
27 if (fBounds.fLeft == (int16_t)0x8000U) {
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
38 fBounds.fLeft = 0
    [all...]
SkBoundable.h 22 bool hasBounds() { return fBounds.fLeft != (int16_t)0x8000U; }
23 void setBounds(SkIRect& bounds) { fBounds = bounds; }
25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
26 SkIRect fBounds;
SkDisplayBounds.cpp 30 fBounds.setEmpty();
34 if (inval && fBounds.isEmpty() == false) {
38 rect = fBounds;
40 rect.join(fBounds);
  /external/skia/include/core/
SkMask.h 34 SkIRect fBounds;
40 bool isEmpty() const { return fBounds.isEmpty(); }
56 x,y are in the same coordiate space as fBounds.
60 SkASSERT(fBounds.contains(x, y));
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
67 x,y are in the same coordiate space as fBounds.
71 SkASSERT(fBounds.contains(x, y));
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes
    [all...]
SkRegion.h 86 const SkIRect& getBounds() const { return fBounds; }
187 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
191 /* fBounds.contains(left, top, right, bottom); */
192 fBounds.fLeft <= left && fBounds.fTop <= top &&
193 fBounds.fRight >= right && fBounds.fBottom >= bottom;
203 !SkIRect::Intersects(fBounds, rect);
213 !SkIRect::Intersects(fBounds, rgn.fBounds);
    [all...]
  /external/skia/src/effects/
SkRectShape.cpp 18 fBounds.setEmpty();
23 fBounds = bounds;
28 fBounds = bounds;
33 fBounds.set(cx - radius, cy - radius, cx + radius, cy + radius);
45 fBounds = bounds;
55 canvas->drawOval(fBounds, paint);
57 canvas->drawRect(fBounds, paint);
59 canvas->drawRoundRect(fBounds, fRadii.fWidth, fRadii.fHeight, paint);
70 buffer.writeRect(fBounds);
75 buffer.read(&fBounds, sizeof(fBounds))
    [all...]
SkKernel33MaskFilter.cpp 19 dst->fBounds = src.fBounds;
20 dst->fBounds.inset(-1, -1);
27 dst->fRowBytes = dst->fBounds.width();
34 const int h = src.fBounds.height();
35 const int w = src.fBounds.width();
SkLayerRasterizer.cpp 81 bounds->join(mask.fBounds);
94 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds))
100 mask->fRowBytes = mask->fBounds.width();
116 rectClip.setRect(SkIRect::MakeWH(mask->fBounds.width(), mask->fBounds.height()));
119 translatedMatrix.postTranslate(-SkIntToScalar(mask->fBounds.fLeft),
120 -SkIntToScalar(mask->fBounds.fTop));
122 device.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes);
SkTableMaskFilter.cpp 34 dst->fBounds = src.fBounds;
35 dst->fRowBytes = SkAlign4(dst->fBounds.width());
45 int dstWidth = dst->fBounds.width();
48 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
  /external/skia/include/gpu/
GrGlyph.h 31 GrIRect16 fBounds;
38 fBounds.set(bounds);
49 int width() const { return fBounds.width(); }
50 int height() const { return fBounds.height(); }
51 bool isEmpty() const { return fBounds.isEmpty(); }
  /external/skia/src/core/
SkMaskFilter.cpp 42 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds);
44 if (!clipper.done() && (bounder == NULL || bounder->doIRect(dstM.fBounds))) {
63 src.roundOut(&srcM.fBounds);
69 dst->set(dstM.fBounds);
71 dst->set(srcM.fBounds);
SkMask.cpp 25 return safeMul32(fBounds.height(), fRowBytes);
69 SkASSERT(fBounds.contains(x, y));
73 addr += (y - fBounds.fTop) * fRowBytes;
74 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
SkRegion.cpp 77 fBounds.set(0, 0, 0, 0);
117 SkTSwap<SkIRect>(fBounds, other.fBounds);
123 fBounds.set(0, 0, 0, 0);
134 fBounds.set(left, top, right, bottom);
147 fBounds = src.fBounds;
228 *itop = fBounds.fTop;
229 *ibot = fBounds.fBottom;
280 if (ComputeRunBounds(runs, count, &fBounds))
    [all...]
SkAAClip.cpp 136 fTop = fBottom = clip.fBounds.fBottom;
147 fTop = clip.fBounds.fTop;
148 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1;
188 SkASSERT(fBounds.isEmpty());
199 const int lastY = fBounds.height() - 1;
211 size_t rowLength = compute_row_length(row, fBounds.width());
394 const int width = fBounds.width();
425 fBounds.fLeft += leftZeros;
426 fBounds.fRight -= riteZeros;
427 SkASSERT(!fBounds.isEmpty())
    [all...]
SkBlitBWMaskTemplate.h 28 SkASSERT(clip.fRight <= srcMask.fBounds.fRight);
32 int maskLeft = srcMask.fBounds.fLeft;
44 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight)
SkScalerContext.cpp 28 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight);
287 glyph->fLeft = mask.fBounds.fLeft;
288 glyph->fTop = mask.fBounds.fTop;
289 glyph->fWidth = SkToU16(mask.fBounds.width());
290 glyph->fHeight = SkToU16(mask.fBounds.height());
323 glyph->fLeft = dst.fBounds.fLeft;
324 glyph->fTop = dst.fBounds.fTop;
325 glyph->fWidth = SkToU16(dst.fBounds.width());
326 glyph->fHeight = SkToU16(dst.fBounds.height());
356 const int width = dst.fBounds.width()
    [all...]
  /external/skia/include/text/
SkTextLayout.h 48 SkRect fBounds;
  /external/skia/samplecode/
SampleAAClip.cpp 49 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(),
50 mask.fBounds.height(), mask.fRowBytes);
55 SK_Scalar1 * mask.fBounds.fLeft,
56 SK_Scalar1 * mask.fBounds.fTop,
SampleAAClip2.cpp 31 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(),
32 mask.fBounds.height(), mask.fRowBytes);
37 SK_Scalar1 * mask.fBounds.fLeft,
38 SK_Scalar1 * mask.fBounds.fTop,
50 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(),
51 mask.fBounds.height(), mask.fRowBytes);
55 SK_Scalar1 * mask.fBounds.fLeft,
56 SK_Scalar1 * mask.fBounds.fTop,
SampleStrokePath.cpp 55 src.fBounds.set(0, 0, x, y);
56 src.fRowBytes = src.fBounds.width();
60 printf("src [%d %d %d %d] radius %g\n", src.fBounds.fLeft, src.fBounds.fTop,
61 src.fBounds.fRight, src.fBounds.fBottom, radius);
66 for (int y = 0; y < dst.fBounds.height(); y++) {
67 for (int x = 0; x < dst.fBounds.width(); x++) {
  /external/skia/src/text/
SkTextLayout.cpp 23 fBounds.setEmpty();
38 fBounds = bounds;
  /external/skia/tests/
ParsePathTest.cpp 33 SkRect fBounds;
46 const SkRect& expectedBounds = gRec[i].fBounds;
AAClipTest.cpp 16 if (a.fFormat != b.fFormat || a.fBounds != b.fBounds) {
26 size_t wbytes = a.fBounds.width();
46 const int h = a.fBounds.height();
63 mask->fBounds.setEmpty();
69 mask->fBounds = rgn.getBounds();
70 mask->fRowBytes = mask->fBounds.width();
75 bitmap.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(),
76 mask->fBounds.height(), mask->fRowBytes);
232 REPORTER_ASSERT(reporter, mask.fBounds.isEmpty())
    [all...]
  /external/skia/include/effects/
SkRectShape.h 59 SkRect fBounds;
  /external/skia/src/gpu/
GrTextContext.cpp 183 if (NULL == glyph || glyph->fBounds.isEmpty()) {
187 vx += GrIntToFixed(glyph->fBounds.fLeft);
188 vy += GrIntToFixed(glyph->fBounds.fTop);
191 GrFixed width = glyph->fBounds.width();
192 GrFixed height = glyph->fBounds.height();
230 translate.set(GrFixedToScalar(vx - GrIntToFixed(glyph->fBounds.fLeft)),
231 GrFixedToScalar(vy - GrIntToFixed(glyph->fBounds.fTop)));

Completed in 327 milliseconds

1 2