Home
last modified time | relevance | path

Searched refs:setLTRB (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/skia/tests/
DClipCubicTest.cpp92 clipRect.setLTRB(-2, -2, 6, 14); in DEF_TEST()
100 clipRect.setLTRB(-2, 0, 6, 14); in DEF_TEST()
108 clipRect.setLTRB(-2, -2, 6, 12); in DEF_TEST()
116 clipRect.setLTRB(-2, 14, 6, 20); in DEF_TEST()
122 clipRect.setLTRB(-2, 1, 6, 14); in DEF_TEST()
134 clipRect.setLTRB(-2, 2, 6, 14); in DEF_TEST()
146 clipRect.setLTRB(-2, -2, 6, 11); in DEF_TEST()
158 clipRect.setLTRB(-2, -2, 6, 10); in DEF_TEST()
DPathOpsBoundsTest.cpp53 expected.setLTRB(0, 0, 3, 4); in DEF_TEST()
57 ordinal.setLTRB(1, 2, 3, 4); in DEF_TEST()
68 expected.setLTRB(0, 0, 3, 4); in DEF_TEST()
72 expected.setLTRB(0, 0, 5, 6); in DEF_TEST()
DFillPathTest.cpp39 clip.setLTRB(0, height - expected_lines, width, height); in DEF_TEST()
DInfRectTest.cpp16 rect.setLTRB(l, t, r, b); in check_invalid()
/third_party/skia/gm/
Dcomplexclip2.cpp67 fRects[0].setLTRB(xB, yB, xE, yE); in onOnceBeforeDraw()
72 fRects[1].setLTRB(xA, yA, xD, yD); in onOnceBeforeDraw()
77 fRects[2].setLTRB(xC, yA, xF, yD); in onOnceBeforeDraw()
82 fRects[3].setLTRB(xA, yC, xD, yF); in onOnceBeforeDraw()
87 fRects[4].setLTRB(xC, yC, xF, yF); in onOnceBeforeDraw()
Dimage.cpp95 src2.setLTRB(SkIntToScalar(-surf->width() / 2), SkIntToScalar(-surf->height() / 2), in test_surface()
100 dst1.setLTRB(0, 240, 65, 305); in test_surface()
101 dst2.setLTRB(0, 320, 65, 385); in test_surface()
102 dst3.setLTRB(0, 400, 65, 465); in test_surface()
103 dst4.setLTRB(0, 480, 65, 545); in test_surface()
Dfontscaler.cpp63 r.setLTRB(x - 3, 15, x - 1, 280); in onDraw()
Dbigmatrix.cpp66 rect.setLTRB(pt.fX - small, pt.fY - small, pt.fX + small, pt.fY + small);
/third_party/skia/samplecode/
DSampleXfermodesBlur.cpp53 r.setLTRB(0, 0, ww*3/4, hh*3/4); in draw_mode()
62 r.setLTRB(ww/3, hh/3, ww*19/20, hh*19/20); in draw_mode()
114 r.setLTRB(x, y, x+w, y+h); in onDrawContent()
DSampleMegaStroke.cpp16 fClip.setLTRB(0, 0, 950, 600); in MegaStrokeView()
32 fClip.setLTRB(0, 0, 950, 600); in onChar()
/third_party/skia/src/core/
DSkRect.cpp89 this->setLTRB(std::min(min[0], min[2]), std::min(min[1], min[3]), in setBoundsCheck()
99 this->setLTRB(SK_ScalarNaN, SK_ScalarNaN, SK_ScalarNaN, SK_ScalarNaN); in setBoundsNoCheck()
113 this->setLTRB(L, T, R, B); in intersect()
119 this->setLTRB(L, T, R, B); in intersect()
DSkMaskFilter.cpp127 innerR.setLTRB(outerR.left() + cx - mask.fBounds.left(), in draw_nine_clipped()
143 r.setLTRB(innerR.left(), outerR.top(), innerR.right(), innerR.top()); in draw_nine_clipped()
156 r.setLTRB(innerR.left(), innerR.bottom(), innerR.right(), outerR.bottom()); in draw_nine_clipped()
169 r.setLTRB(outerR.left(), innerR.top(), innerR.left(), innerR.bottom()); in draw_nine_clipped()
180 r.setLTRB(innerR.right(), innerR.top(), outerR.right(), innerR.bottom()); in draw_nine_clipped()
DSkScan_Hairline.cpp92 clipR.setLTRB(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop), in HairLineRgn()
94 ptsR.setLTRB(x0, y0, x1, y1); in HairLineRgn()
686 outer.setLTRB(r.fLeft - rx, r.fTop - ry, r.fRight + rx, r.fBottom + ry); in FrameRect()
693 tmp.setLTRB(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + dy); in FrameRect()
699 tmp.setLTRB(outer.fLeft, outer.fTop + dy, outer.fLeft + dx, outer.fBottom - dy); in FrameRect()
/third_party/skia/src/pathops/
DSkPathOpsCurve.cpp68 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds()
78 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds()
88 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setQuadBounds()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathProcessor.h113 fDevBounds.setLTRB( in set()
115 fDevBounds45.setLTRB( in set()
DGrOctoBounds.cpp102 fBounds.setLTRB(l, t, r, b); in clip()
103 fBounds45.setLTRB(l45, t45, r45, b45); in clip()
/third_party/skia/include/core/
DSkRect.h249 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { in setLTRB() function
869 void setLTRB(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in setLTRB() function
1234 dst->setLTRB(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop), in round()
1247 dst->setLTRB(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut()
1259 dst->setLTRB(SkScalarFloorToScalar(fLeft), SkScalarFloorToScalar(fTop), in roundOut()
1272 dst->setLTRB(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop), in roundIn()
/third_party/skia/docs/examples/
DRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
DIRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
/third_party/flutter/skia/docs/examples/
DIRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
DRect_setLTRB.cpp10 rect2.setLTRB(3, 4, 1, 2); in draw()
/third_party/skia/src/gpu/ops/
DSoftwarePathRenderer.cpp172 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devClipBounds.fTop), in DrawAroundInvPath()
178 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
184 rect.setLTRB(SkIntToScalar(devPathBounds.fRight), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
190 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fBottom), in DrawAroundInvPath()
/third_party/flutter/skia/src/core/
DSkRect.cpp98 this->setLTRB(L, T, R, B); in intersect()
108 this->setLTRB(L, T, R, B); in intersect()
/third_party/flutter/skia/src/gpu/
DGrRenderTarget.cpp42 fResolveRect.setLTRB(0, 0, this->width(), this->height()); in flagAsNeedingResolve()
/third_party/flutter/skia/gm/
Dbigmatrix.cpp70 rect.setLTRB(pt.fX - small, pt.fY - small, pt.fX + small, pt.fY + small);

1234