Lines Matching refs:src
8 #include "src/core/SkStrokerPriv.h"
12 #include "src/core/SkGeometry.h"
13 #include "src/core/SkPathPriv.h"
14 #include "src/core/SkPointPriv.h"
161 SkPathStroker(const SkPath& src,
377 SkPathStroker::SkPathStroker(const SkPath& src,
409 fOuter.incReserve(src.countPoints() * 3);
411 fInner.incReserve(src.countPoints());
1342 #include "src/core/SkPaintDefaults.h"
1393 // If src==dst, then we use a tmp path to record the stroke, and then swap
1394 // its contents with src when we're done.
1397 AutoTmpPath(const SkPath& src, SkPath** dst) : fSrc(src) {
1398 if (&src == *dst) {
1419 void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
1424 AutoTmpPath tmp(src, &dst);
1430 // If src is really a rect, call our specialty strokeRect() method
1435 if (src.isRect(&rect, &isClosed, &dir) && isClosed) {
1437 // our answer should preserve the inverseness of the src
1438 if (src.isInverseFillType()) {
1448 bool ignoreCenter = fDoFill && (src.getSegmentMasks() == SkPath::kLine_SegmentMask) &&
1449 src.isLastContourClosed() && src.isConvex();
1451 SkPathStroker stroker(src, radius, fMiterLimit, this->getCap(), this->getJoin(),
1453 SkPath::Iter iter(src, false);
1507 if (SkPathPriv::ComputeFirstDirection(src) == SkPathFirstDirection::kCCW) {
1508 dst->reverseAddPath(src);
1510 dst->addPath(src);
1513 // Seems like we can assume that a 2-point src would always result in
1528 if (2 == src.countPoints()) {
1534 // our answer should preserve the inverseness of the src
1535 if (src.isInverseFillType()) {