Searched defs:rrect (Results 126 - 139 of 139) sorted by relevance

123456

/external/skia/src/gpu/
H A DGrRenderTargetContext.cpp371 SkRRect rrect; local
378 if (!paint.numTotalFragmentProcessors() && clip.isRRect(r, &rrect, &aa) && !rrect.isRect()) {
379 this->drawRRect(GrNoClip(), std::move(paint), aa, SkMatrix::I(), rrect, local
552 SkRRect rrect = SkRRect::MakeRectXY(rect.makeOutset(r, r), r, r); local
553 this->drawRRect(clip, std::move(paint), aa, viewMatrix, rrect,
892 const SkRRect& rrect,
898 if (rrect.isEmpty()) {
911 if (rrect.transform(viewMatrix, &devRRect) && clip->quickContains(devRRect)) {
925 rrect,
888 drawRRect(const GrClip& origClip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkRRect& rrect, const GrStyle& style) argument
966 SkRRect rrect; local
1494 SkRRect rrect; local
[all...]
/external/skia/tests/
H A DGrShapeTest.cpp111 // GrShape only respects the input winding direction and start point for rrect shapes
112 // when there is a path effect. Thus, if there are two GrShapes representing the same rrect
368 RRectGeo(const SkRRect& rrect) : fRRect(rrect) {} argument
454 // The fill is ignored (zero area) and the stroke is converted to a rrect.
508 const SkRRect& rrect() const { return fRRect; } function in class:__anon20940::RRectPathGeo
599 // If the output of the path effect is a rrect then it is possible for a and b to be
602 // fAppliedPEThenStroke will have converted the rrect_as_path back to a rrect. However,
1140 * This path effect takes any input path and turns it into a rrect. It passes through stroke
1197 SkRRect rrect; local
1603 canonicalize_rrect_start(int s, const SkRRect& rrect) argument
1614 test_rrect(skiatest::Reporter* r, const SkRRect& rrect) argument
2223 SkRRect rrect; local
[all...]
H A DPathTest.cpp36 SkRRect rrect; local
37 rrect.setRectRadii(bounds, radii);
38 REPORTER_ASSERT(reporter, bounds == rrect.rect());
42 path.addRRect(rrect);
/external/skqp/src/gpu/
H A DGrRenderTargetContext.cpp369 SkRRect rrect; local
376 if (!paint.numTotalFragmentProcessors() && clip.isRRect(r, &rrect, &aa) && !rrect.isRect()) {
377 this->drawRRect(GrNoClip(), std::move(paint), aa, SkMatrix::I(), rrect, local
550 SkRRect rrect = SkRRect::MakeRectXY(rect.makeOutset(r, r), r, r); local
551 this->drawRRect(clip, std::move(paint), aa, viewMatrix, rrect,
890 const SkRRect& rrect,
896 if (rrect.isEmpty()) {
909 if (rrect.transform(viewMatrix, &devRRect) && clip->quickContains(devRRect)) {
923 rrect,
886 drawRRect(const GrClip& origClip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkRRect& rrect, const GrStyle& style) argument
964 SkRRect rrect; local
1492 SkRRect rrect; local
[all...]
/external/skqp/tests/
H A DGrShapeTest.cpp111 // GrShape only respects the input winding direction and start point for rrect shapes
112 // when there is a path effect. Thus, if there are two GrShapes representing the same rrect
368 RRectGeo(const SkRRect& rrect) : fRRect(rrect) {} argument
426 // The fill is ignored (zero area) and the stroke is converted to a rrect.
480 const SkRRect& rrect() const { return fRRect; } function in class:__anon21608::RRectPathGeo
571 // If the output of the path effect is a rrect then it is possible for a and b to be
574 // fAppliedPEThenStroke will have converted the rrect_as_path back to a rrect. However,
1112 * This path effect takes any input path and turns it into a rrect. It passes through stroke
1169 SkRRect rrect; local
1575 canonicalize_rrect_start(int s, const SkRRect& rrect) argument
1586 test_rrect(skiatest::Reporter* r, const SkRRect& rrect) argument
2191 SkRRect rrect; local
[all...]
H A DPathTest.cpp36 SkRRect rrect; local
37 rrect.setRectRadii(bounds, radii);
38 REPORTER_ASSERT(reporter, bounds == rrect.rect());
42 path.addRRect(rrect);
/external/skia/src/core/
H A DSkCanvas.cpp75 void onClipRRect(const SkRRect& rrect, SkClipOp, bool aa) override {}
1429 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { argument
1432 if (rrect.isRect()) {
1433 this->onClipRect(rrect.getBounds(), op, edgeStyle);
1435 this->onClipRRect(rrect, op, edgeStyle);
1439 void SkCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle edgeStyle) { argument
1444 FOR_EACH_TOP_DEVICE(device->clipRRect(rrect, op, isAA));
1446 fMCRec->fRasterClip.opRRect(rrect, fMCRec->fMatrix, this->getTopLayerBounds(), (SkRegion::Op)op,
1461 SkRRect rrect; local
1463 rrect
1733 drawRRect(const SkRRect& rrect, const SkPaint& paint) argument
2128 onDrawRRect(const SkRRect& rrect, const SkPaint& paint) argument
2793 SkRRect rrect; local
[all...]
H A DSkPath.cpp640 bool SkPath::isRRect(SkRRect* rrect) const {
641 return SkPathPriv::IsRRect(*this, rrect, nullptr, nullptr);
967 RRectPointIterator(const SkRRect& rrect, SkPath::Direction dir, unsigned startIndex) argument
970 const SkRect& bounds = rrect.getBounds();
976 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T);
977 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T);
978 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY);
979 fPts[3] = SkPoint::Make(R, B - rrect.radii(SkRRect::kLowerRight_Corner).fY);
980 fPts[4] = SkPoint::Make(R - rrect.radii(SkRRect::kLowerRight_Corner).fX, B);
981 fPts[5] = SkPoint::Make(L + rrect
1126 SkRRect rrect; local
1131 addRRect(const SkRRect& rrect, Direction dir) argument
1136 addRRect(const SkRRect &rrect, Direction dir, unsigned startIndex) argument
1234 SkRRect rrect; local
[all...]
/external/skia/src/pdf/
H A DSkPDFDevice.cpp787 void SkPDFDevice::drawRRect(const SkRRect& rrect, argument
793 path.addRRect(rrect);
/external/skqp/src/core/
H A DSkCanvas.cpp75 void onClipRRect(const SkRRect& rrect, SkClipOp, bool aa) override {}
1433 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { argument
1436 if (rrect.isRect()) {
1437 this->onClipRect(rrect.getBounds(), op, edgeStyle);
1439 this->onClipRRect(rrect, op, edgeStyle);
1443 void SkCanvas::onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle edgeStyle) { argument
1448 FOR_EACH_TOP_DEVICE(device->clipRRect(rrect, op, isAA));
1450 fMCRec->fRasterClip.opRRect(rrect, fMCRec->fMatrix, this->getTopLayerBounds(), (SkRegion::Op)op,
1465 SkRRect rrect; local
1467 rrect
1737 drawRRect(const SkRRect& rrect, const SkPaint& paint) argument
2102 onDrawRRect(const SkRRect& rrect, const SkPaint& paint) argument
2767 SkRRect rrect; local
[all...]
H A DSkPath.cpp958 RRectPointIterator(const SkRRect& rrect, SkPath::Direction dir, unsigned startIndex) argument
961 const SkRect& bounds = rrect.getBounds();
967 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T);
968 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T);
969 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY);
970 fPts[3] = SkPoint::Make(R, B - rrect.radii(SkRRect::kLowerRight_Corner).fY);
971 fPts[4] = SkPoint::Make(R - rrect.radii(SkRRect::kLowerRight_Corner).fX, B);
972 fPts[5] = SkPoint::Make(L + rrect.radii(SkRRect::kLowerLeft_Corner).fX, B);
973 fPts[6] = SkPoint::Make(L, B - rrect.radii(SkRRect::kLowerLeft_Corner).fY);
974 fPts[7] = SkPoint::Make(L, T + rrect
1117 SkRRect rrect; local
1122 addRRect(const SkRRect& rrect, Direction dir) argument
1127 addRRect(const SkRRect &rrect, Direction dir, unsigned startIndex) argument
1225 SkRRect rrect; local
2074 SkRRect rrect; local
2155 SkRRect rrect; local
[all...]
/external/skqp/src/pdf/
H A DSkPDFDevice.cpp787 void SkPDFDevice::drawRRect(const SkRRect& rrect, argument
793 path.addRRect(rrect);
/external/skia/tools/debugger/
H A DSkDrawCommand.cpp404 void render_rrect(SkCanvas* canvas, const SkRRect& rrect) { argument
408 const SkRect& bounds = rrect.getBounds();
416 canvas->drawRRect(rrect, p);
550 static Json::Value make_json_rrect(const SkRRect& rrect) { argument
552 result.append(SkDrawCommand::MakeJsonRect(rrect.rect()));
553 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kUpperLeft_Corner)));
554 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kUpperRight_Corner)));
555 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kLowerRight_Corner)));
556 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kLowerLeft_Corner)));
1681 static void extract_json_rrect(Json::Value& rrect, SkRRec argument
1897 SkClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA) argument
1927 SkRRect rrect; local
3197 SkDrawRRectCommand(const SkRRect& rrect, const SkPaint& paint) argument
[all...]
/external/skqp/tools/debugger/
H A DSkDrawCommand.cpp404 void render_rrect(SkCanvas* canvas, const SkRRect& rrect) { argument
408 const SkRect& bounds = rrect.getBounds();
416 canvas->drawRRect(rrect, p);
550 static Json::Value make_json_rrect(const SkRRect& rrect) { argument
552 result.append(SkDrawCommand::MakeJsonRect(rrect.rect()));
553 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kUpperLeft_Corner)));
554 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kUpperRight_Corner)));
555 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kLowerRight_Corner)));
556 result.append(SkDrawCommand::MakeJsonPoint(rrect.radii(SkRRect::kLowerLeft_Corner)));
1681 static void extract_json_rrect(Json::Value& rrect, SkRRec argument
1897 SkClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA) argument
1927 SkRRect rrect; local
3197 SkDrawRRectCommand(const SkRRect& rrect, const SkPaint& paint) argument
[all...]

Completed in 1361 milliseconds

123456