Home
last modified time | relevance | path

Searched refs:hairline (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/samplecode/
DSampleThinAA.cpp72 static sk_sp<ShapeRenderer> MakeLine(bool hairline = false) { in MakeLine() argument
73 return MakeCurve(0.f, hairline); in MakeLine()
76 static sk_sp<ShapeRenderer> MakeLines(SkScalar depth, bool hairline = false) { in MakeLines() argument
77 return MakeCurve(-depth, hairline); in MakeLines()
80 static sk_sp<ShapeRenderer> MakeCurve(SkScalar depth, bool hairline = false) { in MakeCurve() argument
81 return sk_sp<ShapeRenderer>(new PathRenderer(depth, hairline)); in MakeCurve()
148 PathRenderer(SkScalar depth, bool hairline) in PathRenderer() argument
150 , fHairline(hairline) {} in PathRenderer()
/third_party/flutter/skia/samplecode/
DSampleThinAA.cpp74 static sk_sp<ShapeRenderer> MakeLine(bool hairline = false) { in MakeLine() argument
75 return MakeCurve(0.f, hairline); in MakeLine()
78 static sk_sp<ShapeRenderer> MakeLines(SkScalar depth, bool hairline = false) { in MakeLines() argument
79 return MakeCurve(-depth, hairline); in MakeLines()
82 static sk_sp<ShapeRenderer> MakeCurve(SkScalar depth, bool hairline = false) { in MakeCurve() argument
83 return sk_sp<ShapeRenderer>(new PathRenderer(depth, hairline)); in MakeCurve()
150 PathRenderer(SkScalar depth, bool hairline) in PathRenderer() argument
152 , fHairline(hairline) {} in PathRenderer()
/third_party/flutter/skia/gm/
Dcirculararcs.cpp84 DEF_ARC_GM(hairline) { in DEF_ARC_GM() argument
253 SkPaint hairline = fill; variable
254 hairline.setStyle(SkPaint::kStroke_Style);
255 SkPaint stroke = hairline;
261 canvas->drawArc(SkRect::MakeXYWH(x - r, y1 - r, 2 * r, 2 * r), 0, 360, false, hairline);
/third_party/skia/src/core/
DSkScalerContext.cpp192 bool hairline; in internalMakeGlyph() local
193 generatingImageFromPath = this->internalGetPath(glyph.getPackedID(), &devPath, &hairline); in internalMakeGlyph()
221 const bool needExtraWidth = (notEmptyAndFromLCD && !verticalLCD) || hairline; in internalMakeGlyph()
222 const bool needExtraHeight = (notEmptyAndFromLCD && verticalLCD) || hairline; in internalMakeGlyph()
457 const bool hairline) { in generateMask() argument
475 paint.setStroke(hairline); in generateMask()
497 if (hairline) { in generateMask()
579 bool hairline; in getImage() local
581 if (!this->internalGetPath(unfilteredGlyph->getPackedID(), &devPath, &hairline)) { in getImage()
589 generateMask(mask, devPath, fPreBlend, doBGR, doVert, a8LCD, hairline); in getImage()
[all …]
DSkScalerContext.h425 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath, bool* hairline);
/third_party/skia/gm/
Dcirculararcs.cpp91 DEF_ARC_GM(hairline) { in DEF_ARC_GM() argument
259 SkPaint hairline = fill; variable
260 hairline.setStroke(true);
261 SkPaint stroke = hairline;
267 canvas->drawArc(SkRect::MakeXYWH(x - r, y1 - r, 2 * r, 2 * r), 0, 360, false, hairline);
/third_party/skia/tests/
DGrStyledShapeTest.cpp857 SkPaint hairline; in test_basic() local
858 hairline.setStyle(SkPaint::kStroke_Style); in test_basic()
859 hairline.setStrokeWidth(0.f); in test_basic()
860 TestCase hairlineCase(geo, hairline, reporter); in test_basic()
886 SkPaint hairline; in test_scale() local
887 hairline.setStyle(SkPaint::kStroke_Style); in test_scale()
888 hairline.setStrokeWidth(0.f); in test_scale()
889 TestCase hairlineCase1(geo, hairline, reporter, kS1); in test_scale()
890 TestCase hairlineCase2(geo, hairline, reporter, kS2); in test_scale()
1027 SkPaint hairline; in test_stroke_cap() local
[all …]
/third_party/flutter/skia/tests/
DGrShapeTest.cpp847 SkPaint hairline; in test_basic() local
848 hairline.setStyle(SkPaint::kStroke_Style); in test_basic()
849 hairline.setStrokeWidth(0.f); in test_basic()
850 TestCase hairlineCase(geo, hairline, reporter); in test_basic()
876 SkPaint hairline; in test_scale() local
877 hairline.setStyle(SkPaint::kStroke_Style); in test_scale()
878 hairline.setStrokeWidth(0.f); in test_scale()
879 TestCase hairlineCase1(geo, hairline, reporter, kS1); in test_scale()
880 TestCase hairlineCase2(geo, hairline, reporter, kS2); in test_scale()
1017 SkPaint hairline; in test_stroke_cap() local
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtoggle_buttons_theme.dart88 /// To render a hairline border (one physical pixel), set borderWidth to 0.0.
89 /// See [BorderSide.width] for more details on hairline borders.
Dtoggle_buttons.dart143 /// 0.0 results in a hairline border. For more information on hairline borders,
342 /// To render a hairline border (one physical pixel), set borderWidth to 0.0.
343 /// See [BorderSide.width] for more details on hairline borders.
Ddivider.dart99 /// divider border, which defaults to 0.0 (a hairline border).
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dborders.dart29 /// Note that setting [BorderSide.width] to 0.0 will result in hairline
111 /// Setting width to 0.0 will result in a hairline border. This means that
112 /// the border will have the width of one physical pixel. Also, hairline
126 /// A hairline black border that is not rendered.
153 /// Since a zero width is normally painted as a hairline width rather than no
675 // We draw the borders as filled shapes, unless the borders are hairline
Dshader_warm_up.dart165 ..strokeWidth = 0.1, // hairline
/third_party/skia/src/gpu/ops/
DFillRectOp.cpp90 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in FillRectOpImpl() local
92 hairline ? IsHairline::kYes : IsHairline::kNo); in FillRectOpImpl()
DQuadPerEdgeAA.cpp435 const bool hairline = aaFlags == GrQuadAAFlags::kAll && in append() local
440 if (hairline) { in append()
DTextureOp.cpp476 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in TextureOpImpl() local
478 hairline ? IsHairline::kYes : IsHairline::kNo); in TextureOpImpl()
/third_party/flutter/skia/src/gpu/effects/
DGrEllipseEffect.fp114 // hairline not supported
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpainting.dart992 /// The values null and 0.0 correspond to a hairline width.
1190 result.write(' hairline');
/third_party/flutter/skia/site/user/api/
DSkPaint_Reference.md1995 zero for hairline, greater than zero for pen thickness
2024 <td>zero thickness for hairline; greater than zero for pen thickness</td>
2538 …Path'>path</a> represents <a href='#Style_Fill'>style fill</a>, or false if it represents hairline
2572 …Path'>path</a> represents <a href='#Style_Fill'>style fill</a>, or false if it represents hairline
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart1172 /// Defaults to 0.0, which correspond to a hairline width.
1416 result.write(' hairline');
/third_party/flutter/flutter/packages/flutter/test/material/
Dinput_decorator_test.dart224 // enabled: false produces a hairline border if filled: false (the default)