HomeSort by relevance Sort by last modified time
    Searched refs:strokeRec (Results 1 - 20 of 20) 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...]
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...]
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;
GrPathRenderer.h 220 const SkStrokeRec& stroke = style.strokeRec();
GrSWMaskHelper.cpp 56 shape.style().strokeRec().applyToPaint(&paint);
GrRenderTargetContext.cpp 502 const SkStrokeRec& stroke = style->strokeRec();
    [all...]
SkGpuDevice.cpp 437 style.strokeRec(), rrect, devRRect)) {
    [all...]
  /external/skia/include/core/
SkMaskFilter.h 123 const SkStrokeRec& strokeRec,
134 const SkStrokeRec& strokeRec,
  /external/skia/src/gpu/gl/
GrGLPathRange.cpp 36 const SkStrokeRec& stroke = fStyle.strokeRec();
68 GrGLPath::InitPathObjectStroke(gpu, fBasePathID + index, fStyle.strokeRec());
GrGLPath.cpp 293 stroke = style.strokeRec();
  /external/skia/src/gpu/ops/
GrStencilAndCoverPathRenderer.cpp 37 if (args.fShape->style().strokeRec().isHairlineStyle() ||
85 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle());
GrNonAAStrokeRectOp.cpp 222 SkStrokeRec strokeRec(strokePaint);
227 return NonAAStrokeRectOp::Make(std::move(paint), viewMatrix, rect, strokeRec, aaType);
GrAALinearizingConvexPathRenderer.cpp 54 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
333 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
GrDashOp.cpp 55 SkPaint::Cap cap = style.strokeRec().getCap();
63 if (style.strokeRec().getWidth() > intervals[1]) {
740 SkPaint::Cap cap = style.strokeRec().getCap();
743 lineData.fSrcStrokeWidth = style.strokeRec().getWidth();
    [all...]
GrAAHairLinePathRenderer.cpp 760 const SkStrokeRec& stroke = style.strokeRec();
    [all...]
GrOvalOpFactory.cpp 607 const SkStrokeRec& stroke = style.strokeRec();
634 const SkStrokeRec& stroke = style.strokeRec();
    [all...]
  /external/skia/src/gpu/text/
GrStencilAndCoverTextContext.cpp 346 const SkStrokeRec& stroke = fStyle.strokeRec();
354 SkStrokeRec strokeRec(SkStrokeRec::kFill_InitStyle);
355 strokeRec.setStrokeStyle(stroke.needToApply() ? stroke.getWidth() + extra : extra,
357 fStyle = GrStyle(strokeRec, fStyle.refPathEffect());
362 const SkStrokeRec& stroke = fStyle.strokeRec();
369 SkStrokeRec strokeRec(SkStrokeRec::kFill_InitStyle);
370 strokeRec.setStrokeStyle(stroke.getWidth() / fTextRatio,
372 fStyle = GrStyle(strokeRec, fStyle.refPathEffect());
621 fStyle.strokeRec().applyToPaint(&fallbackSkPaint);
623 fallbackSkPaint.setStrokeWidth(fStyle.strokeRec().getWidth() * fTextRatio)
    [all...]
  /external/skia/src/core/
SkMaskFilter.cpp 316 const SkStrokeRec& strokeRec,
326 const SkStrokeRec& strokeRec,
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 60 const SkStrokeRec& strokeRec,
67 const SkStrokeRec& strokeRec,
    [all...]
  /external/skia/tests/
GrShapeTest.cpp 378 REPORTER_ASSERT(r, postPEStrokeRec.hasEqualEffect(fAppliedPE.style().strokeRec()));
387 // strokerec not reflected in postAllStyle since it applied both the path effect
388 // and strokerec without analyzing the intermediate path.
448 const SkStrokeRec::Style strokeRecStyle = shape.style().strokeRec().getStyle();
    [all...]

Completed in 322 milliseconds