/external/skia/include/core/ |
D | SkRect.h | 45 int32_t fBottom; member 141 int32_t bottom() const { return fBottom; } in bottom() 169 int32_t height() const { return Sk32_can_overflow_sub(fBottom, fTop); } in height() 194 int32_t centerY() const { return SkToS32(((int64_t)fBottom + fTop) >> 1); } in centerY() 210 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64() 218 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; } in isEmpty64() 263 SkTFitsIn<int16_t>(fRight) && SkTFitsIn<int16_t>(fBottom); in is16Bit() 287 fBottom = bottom; in set() 315 fBottom = Sk32_sat_add(y, height); in setXYWH() 332 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset() [all …]
|
/external/skqp/include/core/ |
D | SkRect.h | 45 int32_t fBottom; member 144 int32_t bottom() const { return fBottom; } in bottom() 172 int32_t height() const { return Sk32_can_overflow_sub(fBottom, fTop); } in height() 197 int32_t centerY() const { return SkToS32(((int64_t)fBottom + fTop) >> 1); } in centerY() 200 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64() 206 bool isEmpty64() const { return fRight <= fLeft || fBottom <= fTop; } in isEmpty64() 250 SkTFitsIn<int16_t>(fRight) && SkTFitsIn<int16_t>(fBottom); in is16Bit() 274 fBottom = bottom; in set() 302 fBottom = Sk32_sat_add(y, height); in setXYWH() 319 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset() [all …]
|
/external/skia/src/gpu/ |
D | GrRect.h | 15 int16_t fLeft, fTop, fRight, fBottom; member 36 int height() const { return fBottom - fTop; } in height() 38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty() 46 fBottom = bottom; in set() 53 fBottom = SkToS16(r.fBottom); in set() 61 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap() 62 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap() 63 return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; in GrRectsOverlap() 70 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap() 71 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap() [all …]
|
D | GrClip.h | 76 innerClipBounds.fBottom > innerClipBounds.fTop + kBoundsTolerance && in IsInsideClip() 80 innerClipBounds.fBottom > queryBounds.fBottom - kBoundsTolerance; in IsInsideClip() 94 outerClipBounds.fBottom - outerClipBounds.fTop <= kBoundsTolerance || in IsOutsideClip() 98 outerClipBounds.fTop >= queryBounds.fBottom - kBoundsTolerance || in IsOutsideClip() 100 outerClipBounds.fBottom <= queryBounds.fTop + kBoundsTolerance; in IsOutsideClip() 110 SkScalarCeilToInt(bounds.fBottom - kBoundsTolerance)); in GetPixelIBounds() 120 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); in GetPixelBounds() 130 SkScalarAbs(SkScalarRoundToScalar(rect.fBottom) - rect.fBottom) <= kBoundsTolerance; in IsPixelAligned()
|
D | GrTessellator.cpp | 360 , fBottom(bottom) in Edge() 382 Vertex* fBottom; // The bottom vertex in vertex-sort-order. member 411 fLine = Line(fTop, fBottom); in recompute() 415 fTop->fID, fBottom->fID, in intersect() 416 other.fTop->fID, other.fBottom->fID); in intersect() 417 if (fTop == other.fTop || fBottom == other.fBottom) { in intersect() 440 *alpha = (1.0 - s) * fTop->fAlpha + s * fBottom->fAlpha; in intersect() 443 *alpha = (1.0 - t) * other.fTop->fAlpha + t * other.fBottom->fAlpha; in intersect() 504 Edge bisector2(e->fBottom, e->fBottom->fPartner, 1, Edge::Type::kConnector); in create_event() 509 e->fTop->fID, e->fBottom->fID, p.fX, p.fY, alpha); in create_event() [all …]
|
D | GrTextureProducer.cpp | 158 if (proxyBounds.fBottom - filterHalfWidth < constraintRect.fBottom) { in DetermineDomainMode() 159 domainRect->fBottom = proxyBounds.fBottom - kDomainInset; in DetermineDomainMode() 169 domainRect->fBottom = proxyBounds.fBottom - kDomainInset; in DetermineDomainMode() 178 if (domainRect->fTop > domainRect->fBottom) { in DetermineDomainMode() 179 domainRect->fTop = domainRect->fBottom = SkScalarAve(domainRect->fTop, domainRect->fBottom); in DetermineDomainMode()
|
/external/skqp/src/gpu/ |
D | GrRect.h | 15 int16_t fLeft, fTop, fRight, fBottom; member 36 int height() const { return fBottom - fTop; } in height() 38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty() 46 fBottom = bottom; in set() 53 fBottom = SkToS16(r.fBottom); in set() 61 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap() 62 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap() 63 return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; in GrRectsOverlap() 70 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap() 71 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap() [all …]
|
D | GrClip.h | 76 innerClipBounds.fBottom > innerClipBounds.fTop + kBoundsTolerance && in IsInsideClip() 80 innerClipBounds.fBottom > queryBounds.fBottom - kBoundsTolerance; in IsInsideClip() 94 outerClipBounds.fBottom - outerClipBounds.fTop <= kBoundsTolerance || in IsOutsideClip() 98 outerClipBounds.fTop >= queryBounds.fBottom - kBoundsTolerance || in IsOutsideClip() 100 outerClipBounds.fBottom <= queryBounds.fTop + kBoundsTolerance; in IsOutsideClip() 110 SkScalarCeilToInt(bounds.fBottom - kBoundsTolerance)); in GetPixelIBounds() 120 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); in GetPixelBounds() 130 SkScalarAbs(SkScalarRoundToScalar(rect.fBottom) - rect.fBottom) <= kBoundsTolerance; in IsPixelAligned()
|
D | GrTextureProducer.cpp | 154 if (proxyBounds.fBottom - filterHalfWidth < constraintRect.fBottom) { in DetermineDomainMode() 155 domainRect->fBottom = proxyBounds.fBottom - kDomainInset; in DetermineDomainMode() 165 domainRect->fBottom = proxyBounds.fBottom - kDomainInset; in DetermineDomainMode() 174 if (domainRect->fTop > domainRect->fBottom) { in DetermineDomainMode() 175 domainRect->fTop = domainRect->fBottom = SkScalarAve(domainRect->fTop, domainRect->fBottom); in DetermineDomainMode()
|
D | GrTessellator.cpp | 360 , fBottom(bottom) in Edge() 382 Vertex* fBottom; // The bottom vertex in vertex-sort-order. member 411 fLine = Line(fTop, fBottom); in recompute() 415 fTop->fID, fBottom->fID, in intersect() 416 other.fTop->fID, other.fBottom->fID); in intersect() 417 if (fTop == other.fTop || fBottom == other.fBottom) { in intersect() 440 *alpha = (1.0 - s) * fTop->fAlpha + s * fBottom->fAlpha; in intersect() 443 *alpha = (1.0 - t) * other.fTop->fAlpha + t * other.fBottom->fAlpha; in intersect() 504 Edge bisector2(e->fBottom, e->fBottom->fPartner, 1, Edge::Type::kConnector); in create_event() 509 e->fTop->fID, e->fBottom->fID, p.fX, p.fY, alpha); in create_event() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLIRect.h | 22 GrGLint fBottom; member 33 GR_STATIC_ASSERT(4 == offsetof(GrGLIRect, fBottom)); in asInts() 41 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo() 72 fBottom = glRect.fBottom + topOffset; in setRelativeTo() 82 fBottom <= glRect.fBottom && in contains() 84 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains() 87 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
/external/skqp/src/gpu/gl/ |
D | GrGLIRect.h | 22 GrGLint fBottom; member 33 GR_STATIC_ASSERT(4 == offsetof(GrGLIRect, fBottom)); in asInts() 41 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo() 72 fBottom = glRect.fBottom + topOffset; in setRelativeTo() 82 fBottom <= glRect.fBottom && in contains() 84 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains() 87 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
/external/skia/src/pathops/ |
D | SkPathOpsRect.h | 13 double fLeft, fTop, fRight, fBottom; member 19 fBottom = SkTMax(fBottom, pt.fY); in add() 24 && approximately_between(fTop, pt.fY, fBottom); in contains() 31 SkASSERT(fTop <= fBottom); in intersects() 33 SkASSERT(r.fTop <= r.fBottom); in intersects() 34 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom; in intersects() 39 fTop = fBottom = pt.fY; in set() 47 return fBottom - fTop; in height() 69 return fLeft <= fRight && fTop <= fBottom; in valid()
|
D | SkPathOpsBounds.h | 18 && AlmostLessOrEqualUlps(a.fTop, b.fBottom) in Intersects() 19 && AlmostLessOrEqualUlps(b.fTop, a.fBottom); in Intersects() 29 if (bottom > fBottom) fBottom = bottom; in add() 33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom); in add() 40 if (pt.fY > fBottom) fBottom = pt.fY; in add() 47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add() 54 && AlmostLessOrEqualUlps(pt.fY, fBottom); in almostContains() 59 fRight >= pt.fX && fBottom >= pt.fY; in contains()
|
/external/skqp/src/pathops/ |
D | SkPathOpsRect.h | 13 double fLeft, fTop, fRight, fBottom; member 19 fBottom = SkTMax(fBottom, pt.fY); in add() 24 && approximately_between(fTop, pt.fY, fBottom); in contains() 31 SkASSERT(fTop <= fBottom); in intersects() 33 SkASSERT(r.fTop <= r.fBottom); in intersects() 34 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom; in intersects() 39 fTop = fBottom = pt.fY; in set() 47 return fBottom - fTop; in height() 69 return fLeft <= fRight && fTop <= fBottom; in valid()
|
D | SkPathOpsBounds.h | 18 && AlmostLessOrEqualUlps(a.fTop, b.fBottom) in Intersects() 19 && AlmostLessOrEqualUlps(b.fTop, a.fBottom); in Intersects() 29 if (bottom > fBottom) fBottom = bottom; in add() 33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom); in add() 40 if (pt.fY > fBottom) fBottom = pt.fY; in add() 47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add() 54 && AlmostLessOrEqualUlps(pt.fY, fBottom); in almostContains() 59 fRight >= pt.fX && fBottom >= pt.fY; in contains()
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_checkboxtp.cpp | 100 float fBottom = pRtSign->bottom(); in DrawSignCross() local 101 path.AddLine(pRtSign->TopLeft(), CFX_PointF(fRight, fBottom)); in DrawSignCross() 102 path.AddLine(CFX_PointF(pRtSign->left, fBottom), in DrawSignCross() 119 float fBottom = pRtSign->bottom(); in DrawSignDiamond() local 122 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, fBottom)); in DrawSignDiamond() 150 float fBottom = pRtSign->bottom(); in DrawSignStar() local 152 (pRtSign->top - fBottom) / (1 + static_cast<float>(cos(FX_PI / 5.0f))); in DrawSignStar() 154 (pRtSign->top + fBottom) / 2.0f); in DrawSignStar() 224 float fBottom = kSignPath; in InitCheckPath() local 225 CFX_PointF pt1(fWidth / 15.0f, fBottom + fHeight * 2 / 5.0f); in InitCheckPath() [all …]
|
/external/skia/src/core/ |
D | SkRect.cpp | 19 if (fLeft >= fRight || fTop >= fBottom) { in join() 25 if (bottom > fBottom) fBottom = bottom; in join() 36 quad[2].set(fRight, fBottom); in toQuad() 37 quad[3].set(fLeft, fBottom); in toQuad() 106 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); in intersect() 112 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); in intersect() 116 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, b.fLeft, b.fTop, b.fRight, b.fBottom); in intersect() 128 if (fLeft >= fRight || fTop >= fBottom) { in join() 134 fBottom = SkMaxScalar(fBottom, bottom); in join() 158 line.appendf(" %s /* %f */);", set_scalar(&tmp, fBottom, asType), fBottom); in dump() [all …]
|
D | SkLineClipper.cpp | 74 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom; in containsNoEmptyCheck() 92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || in IntersectLine() 93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { in IntersectLine() 114 if (tmp[index1].fY > clip.fBottom) { in IntersectLine() 115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); in IntersectLine() 177 if (pts[index0].fY >= clip.fBottom) { // we're below the clip in ClipLine() 191 if (tmp[index1].fY > clip.fBottom) { in ClipLine() 192 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom); in ClipLine()
|
D | SkScan.h | 113 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set() 124 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set() 133 dst->fBottom = SkFixedRoundToInt(xr.fBottom); in XRect_round() 143 dst->fBottom = SkFixedCeilToInt(xr.fBottom); in XRect_roundOut()
|
D | SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; in quick_reject() 120 if (pts[2].fY > clip.fBottom) { in chop_quad_in_Y() 121 if (chopMonoQuadAtY(pts, clip.fBottom, &t)) { in chop_quad_in_Y() 124 clamp_le(tmp[1].fY, clip.fBottom); in chop_quad_in_Y() 125 tmp[2].fY = clip.fBottom; in chop_quad_in_Y() 133 if (pts[i].fY > clip.fBottom) { in chop_quad_in_Y() 134 pts[i].fY = clip.fBottom; in chop_quad_in_Y() 147 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { in clipMonoQuad() 312 if (pts[3].fY > clip.fBottom) { in chop_cubic_in_Y() 314 chop_mono_cubic_at_y(pts, clip.fBottom, tmp); in chop_cubic_in_Y() [all …]
|
/external/skqp/src/core/ |
D | SkRect.cpp | 19 if (fLeft >= fRight || fTop >= fBottom) { in join() 25 if (bottom > fBottom) fBottom = bottom; in join() 36 quad[2].set(fRight, fBottom); in toQuad() 37 quad[3].set(fLeft, fBottom); in toQuad() 106 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); in intersect() 112 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); in intersect() 116 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, b.fLeft, b.fTop, b.fRight, b.fBottom); in intersect() 128 if (fLeft >= fRight || fTop >= fBottom) { in join() 134 fBottom = SkMaxScalar(fBottom, bottom); in join() 158 line.appendf(" %s /* %f */);", set_scalar(&tmp, fBottom, asType), fBottom); in dump() [all …]
|
D | SkLineClipper.cpp | 74 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom; in containsNoEmptyCheck() 92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || in IntersectLine() 93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { in IntersectLine() 114 if (tmp[index1].fY > clip.fBottom) { in IntersectLine() 115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); in IntersectLine() 177 if (pts[index0].fY >= clip.fBottom) { // we're below the clip in ClipLine() 191 if (tmp[index1].fY > clip.fBottom) { in ClipLine() 192 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom); in ClipLine()
|
D | SkScan.h | 111 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set() 122 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set() 131 dst->fBottom = SkFixedRoundToInt(xr.fBottom); in XRect_round() 141 dst->fBottom = SkFixedCeilToInt(xr.fBottom); in XRect_roundOut()
|
/external/skia/docs/ |
D | SkRect_Reference.bmh | 43 vertical values when sorted. When equal to or greater than fBottom, Rect is empty. 52 #Member SkScalar fBottom 202 result in fLeft greater than fRight, or fTop greater than fBottom. 207 #Param b SkScalar stored in fBottom ## 244 #Param h added to y and stored in fBottom ## 304 than fBottom. 336 to or greater than fBottom. Call sort() to reverse rectangles with negative 369 to or less than fBottom. Call sort() to reverse rectangles with negative 456 and sort() to reverse fTop and fBottom if needed. 508 and sort() to reverse fTop and fBottom if needed. [all …]
|