/third_party/skia/include/core/ |
H A D | SkStrokeRec.h | 36 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 D | SkPaint.h | 198 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 D | GrStyle.cpp | 94 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 D | GrUtil.cpp | 78 return stroke.getStyle() == SkStrokeRec::kStroke_Style && in GrIsStrokeHairlineOrEquivalent()
|
/third_party/skia/docs/examples/ |
H A D | PaintDump.cpp | 57 if (d.getStyle() != p.getStyle()) { in REG_FIDDLE() 58 s.appendf("p.setStyle(%s);\n", str(p.getStyle())); in REG_FIDDLE()
|
H A D | Paint_getStyle.cpp | 8 SkDebugf("SkPaint::kFill_Style %c= paint.getStyle()\n", in REG_FIDDLE() 9 SkPaint::kFill_Style == paint.getStyle() ? '=' : '!'); in REG_FIDDLE()
|
H A D | SkFontMgr_example.cpp | 26 styleSet->getStyle(j, &fontStyle, &style); in REG_FIDDLE()
|
H A D | SkFontMgr_example2.cpp | 26 styleSet->getStyle(j, &fontStyle, &style); in REG_FIDDLE()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGDraw.cpp | 38 (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 D | AALinearizingConvexPathRenderer.cpp | 364 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 D | TessellationPathRenderer.cpp | 93 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 D | GrSDFTControl.cpp | 52 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 D | SkStrokeRec.cpp | 24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec() 67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() function in SkStrokeRec
|
H A D | SkDrawProcs.h | 25 if (SkPaint::kStroke_Style != paint.getStyle()) { in SkDrawTreatAsHairline()
|
H A D | SkDraw.cpp | 543 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 D | SkFontMgr.cpp | 20 void getStyle(int, SkFontStyle*, SkString*) override { 21 SkDEBUGFAIL("SkFontStyleSet::getStyle called on empty set"); 223 this->getStyle(i, ¤t, nullptr); in matchStyleCSS3()
|
H A D | SkPictureCommon.h | 51 SkPaint::Style paintStyle = op.paint.getStyle(); in operator ()()
|
H A D | SkDevice.cpp | 123 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 D | SkFontStyleSet_ohos.h | 22 virtual void getStyle(int index, SkFontStyle* style, SkString* styleName) override;
|
H A D | SkFontStyleSet_ohos.cpp | 35 void SkFontStyleSet_OHOS::getStyle(int index, SkFontStyle* style, SkString* styleName) in getStyle() function in SkFontStyleSet_OHOS
|
/third_party/skia/samplecode/ |
H A D | SampleFatBits.cpp | 97 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 D | TypefaceFontProvider.h | 22 void getStyle(int index, SkFontStyle*, SkString* name) override;
|
/third_party/skia/src/effects/ |
H A D | SkOpPathEffect.cpp | 203 if (rec->getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onFilterPath() 208 if (rec->getStyle() == SkStrokeRec::kStroke_Style) { in onFilterPath()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 1077 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 D | GrStyledShape.cpp | 611 (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()
|