Home
last modified time | relevance | path

Searched refs:hairline (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/core/
H A 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()
475 paint.setStroke(hairline); in generateMask()
495 // LCD hairline doesn't line up with the pixels, so do it the expensive way. in generateMask()
497 if (hairline) { in generateMask()
579 bool hairline; in getImage() local
581 if (!this->internalGetPath(unfilteredGlyph->getPackedID(), &devPath, &hairline)) { in getImage()
454 generateMask(const SkMask& mask, const SkPath& path, const SkMaskGamma::PreBlend& maskPreBlend, const bool doBGR, const bool doVert, const bool a8FromLCD, const bool hairline) generateMask() argument
702 internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath, bool* hairline) internalGetPath() argument
[all...]
H A DSkScalerContext.h425 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath, bool* hairline);
/third_party/skia/samplecode/
H A DSampleThinAA.cpp72 static sk_sp<ShapeRenderer> MakeLine(bool hairline = false) { in MakeLine()
73 return MakeCurve(0.f, hairline); in MakeLine()
76 static sk_sp<ShapeRenderer> MakeLines(SkScalar depth, bool hairline = false) { in MakeLines()
77 return MakeCurve(-depth, hairline); in MakeLines()
80 static sk_sp<ShapeRenderer> MakeCurve(SkScalar depth, bool hairline = false) { in MakeCurve()
81 return sk_sp<ShapeRenderer>(new PathRenderer(depth, hairline)); in MakeCurve()
87 name.append("hairline");
148 PathRenderer(SkScalar depth, bool hairline) in PathRenderer() argument
150 , fHairline(hairline) {} in PathRenderer()
/third_party/skia/gm/
H A Dcirculararcs.cpp91 DEF_ARC_GM(hairline) { in DEF_ARC_GM()
186 // hairline in DEF_SIMPLE_GM()
259 SkPaint hairline = fill; in DEF_SIMPLE_GM() local
260 hairline.setStroke(true); in DEF_SIMPLE_GM()
261 SkPaint stroke = hairline; in DEF_SIMPLE_GM()
267 canvas->drawArc(SkRect::MakeXYWH(x - r, y1 - r, 2 * r, 2 * r), 0, 360, false, hairline); in DEF_SIMPLE_GM()
/third_party/skia/tests/
H A 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()
861 // Since hairline style doesn't change the SkPath data, it is keyed identically to fill (except 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, reporte in test_scale()
1027 SkPaint hairline; test_stroke_cap() local
1049 SkPaint hairline; test_stroke_join() local
1077 SkPaint hairline; test_miter_limit() local
1910 SkPaint hairline; DEF_TEST() local
[all...]
/third_party/skia/src/gpu/ops/
H A DFillRectOp.cpp90 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in FillRectOpImpl() local
92 hairline ? IsHairline::kYes : IsHairline::kNo); in FillRectOpImpl()
H A DQuadPerEdgeAA.cpp435 const bool hairline = aaFlags == GrQuadAAFlags::kAll && in append() local
440 if (hairline) { in append()
H A DTextureOp.cpp476 bool hairline = GrQuadUtils::WillUseHairline(quad->fDevice, aaType, quad->fEdgeFlags); in TextureOpImpl() local
478 hairline ? IsHairline::kYes : IsHairline::kNo); in TextureOpImpl()

Completed in 19 milliseconds