Home
last modified time | relevance | path

Searched refs:devPath (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/core/
DSkRasterizer.cpp43 SkPath devPath; in onRasterize() local
45 fillPath.transform(matrix, &devPath); in onRasterize()
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, in onRasterize()
DSkScalerContext.cpp323 SkPath devPath, fillPath; in getMetrics() local
326 this->internalGetPath(*glyph, &fillPath, &devPath, &fillToDevMatrix); in getMetrics()
344 devPath.getBounds().roundOut(&ir); in getMetrics()
716 SkPath devPath, fillPath; in getImage() local
720 this->internalGetPath(*glyph, &fillPath, &devPath, &fillToDevMatrix); in getImage()
737 generateMask(mask, devPath, fPreBlend); in getImage()
821 SkPath* devPath, SkMatrix* fillToDevMatrix) { in internalGetPath() argument
880 if (devPath) { in internalGetPath()
881 localPath.transform(matrix, devPath); in internalGetPath()
890 if (devPath) { in internalGetPath()
[all …]
DSkCanvas.cpp1149 const SkPath& devPath, SkRegion::Op op, bool doAA) { in clipPathHelper() argument
1162 return currClip->setPath(devPath, currClip->bwRgn(), doAA); in clipPathHelper()
1166 clip.setPath(devPath, base, doAA); in clipPathHelper()
1178 return currClip->setPath(devPath, base, doAA); in clipPathHelper()
1181 clip.setPath(devPath, base, doAA); in clipPathHelper()
1222 SkPath devPath; in clipPath() local
1223 path.transform(*fMCRec->fMatrix, &devPath); in clipPath()
1229 if (devPath.getBounds().isEmpty()) { in clipPath()
1232 devPath.reset(); in clipPath()
1236 fClipStack.clipDevPath(devPath, op, doAA); in clipPath()
[all …]
DSkMaskFilter.cpp226 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument
232 rectCount = countNestedRects(devPath, rects); in filterPath()
259 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
DSkScalerContext.h277 SkPath* devPath, SkMatrix* fillToDevMatrix);
DSkDraw.cpp2804 static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, in compute_bounds() argument
2807 if (devPath.isEmpty()) { in compute_bounds()
2813 SkRect pathBounds = devPath.getBounds(); in compute_bounds()
2853 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
2875 draw.drawPath(devPath, paint); in draw_into_mask()
2878 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
2883 if (!compute_bounds(devPath, clipBounds, filter, filterMatrix, &mask->fBounds)) in DrawToMask()
2900 draw_into_mask(*mask, devPath, style); in DrawToMask()
/external/chromium_org/third_party/skia/src/core/
DSkRasterizer.cpp43 SkPath devPath; in onRasterize() local
45 fillPath.transform(matrix, &devPath); in onRasterize()
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, in onRasterize()
DSkScalerContext.cpp323 SkPath devPath, fillPath; in getMetrics() local
326 this->internalGetPath(*glyph, &fillPath, &devPath, &fillToDevMatrix); in getMetrics()
344 devPath.getBounds().roundOut(&ir); in getMetrics()
716 SkPath devPath, fillPath; in getImage() local
720 this->internalGetPath(*glyph, &fillPath, &devPath, &fillToDevMatrix); in getImage()
737 generateMask(mask, devPath, fPreBlend); in getImage()
821 SkPath* devPath, SkMatrix* fillToDevMatrix) { in internalGetPath() argument
880 if (devPath) { in internalGetPath()
881 localPath.transform(matrix, devPath); in internalGetPath()
890 if (devPath) { in internalGetPath()
[all …]
DSkCanvas.cpp1149 const SkPath& devPath, SkRegion::Op op, bool doAA) { in clipPathHelper() argument
1162 return currClip->setPath(devPath, currClip->bwRgn(), doAA); in clipPathHelper()
1166 clip.setPath(devPath, base, doAA); in clipPathHelper()
1178 return currClip->setPath(devPath, base, doAA); in clipPathHelper()
1181 clip.setPath(devPath, base, doAA); in clipPathHelper()
1222 SkPath devPath; in clipPath() local
1223 path.transform(*fMCRec->fMatrix, &devPath); in clipPath()
1229 if (devPath.getBounds().isEmpty()) { in clipPath()
1232 devPath.reset(); in clipPath()
1236 fClipStack.clipDevPath(devPath, op, doAA); in clipPath()
[all …]
DSkMaskFilter.cpp226 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument
232 rectCount = countNestedRects(devPath, rects); in filterPath()
259 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
DSkScalerContext.h277 SkPath* devPath, SkMatrix* fillToDevMatrix);
DSkDraw.cpp2804 static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, in compute_bounds() argument
2807 if (devPath.isEmpty()) { in compute_bounds()
2813 SkRect pathBounds = devPath.getBounds(); in compute_bounds()
2853 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
2875 draw.drawPath(devPath, paint); in draw_into_mask()
2878 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
2883 if (!compute_bounds(devPath, clipBounds, filter, filterMatrix, &mask->fBounds)) in DrawToMask()
2900 draw_into_mask(*mask, devPath, style); in DrawToMask()
/external/chromium_org/third_party/skia/src/effects/
DSkLayerRasterizer.cpp57 SkPath fillPath, devPath; in compute_bounds() local
72 p->transform(m, &devPath); in compute_bounds()
76 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
/external/skia/src/effects/
DSkLayerRasterizer.cpp57 SkPath fillPath, devPath; in compute_bounds() local
72 p->transform(m, &devPath); in compute_bounds()
76 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
/external/chromium_org/third_party/skia/src/utils/
DSkCullPoints.cpp180 SkPath devPath; in SkHitTestPath() local
191 path.transform(matrix, &devPath); in SkHitTestPath()
194 pathPtr = &devPath; in SkHitTestPath()
/external/skia/src/utils/
DSkCullPoints.cpp180 SkPath devPath; in SkHitTestPath() local
191 path.transform(matrix, &devPath); in SkHitTestPath()
194 pathPtr = &devPath; in SkHitTestPath()
/external/skia/include/core/
DSkMaskFilter.h181 bool filterPath(const SkPath& devPath, const SkMatrix& devMatrix,
DSkDraw.h87 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/include/core/
DSkMaskFilter.h181 bool filterPath(const SkPath& devPath, const SkMatrix& devMatrix,
DSkDraw.h87 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/src/gpu/
DSkGpuDevice.cpp754 bool draw_with_mask_filter(GrContext* context, const SkPath& devPath, in draw_with_mask_filter() argument
759 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), filter, &context->getMatrix(), &srcM, in draw_with_mask_filter()
803 const SkPath& devPath, in create_mask_GPU() argument
849 context->drawPath(tempPaint, devPath, stroke); in create_mask_GPU()
/external/skia/src/gpu/
DSkGpuDevice.cpp754 bool draw_with_mask_filter(GrContext* context, const SkPath& devPath, in draw_with_mask_filter() argument
759 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), filter, &context->getMatrix(), &srcM, in draw_with_mask_filter()
803 const SkPath& devPath, in create_mask_GPU() argument
849 context->drawPath(tempPaint, devPath, stroke); in create_mask_GPU()