/external/skia/src/gpu/gl/ |
H A D | GrGLIRect.h | 22 GrGLint fBottom; member in struct:GrGLIRect 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); 51 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); 53 fBottom = glRect.fBottom + topOffset; 59 SkASSERT(fBottom >= 0); 65 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 = SkDoubleToScalar(pt.fY); 47 && AlmostLessOrEqualUlps(pt.fY, fBottom);
|
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); 32 SkASSERT(fTop <= fBottom); 34 SkASSERT(r.fTop <= r.fBottom); 35 return r.fLeft <= fRight && fLeft <= r.fRight && r.fTop <= fBottom && fTop <= r.fBottom; 40 fTop = fBottom = pt.fY; 48 return fBottom [all...] |
H A D | SkPathOpsCurve.cpp | 18 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); 28 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); 38 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom));
|
/external/skia/include/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);
|
/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/animator/ |
H A D | SkBoundable.cpp | 18 fBounds.fBottom = 0; 34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
|
H A D | SkDrawPoint.cpp | 43 rect->fTop = rect->fBottom = fPoint.fY;
|
H A D | SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 59 SkScalarToFloat(fRect.fBottom)); 100 fRect.fBottom = scalar + fRect.fTop; 140 SkScalarToFloat(fRect.fBottom), SkScalarToFloat(rx), SkScalarToFloat(ry));
|
/external/skia/include/views/animated/ |
H A D | SkBorderView.h | 25 SkScalar getBottom() const { return fBottom; } 34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side member in class:SkBorderView
|
/external/skia/src/core/ |
H A D | SkRect.cpp | 18 if (fLeft >= fRight || fTop >= fBottom) { 24 if (bottom > fBottom) fBottom = bottom; 32 if (fTop > fBottom) { 33 SkTSwap<int32_t>(fTop, fBottom); 44 quad[2].set(fRight, fBottom); 45 quad[3].set(fLeft, fBottom); 114 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); 120 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); 124 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, [all...] |
H A D | SkScan.h | 88 xr->fBottom = SkIntToFixed(src.fBottom); 99 xr->fBottom = SkScalarToFixed(src.fBottom); 108 dst->fBottom = SkFixedRoundToInt(xr.fBottom); 118 dst->fBottom = SkFixedCeilToInt(xr.fBottom);
|
H A D | SkValidationUtils.h | 36 (rect.fTop <= rect.fBottom) &&
|
H A D | SkEdgeClipper.cpp | 14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 103 if (pts[2].fY > clip.fBottom) { 104 if (chopMonoQuadAtY(pts, clip.fBottom, &t)) { 107 clamp_le(tmp[1].fY, clip.fBottom); 108 tmp[2].fY = clip.fBottom; 116 if (pts[i].fY > clip.fBottom) { 117 pts[i].fY = clip.fBottom; 130 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { 254 if (pts[3].fY > clip.fBottom) { [all...] |
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); 203 if (pts[index0].fY >= clip.fBottom) { // we're below the clip 217 if (tmp[index1].fY > clip.fBottom) { 218 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), cli [all...] |
/external/skia/src/gpu/ |
H A D | GrReorderCommandBuilder.cpp | 11 SkASSERT(a.fLeft <= a.fRight && a.fTop <= a.fBottom && 12 b.fLeft <= b.fRight && b.fTop <= b.fBottom); 14 a.fTop < b.fBottom && b.fTop < a.fBottom;
|
H A D | GrSoftwarePathRenderer.cpp | 101 devPathBounds.fLeft, devPathBounds.fBottom); 106 devClipBounds.fRight, devPathBounds.fBottom); 109 if (devClipBounds.fBottom > devPathBounds.fBottom) { 110 rect.iset(devClipBounds.fLeft, devPathBounds.fBottom, 111 devClipBounds.fRight, devClipBounds.fBottom);
|
H A D | GrTessellatingPathRenderer.cpp | 237 , fBottom(bottom) 250 Vertex* fBottom; // The bottom vertex in vertex-sort-order. member in struct:__anon13989::Edge 272 fDX = static_cast<double>(fBottom->fPoint.fX) - fTop->fPoint.fX; 273 fDY = static_cast<double>(fBottom->fPoint.fY) - fTop->fPoint.fY; 274 fC = static_cast<double>(fTop->fPoint.fY) * fBottom->fPoint.fX - 275 static_cast<double>(fTop->fPoint.fX) * fBottom->fPoint.fY; 279 fTop->fID, fBottom->fID, 280 other.fTop->fID, other.fBottom->fID); 281 if (fTop == other.fTop || fBottom == other.fBottom) { [all...] |
/external/skia/src/svg/parser/ |
H A D | SkSVGSVG.cpp | 49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1) 67 if (box.fBottom != SK_Scalar1) { 69 y.appendScalar(box.fBottom);
|
/external/skia/src/views/animated/ |
H A D | SkBorderView.cpp | 18 fBottom(SkIntToScalar(0)) 76 evt.findScalar("bottomMargin", &fBottom); 81 fMargin.set(fLeft, fTop, fRight, fBottom);
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_Icon.cpp | 156 void CPWL_Icon::GetIconPosition(FX_FLOAT & fLeft, FX_FLOAT & fBottom) argument 160 //m_pIconFit->GetIconPosition(fLeft,fBottom); 162 fBottom = 0.0f; 168 if (dwCount > 1) fBottom = pA->GetNumber(1); 174 fBottom = 0.0f; 249 FX_FLOAT fLeft,fBottom; local 251 this->GetIconPosition(fLeft,fBottom); 270 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);
|
/external/skia/tests/ |
H A D | PathOpsDRectTest.cpp | 56 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom}; 68 SkDPoint rightBottom = {rect2.fRight, rect2.fBottom};
|
/external/skia/src/utils/ |
H A D | SkNinePatch.cpp | 236 fillRow(verts, texs, bounds.fBottom, SkIntToScalar(bitmap.height()), 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 269 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom 280 (SkIntToScalar(margins.fTop) + SkIntToScalar(margins.fBottom)); 288 s.fBottom = srcY[y+1]; 290 d.fBottom = dstY[y+1]; 317 yDivs[1] = bitmap.height() - margins.fBottom; 326 (margins.fTop + margins.fBottom); [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrTextureDomain.cpp | 30 SkASSERT(domain.fTop <= domain.fBottom); 33 fDomain.fTop = SkScalarPin(domain.fTop, kFullRect.fTop, kFullRect.fBottom); 34 fDomain.fBottom = SkScalarPin(domain.fBottom, kFullRect.fTop, kFullRect.fBottom); 36 SkASSERT(fDomain.fTop <= fDomain.fBottom); 299 domain.fBottom = random->nextRangeScalar(domain.fTop, SK_Scalar1);
|