Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/skia/include/core/
DSkStrokeRec.h36 Style getStyle() const;
43 return kHairline_Style == this->getStyle(); in isHairlineStyle()
47 return kFill_Style == this->getStyle(); in isFillStyle()
80 Style style = this->getStyle(); in needToApply()
127 return this->getStyle() == other.getStyle(); in hasEqualEffect()
DSkPaint.h198 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle() function
655 SkPaint::Style style = this->getStyle(); in computeFastBounds()
/third_party/skia/src/gpu/
DGrStyle.cpp94 key[i++] = style.strokeRec().getStyle() | in WriteKey()
115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect()
197 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath()
198 SkStrokeRec::kHairline_Style == strokeRec.getStyle()); in applyToPath()
199 *style = strokeRec.getStyle() == SkStrokeRec::kFill_Style in applyToPath()
DGrUtil.cpp78 return stroke.getStyle() == SkStrokeRec::kStroke_Style && in GrIsStrokeHairlineOrEquivalent()
/third_party/skia/docs/examples/
DPaintDump.cpp57 if (d.getStyle() != p.getStyle()) { in PaintStringDump()
58 s.appendf("p.setStyle(%s);\n", str(p.getStyle())); in PaintStringDump()
DPaint_getStyle.cpp9 SkPaint::kFill_Style == paint.getStyle() ? '=' : '!'); in draw()
DSkFontMgr_example.cpp26 styleSet->getStyle(j, &fontStyle, &style); in draw()
DSkFontMgr_example2.cpp26 styleSet->getStyle(j, &fontStyle, &style); in draw()
/third_party/skia/modules/sksg/src/
DSkSGDraw.cpp38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
52 if (paint.getStyle() == SkPaint::Style::kFill_Style && fGeometry->contains(p)) { in onNodeAt()
/third_party/skia/src/gpu/ops/
DAALinearizingConvexPathRenderer.cpp364 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath()
365 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath()
370 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath()
380 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath()
409 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings); in onDrawPath()
DTessellationPathRenderer.cpp93 shape.style().strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style || in onCanDrawPath()
150 SkASSERT(stroke.getStyle() != SkStrokeRec::kStrokeAndFill_Style); in onDrawPath()
/third_party/skia/src/gpu/text/
DGrSDFTControl.cpp52 if ((paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() == 0) in drawingType()
61 if (!fAbleToUseSDFT || paint.getMaskFilter() || paint.getStyle() != SkPaint::kFill_Style) { in drawingType()
/third_party/skia/src/core/
DSkStrokeRec.cpp24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec()
67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() function in SkStrokeRec
DSkDrawProcs.h25 if (SkPaint::kStroke_Style != paint.getStyle()) { in SkDrawTreatAsHairline()
DSkDraw.cpp543 SkASSERT(SkPaint::kFill_Style != paint.getStyle()); in compute_stroke_size()
569 SkPaint::Style style = paint.getStyle(); in ComputeRectType()
643 if (paint.getStyle() != SkPaint::kFill_Style) { in drawRect()
785 if (paint.getPathEffect() || paint.getStyle() != SkPaint::kFill_Style) { in drawRRect()
893 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath()
934 if (paint->getPathEffect() || paint->getStyle() != SkPaint::kFill_Style) { in drawPath()
1077 if (origPaint.getStyle() != SkPaint::kFill_Style) { in drawBitmap()
1270 SkASSERT(paint.getStyle() == SkPaint::kFill_Style); in draw_into_mask()
DSkFontMgr.cpp20 void getStyle(int, SkFontStyle*, SkString*) override { in getStyle() function in SkEmptyFontStyleSet
211 this->getStyle(i, &current, nullptr); in matchStyleCSS3()
DSkPictureCommon.h51 SkPaint::Style paintStyle = op.paint.getStyle(); in operator()
/third_party/skia/src/ports/skia_ohos/
DSkFontStyleSet_ohos.h22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
DSkFontStyleSet_ohos.cpp35 void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName) in getStyle() function in SkFontStyleSet_OHOS
/third_party/skia/src/effects/
DSkOpPathEffect.cpp203 if (rec->getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onFilterPath()
208 if (rec->getStyle() == SkStrokeRec::kStroke_Style) { in onFilterPath()
/third_party/skia/samplecode/
DSampleFatBits.cpp97 Style getStyle() const { return fStyle; } in getStyle() function in FatBits
410 if (FatBits::kStroke_Style == fFB.getStyle()) { in onChar()
461 FatBits::kHair_Style == fFB.getStyle() ? "Hair" : "Stroke", in onDrawContent()
/third_party/skia/modules/skparagraph/include/
DTypefaceFontProvider.h22 void getStyle(int index, SkFontStyle*, SkString* name) override;
/third_party/skia/src/gpu/geometry/
DGrStyledShape.cpp611 (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in simplify()
612 fStyle.strokeRec().getStyle() == SkStrokeRec::kHairline_Style || in simplify()
636 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in simplifyStroke()
700 } else if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in simplifyStroke()
/third_party/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp70 void TypefaceFontStyleSet::getStyle(int index, SkFontStyle* style, SkString* name) { in getStyle() function in skia::textlayout::TypefaceFontStyleSet
/third_party/skia/src/xps/
DSkXPSDevice.cpp1077 const bool stroke = (SkPaint::kFill_Style != paint.getStyle()); in rect_must_be_pathed()
1158 if (paint->getStyle() != SkPaint::kFill_Style) { in drawPaint()
1456 const SkPaint::Style style = shaderPaint.getStyle(); in shadePath()
1510 || paint->getStyle() != SkPaint::kFill_Style; in drawPath()
1553 if (paint->getStyle() != SkPaint::kFill_Style) { in drawPath()
1583 SkASSERT(SkPaint::kFill_Style == paint->getStyle() || in drawPath()
1584 (SkPaint::kStroke_Style == paint->getStyle() && 0 == paint->getStrokeWidth())); in drawPath()
1585 SkStrokeRec::InitStyle style = (SkPaint::kFill_Style == paint->getStyle()) in drawPath()
1890 const SkPaint::Style style = paint.getStyle(); in text_must_be_pathed()

1234