/external/skia/include/core/ |
D | SkRect.h | 21 int32_t fLeft, fTop, fRight, fBottom; member 62 int bottom() const { return fBottom; } in bottom() 78 int height() const { return fBottom - fTop; } in height() 98 int centerY() const { return (fBottom + fTop) >> 1; } in centerY() 103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty() 108 SK_MaxS32 == fBottom; } in isLargest() 120 SkIsS16(fRight) && SkIsS16(fBottom); in is16Bit() 131 fBottom = bottom; in set() 142 fBottom = y + height; in setXYWH() 150 fRight = fBottom = SK_MaxS32; in setLargest() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLIRect.h | 22 GrGLint fBottom; member 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 51 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo() 53 fBottom = glRect.fBottom + topOffset; in setRelativeTo() 59 SkASSERT(fBottom >= 0); in setRelativeTo() 65 fBottom <= glRect.fBottom && in contains() 67 fBottom + fHeight >= glRect.fBottom + glRect.fHeight; in contains() 70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
/external/skia/src/core/ |
D | SkRect.cpp | 18 if (fLeft >= fRight || fTop >= fBottom) { in join() 24 if (bottom > fBottom) fBottom = bottom; in join() 32 if (fTop > fBottom) { in sort() 33 SkTSwap<int32_t>(fTop, fBottom); in sort() 44 quad[2].set(fRight, fBottom); in toQuad() 45 quad[3].set(fLeft, fBottom); in toQuad() 114 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); in intersect() 120 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); in intersect() 124 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, b.fLeft, b.fTop, b.fRight, b.fBottom); in intersect() 136 if (fLeft >= fRight || fTop >= fBottom) { in join() [all …]
|
D | SkScan.h | 92 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set() 103 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set() 112 dst->fBottom = SkFixedRoundToInt(xr.fBottom); in XRect_round() 122 dst->fBottom = SkFixedCeilToInt(xr.fBottom); in XRect_roundOut()
|
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() 203 if (pts[index0].fY >= clip.fBottom) { // we're below the clip in ClipLine() 217 if (tmp[index1].fY > clip.fBottom) { in ClipLine() 218 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom); in ClipLine()
|
D | SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; in quick_reject() 103 if (pts[2].fY > clip.fBottom) { in chop_quad_in_Y() 104 if (chopMonoQuadAtY(pts, clip.fBottom, &t)) { in chop_quad_in_Y() 107 clamp_le(tmp[1].fY, clip.fBottom); in chop_quad_in_Y() 108 tmp[2].fY = clip.fBottom; in chop_quad_in_Y() 116 if (pts[i].fY > clip.fBottom) { in chop_quad_in_Y() 117 pts[i].fY = clip.fBottom; in chop_quad_in_Y() 130 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { in clipMonoQuad() 279 if (pts[3].fY > clip.fBottom) { in chop_cubic_in_Y() 281 chop_mono_cubic_at_y(pts, clip.fBottom, tmp); in chop_cubic_in_Y() [all …]
|
D | SkNinePatchIter.cpp | 25 fSrcY[2] = SkIntToScalar(c.fBottom); in SkNinePatchIter() 35 fDstY[2] = dst.fBottom - SkIntToScalar(h - c.fBottom); in SkNinePatchIter() 36 fDstY[3] = dst.fBottom; in SkNinePatchIter()
|
D | SkScan_Path.cpp | 455 if (rect.fBottom > stop_y) { in sk_fill_path() 456 rect.fBottom = stop_y; in sk_fill_path() 490 if (clipRect && stop_y > clipRect->fBottom) { in sk_fill_path() 491 stop_y = clipRect->fBottom; in sk_fill_path() 525 tmp.fBottom = ir.fTop; in sk_blit_above() 537 tmp.fTop = ir.fBottom; in sk_blit_below() 538 tmp.fBottom = cr.fBottom; in sk_blit_below() 627 SkDScalarRoundToInt(src.fRight), SkDScalarRoundToInt(src.fBottom)); in round_asymmetric_to_int() 670 sk_fill_path(path, clipper.getClipRect(), blitter, ir.fTop, ir.fBottom, in FillPath() 736 int stop_y = ir.fBottom; in sk_fill_triangle() [all …]
|
D | SkScan_Hairline.cpp | 88 SkIntToFDot6(bounds.fRight), SkIntToFDot6(bounds.fBottom)); in HairLineRgn() 96 ptsR.fBottom += SK_FDot6One; in HairLineRgn() 155 (SkScalarToFixed(rect.fBottom) >> 16) + 1); in HairRect() 186 blitter->blitH(r.fLeft, r.fBottom - 1, width); // bottom in HairRect() 333 return r.fLeft > r.fRight || r.fTop > r.fBottom; in is_inverted() 341 a.fTop < b.fBottom && b.fTop < a.fBottom; in geometric_overlap() 349 inner.fBottom <= outer.fBottom && inner.fTop >= outer.fTop; in geometric_contains() 629 r.fRight + rx, r.fBottom + ry); in FrameRect() 638 tmp.fTop = outer.fBottom - dy; in FrameRect() 639 tmp.fBottom = outer.fBottom; in FrameRect() [all …]
|
/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()
|
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 = SkDoubleToScalar(pt.fY); in add() 47 && AlmostLessOrEqualUlps(pt.fY, fBottom); in almostContains()
|
D | SkPathOpsCurve.cpp | 18 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setConicBounds() 28 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setCubicBounds() 38 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setQuadBounds()
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 235 , fBottom(bottom) in Edge() 248 Vertex* fBottom; // The bottom vertex in vertex-sort-order. member 270 fDX = static_cast<double>(fBottom->fPoint.fX) - fTop->fPoint.fX; in recompute() 271 fDY = static_cast<double>(fBottom->fPoint.fY) - fTop->fPoint.fY; in recompute() 272 fC = static_cast<double>(fTop->fPoint.fY) * fBottom->fPoint.fX - in recompute() 273 static_cast<double>(fTop->fPoint.fX) * fBottom->fPoint.fY; in recompute() 277 fTop->fID, fBottom->fID, in intersect() 278 other.fTop->fID, other.fBottom->fID); in intersect() 279 if (fTop == other.fTop || fBottom == other.fBottom) { in intersect() 646 LOG("removing edge %g -> %g\n", edge->fTop->fID, edge->fBottom->fID); in remove_edge() [all …]
|
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()
|
D | GrTextureParamsAdjuster.cpp | 90 domain.fBottom = (subset->fBottom - 0.5f) * sy; in copy_on_gpu() 110 localRect.fBottom *= sy; in copy_on_gpu() 132 contentArea.fRight < original->width() || contentArea.fBottom < original->height()) { in GrTextureAdjuster() 275 domainRect->fBottom = constraintRect.fBottom - kDomainInset; in determine_domain_mode() 302 if (textureContentArea->fBottom < texH && in determine_domain_mode() 303 textureContentArea->fBottom - filterHalfWidth < constraintRect.fBottom) { in determine_domain_mode() 304 domainRect->fBottom = textureContentArea->fBottom - kDomainInset; in determine_domain_mode() 322 if (textureContentArea->fBottom != texH) { in determine_domain_mode() 323 domainRect->fBottom = textureContentArea->fBottom - kDomainInset; in determine_domain_mode() 333 if (domainRect->fTop > domainRect->fBottom) { in determine_domain_mode() [all …]
|
D | GrSoftwarePathRenderer.cpp | 99 devPathBounds.fLeft, devPathBounds.fBottom); in draw_around_inv_path() 104 devClipBounds.fRight, devPathBounds.fBottom); in draw_around_inv_path() 107 if (devClipBounds.fBottom > devPathBounds.fBottom) { in draw_around_inv_path() 108 rect.iset(devClipBounds.fLeft, devPathBounds.fBottom, in draw_around_inv_path() 109 devClipBounds.fRight, devClipBounds.fBottom); in draw_around_inv_path()
|
D | GrDrawTarget.cpp | 427 SkASSERT(a.fLeft <= a.fRight && a.fTop <= a.fBottom && in intersect() 428 b.fLeft <= b.fRight && b.fTop <= b.fBottom); in intersect() 429 return a.fLeft < b.fRight && b.fLeft < a.fRight && a.fTop < b.fBottom && b.fTop < a.fBottom; in intersect() 446 batch->bounds().fTop, batch->bounds().fBottom); in recordBatch() 500 viewport.fBottom = 0; in installPipelineInDrawBatch() 506 ibounds.fTop = SkTPin(SkScalarFloorToInt(batch->bounds().fTop), viewport.fBottom, in installPipelineInDrawBatch() 510 ibounds.fBottom = SkTPin(SkScalarCeilToInt(batch->bounds().fBottom), viewport.fBottom, in installPipelineInDrawBatch()
|
/external/pdfium/xfa/src/fwl/src/theme/ |
D | checkboxtp.cpp | 114 FX_FLOAT fBottom = pRect->bottom(); in DrawBoxBk() local 163 DrawAxialShading(pGraphics, pRect->left - 1, pRect->top - 1, fRight, fBottom, in DrawBoxBk() 278 FX_FLOAT fBottom = pRtSign->bottom(); in DrawSignCross() local 279 path.AddLine(pRtSign->left, pRtSign->top, fRight, fBottom); in DrawSignCross() 280 path.AddLine(pRtSign->left, fBottom, fRight, pRtSign->top); in DrawSignCross() 296 FX_FLOAT fBottom = pRtSign->bottom(); in DrawSignDiamond() local 299 path.LineTo(pRtSign->left + fWidth / 2, fBottom); in DrawSignDiamond() 328 FX_FLOAT fBottom = pRtSign->bottom(); in DrawSignStar() local 330 (pRtSign->top - fBottom) / (1 + (FX_FLOAT)cos(FX_PI / 5.0f)); in DrawSignStar() 333 (pRtSign->top + fBottom) / 2.0f); in DrawSignStar() [all …]
|
D | formtp.cpp | 283 FX_FLOAT fBottom, fRight; in DrawFormBorder() local 284 fBottom = pRect->bottom(); in DrawFormBorder() 291 path.LineTo(pRect->left, fBottom - 1); in DrawFormBorder() 292 path.LineTo(fRight - 1, fBottom - 1); in DrawFormBorder() 299 path.LineTo(pRect->left + 1, fBottom - 2); in DrawFormBorder() 300 path.LineTo(fRight - 2, fBottom - 2); in DrawFormBorder() 307 path.LineTo(pRect->left + 2, fBottom - 3); in DrawFormBorder() 308 path.LineTo(fRight - 3, fBottom - 3); in DrawFormBorder() 315 path.LineTo(pRect->left + 3, fBottom - 4); in DrawFormBorder() 316 path.LineTo(fRight - 4, fBottom - 4); in DrawFormBorder() [all …]
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Icon.cpp | 126 void CPWL_Icon::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) { in GetIconPosition() argument 129 fBottom = 0.0f; in GetIconPosition() 137 fBottom = pA->GetNumber(1); in GetIconPosition() 141 fBottom = 0.0f; in GetIconPosition() 200 FX_FLOAT fLeft, fBottom; in GetImageOffset() local 202 GetIconPosition(fLeft, fBottom); in GetImageOffset() 221 y = (fPlateHeight - fImageFactHeight) * fBottom; in GetImageOffset()
|
/external/skia/src/utils/ |
D | SkNinePatch.cpp | 236 fillRow(verts, texs, bounds.fBottom, SkIntToScalar(bitmap.height()), in DrawMesh() 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() in drawNineViaRects() 269 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom in drawNineViaRects() 280 (SkIntToScalar(margins.fTop) + SkIntToScalar(margins.fBottom)); in drawNineViaRects() 288 s.fBottom = srcY[y+1]; in drawNineViaRects() 290 d.fBottom = dstY[y+1]; in drawNineViaRects() 317 yDivs[1] = bitmap.height() - margins.fBottom; in DrawNine() 326 (margins.fTop + margins.fBottom); in DrawNine()
|
/external/skia/src/animator/ |
D | SkBoundable.cpp | 18 fBounds.fBottom = 0; in SkBoundable() 34 rect->fBottom = SkIntToScalar(fBounds.fBottom); in getBounds()
|
D | SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 59 SkScalarToFloat(fRect.fBottom)); in dump() 100 fRect.fBottom = scalar + fRect.fTop; in setProperty() 140 SkScalarToFloat(fRect.fBottom), SkScalarToFloat(rx), SkScalarToFloat(ry)); in dump()
|
/external/skia/src/gpu/batches/ |
D | GrAAStrokeRectBatch.cpp | 21 r.fRight - dx, r.fBottom - dy, stride); in set_inset_fan() 405 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() 407 inset = SK_ScalarHalf * SkMinScalar(inset, devOutsideAssist.fBottom - in generateAAStrokeRectGeometry() 408 devInside.fBottom); in generateAAStrokeRectGeometry() 441 devInside.fTop == devInside.fBottom); in generateAAStrokeRectGeometry() 443 devInside.fRight, devInside.fBottom, vertexStride); in generateAAStrokeRectGeometry() 445 devInside.fRight, devInside.fBottom, vertexStride); in generateAAStrokeRectGeometry() 467 devInside.fTop == devInside.fBottom); in generateAAStrokeRectGeometry() 469 devInside.fRight, devInside.fBottom, vertexStride); in generateAAStrokeRectGeometry() 471 devInside.fRight, devInside.fBottom, vertexStride); in generateAAStrokeRectGeometry() [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_ap.cpp | 809 FX_FLOAT fBottom = rect.bottom; in GenerateBorderAP() local 818 sAppStream << fLeft << " " << fBottom << " " << fRight - fLeft << " " in GenerateBorderAP() 819 << fTop - fBottom << " re\n"; in GenerateBorderAP() 820 sAppStream << fLeft + fWidth << " " << fBottom + fWidth << " " in GenerateBorderAP() 822 << fTop - fBottom - fWidth * 2 << " re\n"; in GenerateBorderAP() 833 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 in GenerateBorderAP() 839 sAppStream << fRight - fWidth / 2 << " " << fBottom + fWidth / 2 in GenerateBorderAP() 841 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 in GenerateBorderAP() 850 sAppStream << fLeft + fHalfWidth << " " << fBottom + fHalfWidth in GenerateBorderAP() 861 << fBottom + fHalfWidth * 2 << " l f\n"; in GenerateBorderAP() [all …]
|