Home
last modified time | relevance | path

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

/external/skia/gm/
Dstrokes.cpp202 SkPaint origPaint; in onDraw() local
203 origPaint.setAntiAlias(true); in onDraw()
204 origPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
205 SkPaint fillPaint(origPaint); in onDraw()
207 SkPaint strokePaint(origPaint); in onDraw()
229 canvas->drawPath(orig, origPaint); in onDraw()
Dtextbloblooper.cpp27 static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, in add_to_text_blob() argument
29 SkPaint paint(origPaint); in add_to_text_blob()
Dimagefiltersbase.cpp279 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) { in drawWaterfall() argument
285 SkPaint paint(origPaint); in drawWaterfall()
Ddcshader.cpp199 SkRect draw(SkCanvas* canvas, const SkPaint& origPaint) override { in onOnceBeforeDraw()
200 SkPaint paint = origPaint; in onOnceBeforeDraw()
/external/skia/src/gpu/
DGrTextContext.cpp171 void GrTextContext::drawPosTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix, in drawPosTextAsPath() argument
176 SkPaint paint(origPaint); in drawPosTextAsPath()
195 paint.setStyle(origPaint.getStyle()); in drawPosTextAsPath()
196 paint.setPathEffect(origPaint.getPathEffect()); in drawPosTextAsPath()
DGrTextContext.h76 void drawTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix,
79 void drawPosTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix,
DGrAtlasTextContext.h259 BitmapTextBlob* setupDFBlob(int glyphCount, const SkPaint& origPaint,
322 SkPoint* offset, const SkPaint& origPaint);
DGrAtlasTextContext.cpp676 GrAtlasTextContext::setupDFBlob(int glyphCount, const SkPaint& origPaint, in setupDFBlob() argument
681 *dfPaint = origPaint; in setupDFBlob()
686 subRun.fUseLCDText = origPaint.isLCDRenderText(); in setupDFBlob()
1065 const SkPaint& origPaint) { in internalDrawDFText() argument
1073 SkDrawCacheProc glyphCacheProc = origPaint.getDrawCacheProc(); in internalDrawDFText()
1075 origPaint.getScalerContextDescriptor(&desc, &fDeviceProperties, NULL, true); in internalDrawDFText()
1076 SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(origPaint.getTypeface(), in internalDrawDFText()
1085 switch (origPaint.getTextAlign()) { in internalDrawDFText()
1112 if (origPaint.getTextAlign() == SkPaint::kCenter_Align) { in internalDrawDFText()
1115 } else if (origPaint.getTextAlign() == SkPaint::kLeft_Align) { in internalDrawDFText()
DGrContext.cpp295 const GrPaint& origPaint, in drawPaint() argument
304 SkTCopyOnFirstWrite<GrPaint> paint(origPaint); in drawPaint()
/external/skia/tools/
Dsk_tool_utils.cpp81 void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, in add_to_text_blob() argument
83 SkPaint paint(origPaint); in add_to_text_blob()
Dsk_tool_utils.h74 void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint,
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp47 …th(const SkPath& srcPath, SkBlitter* blitter, const SkRasterClip& rect, const SkPaint& origPaint);
69 …ath(const SkPath& srcPath, SkBlitter* blitter, const SkRasterClip& rect, const SkPaint& origPaint) in DrawPath() argument
74 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in DrawPath()
77 if (FxSkDrawTreatAsHairline(origPaint, &coverage)) { in DrawPath()
86 newAlpha = origPaint.getAlpha() * scale >> 8; in DrawPath()
359 FX_BOOL CFX_SkiaDeviceDriver::RenderRasterizerSkia(SkPath& skPath, const SkPaint& origPaint, SkIRec… in RenderRasterizerSkia() argument
368 SuperBlitter_skia::DrawPath(skPath, (SkBlitter*)&render, rasterClip, origPaint); in RenderRasterizerSkia()
Dfx_skia_device.h81 …virtual FX_BOOL RenderRasterizerSkia(SkPath& skPath, const SkPaint& origPaint, SkIRect& rect, FX_…
/external/skia/src/core/
DSkDraw.cpp1014 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument
1032 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style || in drawPath()
1033 origPaint.getRasterizer()) { in drawPath()
1050 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
1054 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath()
1057 } else if (SkXfermode::SupportsCoverageAsAlpha(origPaint.getXfermode())) { in drawPath()
1061 origPaint.getAlpha())); in drawPath()
1067 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath()
1247 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap()
1257 SkPaint paint(origPaint); in drawBitmap()
[all …]
DSkBlitter.cpp783 const SkPaint& origPaint, in Choose() argument
795 SkShader* shader = origPaint.getShader(); in Choose()
796 SkColorFilter* cf = origPaint.getColorFilter(); in Choose()
797 SkXfermode* mode = origPaint.getXfermode(); in Choose()
800 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose()
802 if (origPaint.getMaskFilter() != NULL && in Choose()
803 origPaint.getMaskFilter()->getFormat() == SkMask::k3D_Format) { in Choose()
/external/skia/src/device/xps/
DSkXPSDevice.cpp1173 void SkXPSDevice::drawPaint(const SkDraw& d, const SkPaint& origPaint) { in drawPaint() argument
1177 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint()
1178 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint()
1515 const SkPaint& origPaint, in drawPath() argument
1518 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()