Searched refs:pathBounds (Results 1 - 11 of 11) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkDrawShadowInfo.cpp | 35 const SkRect& pathBounds, bool directional, in GetSpotShadowTransform() 40 SkScalar occluderHeight = heightFunc(pathBounds.centerX(), pathBounds.centerY()); in GetSpotShadowTransform() 58 if (SkScalarNearlyZero(pathBounds.width()) || SkScalarNearlyZero(pathBounds.height())) { in GetSpotShadowTransform() 64 ctm.mapRectToQuad(pts, pathBounds); in GetSpotShadowTransform() 70 SkScalar z = heightFunc(pathBounds.fLeft, pathBounds.fTop); in GetSpotShadowTransform() 72 z = heightFunc(pathBounds.fRight, pathBounds in GetSpotShadowTransform() 33 GetSpotShadowTransform(const SkPoint3& lightPos, SkScalar lightRadius, const SkMatrix& ctm, const SkPoint3& zPlaneParams, const SkRect& pathBounds, bool directional, SkMatrix* shadowTransform, SkScalar* radius, bool isLimitElevation) GetSpotShadowTransform() argument [all...] |
H A D | SkPictureCommon.h | 52 const SkRect& pathBounds = op.path.getBounds(); in operator ()() local 56 } else if (SkPaint::kFill_Style == paintStyle && pathBounds.width() < 64.f && in operator ()() 57 pathBounds.height() < 64.f && !op.path.isVolatile()) { in operator ()()
|
H A D | SkGlyph.cpp | 332 const SkRect& pathBounds = path->getBounds(); in ensureIntercepts() local 333 if (pathBounds.fBottom < bounds[0] || bounds[1] < pathBounds.fTop) { in ensureIntercepts()
|
H A D | SkDrawShadowInfo.h | 102 const SkRect& pathBounds, bool directional,
|
H A D | SkCanvas.cpp | 2139 const SkRect& pathBounds = path.getBounds(); 2140 if (!path.isInverseFillType() && this->internalQuickReject(pathBounds, paint)) { 2143 if (path.isInverseFillType() && pathBounds.width() <= 0 && pathBounds.height() <= 0) { 2148 auto layer = this->aboutToDraw(this, paint, &pathBounds);
|
/third_party/skia/src/gpu/ |
H A D | GrDistanceFieldGenFromVector.cpp | 736 SkIRect pathBounds = xformPath.getBounds().roundOut(); 741 expectPathBounds.contains(pathBounds.fLeft, pathBounds.fTop)); 742 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || 743 expectPathBounds.contains(pathBounds)); 762 SkDEBUGCODE(pathBounds = workingPath.getBounds().roundOut()); 764 expectPathBounds.contains(pathBounds.fLeft, pathBounds.fTop)); 765 SkASSERT(expectPathBounds.isEmpty() || pathBounds.isEmpty() || 766 expectPathBounds.contains(pathBounds)); [all...] |
/third_party/skia/tests/ |
H A D | ParsePathTest.cpp | 50 const SkRect& pathBounds = path.getBounds(); in DEF_TEST() local 51 REPORTER_ASSERT(reporter, expectedBounds == pathBounds); in DEF_TEST()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrPathUtils.cpp | 36 const SkRect& pathBounds) { in scaleToleranceToSrc() 46 mat.setTranslate((i % 2) ? pathBounds.fLeft : pathBounds.fRight, in scaleToleranceToSrc() 47 (i < 2) ? pathBounds.fTop : pathBounds.fBottom); in scaleToleranceToSrc() 55 // max of the path pathBounds width and height. in scaleToleranceToSrc() 56 srcTol = std::max(pathBounds.width(), pathBounds.height()); in scaleToleranceToSrc() 34 scaleToleranceToSrc(SkScalar devTol, const SkMatrix& viewM, const SkRect& pathBounds) scaleToleranceToSrc() argument
|
H A D | GrPathUtils.h | 39 const SkRect& pathBounds);
|
H A D | GrTriangulator.cpp | 1505 const SkRect& pathBounds = fPath.getBounds(); in contoursToPolys() local 1506 Comparator c(pathBounds.width() > pathBounds.height() ? Comparator::Direction::kHorizontal in contoursToPolys()
|
/third_party/skia/samplecode/ |
H A D | SampleVariableWidthStroker.cpp | 1280 const SkRect pathBounds = path.computeTightBounds(); 1282 const float sx = box.width() / pathBounds.width(); 1291 axes.lineTo(pathBounds.width(), 0);
|
Completed in 14 milliseconds