Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 - 25 of 77) sorted by relevance

1234

/third_party/skia/include/core/
H A 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()
H A DSkPaint.h198 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle() function in SkPaint
655 SkPaint::Style style = this->getStyle(); in computeFastBounds()
/third_party/skia/src/gpu/
H A 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()
H A DGrUtil.cpp78 return stroke.getStyle() == SkStrokeRec::kStroke_Style && in GrIsStrokeHairlineOrEquivalent()
/third_party/skia/docs/examples/
H A DPaintDump.cpp57 if (d.getStyle() != p.getStyle()) { in REG_FIDDLE()
58 s.appendf("p.setStyle(%s);\n", str(p.getStyle())); in REG_FIDDLE()
H A DPaint_getStyle.cpp8 SkDebugf("SkPaint::kFill_Style %c= paint.getStyle()\n", in REG_FIDDLE()
9 SkPaint::kFill_Style == paint.getStyle() ? '=' : '!'); in REG_FIDDLE()
H A DSkFontMgr_example.cpp26 styleSet->getStyle(j, &fontStyle, &style); in REG_FIDDLE()
H A DSkFontMgr_example2.cpp26 styleSet->getStyle(j, &fontStyle, &style); in REG_FIDDLE()
/third_party/skia/modules/sksg/src/
H A 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/
H A 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()
H A 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/
H A DGrSDFTControl.cpp52 if ((paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() == 0)
61 if (!fAbleToUseSDFT || paint.getMaskFilter() || paint.getStyle() != SkPaint::kFill_Style) {
/third_party/skia/src/core/
H A DSkStrokeRec.cpp24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec()
67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() function in SkStrokeRec
H A DSkDrawProcs.h25 if (SkPaint::kStroke_Style != paint.getStyle()) { in SkDrawTreatAsHairline()
H A 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()
H A DSkFontMgr.cpp20 void getStyle(int, SkFontStyle*, SkString*) override {
21 SkDEBUGFAIL("SkFontStyleSet::getStyle called on empty set");
223 this->getStyle(i, &current, nullptr); in matchStyleCSS3()
H A DSkPictureCommon.h51 SkPaint::Style paintStyle = op.paint.getStyle(); in operator ()()
H A DSkDevice.cpp123 bool complexPaint = paint.getStyle() != SkPaint::kFill_Style || paint.getMaskFilter() || in drawRegion()
144 bool isFillNoPathEffect = SkPaint::kFill_Style == paint.getStyle() && !paint.getPathEffect(); in drawArc()
265 SkASSERT(paint.getStyle() == SkPaint::kFill_Style); in drawEdgeAAImageSet()
/third_party/skia/src/ports/skia_ohos/
H A DSkFontStyleSet_ohos.h22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
H A DSkFontStyleSet_ohos.cpp35 void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName) in getStyle() function in SkFontStyleSet_OHOS
/third_party/skia/samplecode/
H A DSampleFatBits.cpp97 Style getStyle() const { return fStyle; } in getStyle() function in FatBits
410 if (FatBits::kStroke_Style == fFB.getStyle()) {
461 FatBits::kHair_Style == fFB.getStyle() ? "Hair" : "Stroke",
/third_party/skia/modules/skparagraph/include/
H A DTypefaceFontProvider.h22 void getStyle(int index, SkFontStyle*, SkString* name) override;
/third_party/skia/src/effects/
H A DSkOpPathEffect.cpp203 if (rec->getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onFilterPath()
208 if (rec->getStyle() == SkStrokeRec::kStroke_Style) { in onFilterPath()
/third_party/skia/src/xps/
H A 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()
/third_party/skia/src/gpu/geometry/
H A 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()

Completed in 17 milliseconds

1234