HomeSort by relevance Sort by last modified time
    Searched defs:strokeRec (Results 1 - 3 of 3) sorted by null

  /external/skia/src/gpu/
GrStyle.cpp 26 if (style.strokeRec().needToApply()) {
63 if (Apply::kPathEffectAndStrokeRec == apply && style.strokeRec().needToApply()) {
80 cap = style.strokeRec().getCap();
87 join = style.strokeRec().getJoin();
90 miter = style.strokeRec().getMiter();
94 key[i++] = style.strokeRec().getStyle() |
100 SkScalar width = style.strokeRec().getWidth();
129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const {
135 // we can control whether the dasher applies the strokeRec for special cases. Our keying
136 // depends on the strokeRec being applied separately
    [all...]
GrStyle.h 62 * either reflect just the path effect (if one) or the path effect and the strokerec. Note
80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) {
139 const SkStrokeRec& strokeRec() const { return fStrokeRec; }
164 * strokerec doesn't change the geometry. When this fails the outputs may or may not have
207 bool applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const;
GrShape.cpp 290 SkStrokeRec strokeRec = parent.fStyle.strokeRec();
291 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect,
293 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr));
299 SkASSERT(scale == strokeRec.getResScale());
300 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) {
303 // when we subsequently applied the remaining strokeRec we would have a non-path
306 // the simpler shape so that applying both path effect and the strokerec all at
308 tmpParent.init(this->path(), GrStyle(strokeRec, nullptr));
315 // The parent shape may have simplified away the strokeRec, check for that here
    [all...]

Completed in 101 milliseconds