/external/skia/src/gpu/gl/ |
H A D | GrGLIRect.h | 22 GrGLint fBottom; member in struct:GrGLIRect 33 GR_STATIC_ASSERT(4 == offsetof(GrGLIRect, fBottom)); 41 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); 45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); 70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); 72 fBottom = glRect.fBottom + topOffset; 82 fBottom <= glRect.fBottom [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsBounds.h | 18 && AlmostLessOrEqualUlps(a.fTop, b.fBottom) 19 && AlmostLessOrEqualUlps(b.fTop, a.fBottom); 29 if (bottom > fBottom) fBottom = bottom; 33 add(toAdd.fLeft, toAdd.fTop, toAdd.fRight, toAdd.fBottom); 40 if (pt.fY > fBottom) fBottom = pt.fY; 47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); 54 && AlmostLessOrEqualUlps(pt.fY, fBottom); [all...] |
H A D | SkPathOpsRect.h | 13 double fLeft, fTop, fRight, fBottom; member in struct:SkDRect 19 fBottom = SkTMax(fBottom, pt.fY); 24 && approximately_between(fTop, pt.fY, fBottom); 31 SkASSERT(fTop <= fBottom); 33 SkASSERT(r.fTop <= r.fBottom); 34 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom; 39 fTop = fBottom = pt.fY; 47 return fBottom [all...] |
/external/pdfium/core/fpdfdoc/ |
H A D | cpdf_iconfit.cpp | 31 void CPDF_IconFit::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) { argument 32 fLeft = fBottom = 0.5; 42 fBottom = pA->GetNumberAt(1);
|
H A D | cpdf_iconfit.h | 22 void GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom);
|
/external/skia/src/gpu/ |
H A D | GrRect.h | 15 int16_t fLeft, fTop, fRight, fBottom; member in struct:GrIRect16 36 int height() const { return fBottom - fTop; } 38 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 46 fBottom = bottom; 53 fBottom = SkToS16(r.fBottom);
|
H A D | GrClip.h | 78 innerClipBounds.fBottom - innerClipBounds.fTop > kBoundsTolerance && 82 innerClipBounds.fBottom > queryBounds.fBottom - kBoundsTolerance; 94 outerClipBounds.fBottom - outerClipBounds.fTop <= kBoundsTolerance || 96 outerClipBounds.fTop >= queryBounds.fBottom - kBoundsTolerance || 98 outerClipBounds.fBottom <= queryBounds.fTop + kBoundsTolerance; 108 SkScalarCeilToInt(bounds.fBottom - kBoundsTolerance)); 118 SkScalarCeilToScalar(bounds.fBottom - kBoundsTolerance)); 128 SkScalarAbs(SkScalarRoundToScalar(rect.fBottom) - rect.fBottom) < [all...] |
H A D | GrTextureProducer.cpp | 189 if ((!proxyIsExact || contentRect->fBottom < proxy->height()) && 190 contentRect->fBottom - filterHalfWidth < constraintRect.fBottom) { 191 domainRect->fBottom = contentRect->fBottom - kDomainInset; 209 if (!proxyIsExact || contentRect->fBottom < proxy->height()) { 210 domainRect->fBottom = contentRect->fBottom - kDomainInset; 220 if (domainRect->fTop > domainRect->fBottom) { 221 domainRect->fTop = domainRect->fBottom [all...] |
H A D | GrTessellator.cpp | 333 , fBottom(bottom) 353 Vertex* fBottom; // The bottom vertex in vertex-sort-order. member in struct:__anon17043::Edge 380 fLine = Line(fTop, fBottom); 384 fTop->fID, fBottom->fID, 385 other.fTop->fID, other.fBottom->fID); 386 if (fTop == other.fTop || fBottom == other.fBottom) { 409 *alpha = (1.0 - s) * fTop->fAlpha + s * fBottom->fAlpha; 412 *alpha = (1.0 - t) * other.fTop->fAlpha + t * other.fBottom->fAlpha; 506 vertices.append(e->fBottom); [all...] |
H A D | GrQuad.h | 31 fPoints->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom);
|
/external/skia/include/core/ |
H A D | SkRect.h | 21 int32_t fLeft, fTop, fRight, fBottom; member in struct:SkIRect 62 int bottom() const { return fBottom; } 78 int height() const { return fBottom - fTop; } 98 int centerY() const { return (fBottom + fTop) >> 1; } 103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 108 SK_MaxS32 == fBottom; } 120 SkIsS16(fRight) && SkIsS16(fBottom); 131 fBottom = bottom; 142 fBottom = y + height; 150 fRight = fBottom [all...] |
/external/skia/src/core/ |
H A D | SkRect.cpp | 19 if (fLeft >= fRight || fTop >= fBottom) { 25 if (bottom > fBottom) fBottom = bottom; 33 if (fTop > fBottom) { 34 SkTSwap<int32_t>(fTop, fBottom); 45 quad[2].set(fRight, fBottom); 46 quad[3].set(fLeft, fBottom); 115 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); 121 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); 125 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, [all...] |
H A D | SkScan.h | 101 xr->fBottom = SkIntToFixed(src.fBottom); 112 xr->fBottom = SkScalarToFixed(src.fBottom); 121 dst->fBottom = SkFixedRoundToInt(xr.fBottom); 131 dst->fBottom = SkFixedCeilToInt(xr.fBottom);
|
H A D | SkValidationUtils.h | 37 (rect.fTop <= rect.fBottom) &&
|
H A D | SkLineClipper.cpp | 74 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom; 92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 114 if (tmp[index1].fY > clip.fBottom) { 115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); 177 if (pts[index0].fY >= clip.fBottom) { // we're below the clip 191 if (tmp[index1].fY > clip.fBottom) { 192 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), cli [all...] |
H A D | SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 120 if (pts[2].fY > clip.fBottom) { 121 if (chopMonoQuadAtY(pts, clip.fBottom, &t)) { 124 clamp_le(tmp[1].fY, clip.fBottom); 125 tmp[2].fY = clip.fBottom; 133 if (pts[i].fY > clip.fBottom) { 134 pts[i].fY = clip.fBottom; 147 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { 312 if (pts[3].fY > clip.fBottom) { [all...] |
H A D | SkLatticeIter.cpp | 42 && valid_divs(lattice.fYDivs, lattice.fYCount, latticeBounds.fTop, latticeBounds.fBottom); 151 int yCountScalable = count_scalable_pixels(yDivs, yCount, yIsScalable, src.fTop, src.fBottom); 162 src.fTop, src.fBottom, dst.fTop, dst.fBottom, yIsScalable); 222 fSrcY[2] = SkIntToScalar(c.fBottom); 232 fDstY[2] = dst.fBottom - SkIntToScalar(h - c.fBottom); 233 fDstY[3] = dst.fBottom;
|
/external/pdfium/xfa/fwl/theme/ |
H A D | cfwl_checkboxtp.cpp | 96 FX_FLOAT fBottom = pRtSign->bottom(); local 97 path.AddLine(pRtSign->TopLeft(), CFX_PointF(fRight, fBottom)); 98 path.AddLine(CFX_PointF(pRtSign->left, fBottom), 116 FX_FLOAT fBottom = pRtSign->bottom(); local 119 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, fBottom)); 149 FX_FLOAT fBottom = pRtSign->bottom(); local 151 (pRtSign->top - fBottom) / (1 + static_cast<FX_FLOAT>(cos(FX_PI / 5.0f))); 153 (pRtSign->top + fBottom) / 2.0f); 225 FX_FLOAT fBottom = kSignPath; local 226 CFX_PointF pt1(fWidth / 15.0f, fBottom [all...] |
H A D | cfwl_pushbuttontp.cpp | 33 FX_FLOAT fBottom = rect.bottom(); local 40 strokePath.LineTo(CFX_PointF(fRight, fBottom - PUSHBUTTON_SIZE_Corner)); 41 strokePath.LineTo(CFX_PointF(fRight - PUSHBUTTON_SIZE_Corner, fBottom)); 43 CFX_PointF(rect.left + PUSHBUTTON_SIZE_Corner, fBottom)); 45 CFX_PointF(rect.left, fBottom - PUSHBUTTON_SIZE_Corner));
|
/external/skia/src/gpu/ops/ |
H A D | GrCopySurfaceOp.cpp | 49 if (clippedSrcRect->fBottom > src->height()) { 50 clippedSrcRect->fBottom = src->height(); 53 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY;
|
H A D | GrNonAAStrokeRectOp.cpp | 33 verts[4].set(rect.fRight - rad, rect.fBottom - rad); 34 verts[5].set(rect.fRight + rad, rect.fBottom + rad); 35 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); 36 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); 60 fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, fStrokeWidth); 93 SkScalarFloorToScalar(bounds.fBottom)); 154 vertex[2].set(fRect.fRight, fRect.fBottom); 155 vertex[3].set(fRect.fLeft, fRect.fBottom);
|
/external/skia/tests/ |
H A D | BlitMaskClip.cpp | 22 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom); 57 for (int top = b.fTop; top < b.fBottom; top++) { 58 for (int bottom = top + 1; bottom <= b.fBottom; bottom++) {
|
H A D | PathOpsDRectTest.cpp | 58 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; 72 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom};
|
/external/pdfium/fpdfsdk/pdfwindow/ |
H A D | PWL_Icon.cpp | 135 void CPWL_Icon::GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom) { argument 138 fBottom = 0.0f; 147 fBottom = pA->GetNumberAt(1); 151 fBottom = 0.0f; 203 FX_FLOAT fLeft, fBottom; local 205 GetIconPosition(fLeft, fBottom); 224 y = (fPlateHeight - fImageFactHeight) * fBottom;
|
/external/skia/bench/ |
H A D | RTreeBench.cpp | 87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 103 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 111 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 120 out.fBottom = out.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
|