Home
last modified time | relevance | path

Searched refs:origPaint (Results 1 – 10 of 10) sorted by relevance

/external/skia/gm/
Dstrokes.cpp212 SkPaint origPaint; in onDraw() local
213 origPaint.setAntiAlias(true); in onDraw()
214 origPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
215 SkPaint fillPaint(origPaint); in onDraw()
217 SkPaint strokePaint(origPaint); in onDraw()
239 canvas->drawPath(orig, origPaint); in onDraw()
/external/chromium_org/third_party/skia/gm/
Dstrokes.cpp212 SkPaint origPaint; in onDraw() local
213 origPaint.setAntiAlias(true); in onDraw()
214 origPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
215 SkPaint fillPaint(origPaint); in onDraw()
217 SkPaint strokePaint(origPaint); in onDraw()
239 canvas->drawPath(orig, origPaint); in onDraw()
/external/chromium_org/third_party/skia/src/core/
DSkDraw.cpp999 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument
1016 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style || in drawPath()
1017 origPaint.getRasterizer()) { in drawPath()
1034 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
1038 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath()
1041 } else if (xfermodeSupportsCoverageAsAlpha(origPaint.getXfermode())) { in drawPath()
1045 origPaint.getAlpha())); in drawPath()
1051 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath()
1233 const SkPaint& origPaint) const { in drawBitmap()
1243 SkPaint paint(origPaint); in drawBitmap()
[all …]
DSkBlitter.cpp848 const SkPaint& origPaint, in Choose() argument
863 SkShader* shader = origPaint.getShader(); in Choose()
864 SkColorFilter* cf = origPaint.getColorFilter(); in Choose()
865 SkXfermode* mode = origPaint.getXfermode(); in Choose()
868 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose()
870 if (origPaint.getMaskFilter() != NULL && in Choose()
871 origPaint.getMaskFilter()->getFormat() == SkMask::k3D_Format) { in Choose()
/external/skia/src/core/
DSkDraw.cpp993 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument
1010 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style || in drawPath()
1011 origPaint.getRasterizer()) { in drawPath()
1028 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
1032 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath()
1035 } else if (xfermodeSupportsCoverageAsAlpha(origPaint.getXfermode())) { in drawPath()
1039 origPaint.getAlpha())); in drawPath()
1045 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath()
1220 const SkPaint& origPaint) const { in drawBitmap()
1230 SkPaint paint(origPaint); in drawBitmap()
[all …]
DSkBlitter.cpp845 const SkPaint& origPaint, in Choose() argument
860 SkShader* shader = origPaint.getShader(); in Choose()
861 SkColorFilter* cf = origPaint.getColorFilter(); in Choose()
862 SkXfermode* mode = origPaint.getXfermode(); in Choose()
865 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose()
867 if (origPaint.getMaskFilter() != NULL && in Choose()
868 origPaint.getMaskFilter()->getFormat() == SkMask::k3D_Format) { in Choose()
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp1183 void SkXPSDevice::drawPaint(const SkDraw& d, const SkPaint& origPaint) { in drawPaint() argument
1187 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint()
1188 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint()
1512 const SkPaint& origPaint, in drawPath() argument
1515 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
/external/skia/src/device/xps/
DSkXPSDevice.cpp1184 void SkXPSDevice::drawPaint(const SkDraw& d, const SkPaint& origPaint) { in drawPaint() argument
1188 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint()
1189 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint()
1669 const SkPaint& origPaint, in drawPath() argument
1672 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
/external/skia/src/gpu/
DGrContext.cpp649 void GrContext::drawPaint(const GrPaint& origPaint) { in drawPaint() argument
657 SkTCopyOnFirstWrite<GrPaint> paint(origPaint); in drawPaint()
/external/chromium_org/third_party/skia/src/gpu/
DGrContext.cpp681 void GrContext::drawPaint(const GrPaint& origPaint) { in drawPaint() argument
689 SkTCopyOnFirstWrite<GrPaint> paint(origPaint); in drawPaint()