/third_party/skia/src/core/ |
D | SkRasterClip.cpp | 180 SkPath devPath; in op() local 181 path.transform(matrix, &devPath); in op() 193 fBW.setPath(devPath, SkRegion(this->getBounds())); in op() 195 fAA.setPath(devPath, this->getBounds(), doAA); in op() 199 return this->op(SkRasterClip(devPath, this->getBounds(), doAA), op); in op()
|
D | SkScalerContext.cpp | 191 SkPath devPath; in internalMakeGlyph() local 193 generatingImageFromPath = this->internalGetPath(glyph.getPackedID(), &devPath, &hairline); in internalMakeGlyph() 206 const SkIRect ir = devPath.getBounds().roundOut(); in internalMakeGlyph() 577 SkPath devPath; in getImage() local 581 if (!this->internalGetPath(unfilteredGlyph->getPackedID(), &devPath, &hairline)) { in getImage() 589 generateMask(mask, devPath, fPreBlend, doBGR, doVert, a8LCD, hairline); in getImage() 702 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath, bool* hairline) { in internalGetPath() argument 768 if (devPath) { in internalGetPath() 769 localPath.transform(matrix, devPath); in internalGetPath() 772 if (devPath) { in internalGetPath() [all …]
|
D | SkMaskFilter.cpp | 233 bool SkMaskFilterBase::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument 239 rectCount = countNestedRects(devPath, rects); in filterPath() 264 if (devPath.countVerbs() > 1000 || devPath.countPoints() > 1000) { in filterPath() 268 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
|
D | SkDraw.cpp | 808 void SkDraw::drawDevPath(const SkPath& devPath, const SkPaint& paint, bool drawCoverage, in drawDevPath() argument 810 if (SkPathPriv::TooBigForMath(devPath)) { in drawDevPath() 825 ->filterPath(devPath, fMatrixProvider->localToDevice(), *fRC, blitter, style)) { in drawDevPath() 871 proc(devPath, *fRC, blitter); in drawDevPath() 1245 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument 1274 draw.drawPath(devPath, paint); in draw_into_mask() 1277 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument 1281 if (devPath.isEmpty()) { in DrawToMask() 1286 if (!ComputeMaskBounds(devPath.getBounds(), clipBounds, filter, in DrawToMask() 1303 draw_into_mask(*mask, devPath, style); in DrawToMask()
|
D | SkDraw.h | 100 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, 144 void drawDevPath(const SkPath& devPath,
|
D | SkMaskFilterBase.h | 229 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
|
D | SkScalerContext.h | 425 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath, bool* hairline);
|
/third_party/skia/samplecode/ |
D | SamplePathTessellators.cpp | 252 SkPath devPath = fPath; in onDrawContent() local 253 devPath.transform(canvas->getTotalMatrix()); in onDrawContent() 263 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent() 264 SkPathPriv::PointData(devPath), pointsPaint); in onDrawContent()
|
/third_party/skia/src/gpu/ |
D | GrBlurUtils.cpp | 129 SkPath devPath; in sw_create_filtered_mask() local 131 shape.asPath(&devPath); in sw_create_filtered_mask() 133 devPath.transform(viewMatrix); in sw_create_filtered_mask() 136 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_create_filtered_mask()
|
/third_party/skia/src/utils/ |
D | SkShadowUtils.cpp | 235 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, in add() argument 237 return fAmbientSet.add(devPath, ambient, matrix, translate); in add() 245 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, in add() argument 247 return fSpotSet.add(devPath, spot, matrix, translate); in add()
|