/external/skia/include/core/ |
SkRegion.h | 86 const SkIRect& getBounds() const { return fBounds; } 197 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region 201 /* fBounds.contains(left, top, right, bottom); */ 202 fBounds.fLeft <= left && fBounds.fTop <= top && 203 fBounds.fRight >= right && fBounds.fBottom >= bottom; 213 !SkIRect::Intersects(fBounds, rect); 223 !SkIRect::Intersects(fBounds, rgn.fBounds); [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkKernel33MaskFilter.cpp | 21 dst->fBounds = src.fBounds; 22 dst->fBounds.inset(-1, -1); 29 dst->fRowBytes = dst->fBounds.width(); 36 const int h = src.fBounds.height(); 37 const int w = src.fBounds.width();
|
SkLayerRasterizer.cpp | 83 bounds->join(mask.fBounds); 96 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds)) 102 mask->fRowBytes = mask->fBounds.width(); 118 rectClip.setRect(SkIRect::MakeWH(mask->fBounds.width(), mask->fBounds.height())); 121 translatedMatrix.postTranslate(-SkIntToScalar(mask->fBounds.fLeft), 122 -SkIntToScalar(mask->fBounds.fTop)); 124 device.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes);
|
SkBlurMaskFilter.cpp | 166 bounds.roundOut(&mask->fBounds); 167 mask->fRowBytes = SkAlign4(mask->fBounds.width()); 189 mask->fBounds.width(), mask->fBounds.height(), 194 canvas.translate(-SkIntToScalar(mask->fBounds.left()), 195 -SkIntToScalar(mask->fBounds.top())); 210 mask->fBounds.width(), mask->fBounds.height(), 215 canvas.translate(-SkIntToScalar(mask->fBounds.left()), 216 -SkIntToScalar(mask->fBounds.top())) [all...] |
SkTableMaskFilter.cpp | 32 dst->fBounds = src.fBounds; 33 dst->fRowBytes = SkAlign4(dst->fBounds.width()); 43 int dstWidth = dst->fBounds.width(); 46 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
|
/external/skia/src/effects/ |
SkKernel33MaskFilter.cpp | 21 dst->fBounds = src.fBounds; 22 dst->fBounds.inset(-1, -1); 29 dst->fRowBytes = dst->fBounds.width(); 36 const int h = src.fBounds.height(); 37 const int w = src.fBounds.width();
|
SkLayerRasterizer.cpp | 83 bounds->join(mask.fBounds); 96 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds)) 102 mask->fRowBytes = mask->fBounds.width(); 118 rectClip.setRect(SkIRect::MakeWH(mask->fBounds.width(), mask->fBounds.height())); 121 translatedMatrix.postTranslate(-SkIntToScalar(mask->fBounds.fLeft), 122 -SkIntToScalar(mask->fBounds.fTop)); 124 device.setConfig(SkBitmap::kA8_Config, mask->fBounds.width(), mask->fBounds.height(), mask->fRowBytes);
|
SkBlurMaskFilter.cpp | 166 bounds.roundOut(&mask->fBounds); 167 mask->fRowBytes = SkAlign4(mask->fBounds.width()); 189 mask->fBounds.width(), mask->fBounds.height(), 194 canvas.translate(-SkIntToScalar(mask->fBounds.left()), 195 -SkIntToScalar(mask->fBounds.top())); 210 mask->fBounds.width(), mask->fBounds.height(), 215 canvas.translate(-SkIntToScalar(mask->fBounds.left()), 216 -SkIntToScalar(mask->fBounds.top())) [all...] |
SkTableMaskFilter.cpp | 32 dst->fBounds = src.fBounds; 33 dst->fRowBytes = SkAlign4(dst->fBounds.width()); 43 int dstWidth = dst->fBounds.width(); 46 for (int y = dst->fBounds.height() - 1; y >= 0; --y) {
|
/external/chromium_org/third_party/skia/src/core/ |
SkAAClip.cpp | 138 fTop = fBottom = clip.fBounds.fBottom; 151 fTop = clip.fBounds.fTop; 152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; 192 SkASSERT(fBounds.isEmpty()); 202 const int lastY = fBounds.height() - 1; 214 size_t rowLength = compute_row_length(row, fBounds.width()); 405 const int width = fBounds.width(); 441 fBounds.fLeft += leftZeros; 442 fBounds.fRight -= riteZeros; 443 SkASSERT(!fBounds.isEmpty()) [all...] |
SkPathRef.cpp | 88 matrix.mapRect(&(*dst)->fBounds, src.fBounds); 89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { 90 (*dst)->fBounds.setEmpty(); 94 (*dst)->fBounds.setEmpty(); 154 !buffer->read(&ref->fBounds, sizeof(SkRect))) { 238 // Call getBounds() to ensure (as a side-effect) that fBounds 283 fBounds = ref.fBounds; 458 if (!fBoundsIsDirty && !fBounds.isEmpty()) [all...] |
SkScalerContext.cpp | 36 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 334 glyph->fLeft = mask.fBounds.fLeft; 335 glyph->fTop = mask.fBounds.fTop; 336 glyph->fWidth = SkToU16(mask.fBounds.width()); 337 glyph->fHeight = SkToU16(mask.fBounds.height()); 387 if (dst.fBounds.isEmpty() || !dst.fBounds.is16Bit()) { 391 glyph->fLeft = dst.fBounds.fLeft; 392 glyph->fTop = dst.fBounds.fTop; 393 glyph->fWidth = SkToU16(dst.fBounds.width()) [all...] |
/external/skia/src/core/ |
SkAAClip.cpp | 138 fTop = fBottom = clip.fBounds.fBottom; 151 fTop = clip.fBounds.fTop; 152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; 192 SkASSERT(fBounds.isEmpty()); 202 const int lastY = fBounds.height() - 1; 214 size_t rowLength = compute_row_length(row, fBounds.width()); 405 const int width = fBounds.width(); 441 fBounds.fLeft += leftZeros; 442 fBounds.fRight -= riteZeros; 443 SkASSERT(!fBounds.isEmpty()) [all...] |
SkPathRef.cpp | 88 matrix.mapRect(&(*dst)->fBounds, src.fBounds); 89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { 90 (*dst)->fBounds.setEmpty(); 94 (*dst)->fBounds.setEmpty(); 154 !buffer->read(&ref->fBounds, sizeof(SkRect))) { 238 // Call getBounds() to ensure (as a side-effect) that fBounds 283 fBounds = ref.fBounds; 458 if (!fBoundsIsDirty && !fBounds.isEmpty()) [all...] |
/external/chromium_org/third_party/skia/include/text/ |
SkTextLayout.h | 52 SkRect fBounds;
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpContour.h | 34 return fBounds.fTop == rh.fBounds.fTop 35 ? fBounds.fLeft < rh.fBounds.fLeft 36 : fBounds.fTop < rh.fBounds.fTop; 86 return fBounds; 167 fBounds.set(SK_ScalarMax, SK_ScalarMax, SK_ScalarMax, SK_ScalarMax); 256 SkPathOpsBounds fBounds;
|
/external/skia/include/text/ |
SkTextLayout.h | 52 SkRect fBounds;
|
/external/skia/src/pathops/ |
SkOpContour.h | 34 return fBounds.fTop == rh.fBounds.fTop 35 ? fBounds.fLeft < rh.fBounds.fLeft 36 : fBounds.fTop < rh.fBounds.fTop; 86 return fBounds; 167 fBounds.set(SK_ScalarMax, SK_ScalarMax, SK_ScalarMax, SK_ScalarMax); 256 SkPathOpsBounds fBounds;
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 60 const float* bounds() const { return fBounds; } 90 float fBounds[2];
|
/external/chromium_org/third_party/skia/src/text/ |
SkTextLayout.cpp | 23 fBounds.setEmpty(); 38 fBounds = bounds;
|
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 60 const float* bounds() const { return fBounds; } 90 float fBounds[2];
|
/external/skia/src/text/ |
SkTextLayout.cpp | 23 fBounds.setEmpty(); 38 fBounds = bounds;
|
/external/skia/tests/ |
ParsePathTest.cpp | 33 const SkRect fBounds; 47 const SkRect& expectedBounds = gRec[i].fBounds;
|
/external/skia/gm/ |
blurrect.cpp | 196 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), mask.fBounds.height()); 199 center_x = (canvas_size.fWidth - mask.fBounds.width())/2; 200 center_y = (canvas_size.fHeight - mask.fBounds.height())/2; 238 r.roundOut(&src.fBounds); 239 src.fBounds.offset(-src.fBounds.fLeft, -src.fBounds.fTop); // move to origin 241 src.fRowBytes = src.fBounds.width(); 284 r.roundOut(&src.fBounds); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrBitmapTextContext.cpp | 137 if (NULL == glyph || glyph->fBounds.isEmpty()) { 141 vx += SkIntToFixed(glyph->fBounds.fLeft); 142 vy += SkIntToFixed(glyph->fBounds.fTop); 145 GrFixed width = glyph->fBounds.width(); 146 GrFixed height = glyph->fBounds.height(); 198 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)), 199 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop)));
|