Home
last modified time | relevance | path

Searched refs:pathPaint (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeCornerPathEffectTest.java41 Paint pathPaint = new Paint(); in testCornerPathEffect() local
42 pathPaint.setColor(Color.GREEN); in testCornerPathEffect()
43 pathPaint.setStyle(Style.STROKE); in testCornerPathEffect()
44 pathPaint.setStrokeWidth(0); in testCornerPathEffect()
45 pathPaint.setPathEffect(effect); in testCornerPathEffect()
46 pathPaint.setAntiAlias(false); in testCornerPathEffect()
52 canvas.drawPath(path, pathPaint); in testCornerPathEffect()
/external/skia/src/core/
DSkGlyphRunPainter.cpp207 SkPaint pathPaint = paint; in drawForBitmapDevice() local
208 pathPaint.setAntiAlias(runFont.hasSomeAntiAliasing()); in drawForBitmapDevice()
210 const bool stroking = pathPaint.getStyle() != SkPaint::kFill_Style; in drawForBitmapDevice()
211 const bool hairline = pathPaint.getStrokeWidth() == 0; in drawForBitmapDevice()
212 const bool needsExactCTM = pathPaint.getShader() || in drawForBitmapDevice()
213 pathPaint.getPathEffect() || in drawForBitmapDevice()
214 pathPaint.getMaskFilter() || in drawForBitmapDevice()
226 canvas->drawPath(*path, pathPaint); in drawForBitmapDevice()
239 canvas->drawPath(deviceOutline, pathPaint); in drawForBitmapDevice()
DSkStrikeSpec.cpp59 SkPaint pathPaint{paint}; in MakePath() local
67 SkScalar strikeToSourceScale = pathFont.setupForAsPaths(&pathPaint); in MakePath()
69 return {SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakePath()
/external/skia/gm/
Dcomplexclip3.cpp77 SkPaint pathPaint; in onDraw() local
78 pathPaint.setAntiAlias(true); in onDraw()
79 pathPaint.setColor(gPathColor); in onDraw()
101 canvas->drawRect(r, pathPaint); in onDraw()
Dperspshaders.cpp94 SkPaint pathPaint; in drawRow() local
95 pathPaint.setShader(fBitmapImage->makeShader(sampling)); in drawRow()
96 pathPaint.setAntiAlias(fDoAA); in drawRow()
123 canvas->drawRect(r, pathPaint); in drawRow()
129 canvas->drawPath(fPath, pathPaint); in drawRow()
Dstrokes.cpp596 SkPaint pathPaint; variable
597 pathPaint.setStroke(true);
598 pathPaint.setAntiAlias(true);
599 pathPaint.setStrokeWidth(100);
610 canvas->drawPath(path, pathPaint);
613 skpathutils::FillPathWithPaint(path, pathPaint, &fillPath);
Dcomplexclip.cpp79 SkPaint pathPaint; in onDraw() local
80 pathPaint.setAntiAlias(true); in onDraw()
81 pathPaint.setColor(gPathColor); in onDraw()
146 canvas->drawPath(path, pathPaint); in onDraw()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java282 return pathPaintEvents.get(i).pathPaint; in getDrawnPathPaint()
422 private final Paint pathPaint; field in ShadowCanvas.PathPaintHistoryEvent
424 PathPaintHistoryEvent(Path drawnPath, Paint pathPaint) { in PathPaintHistoryEvent() argument
426 this.pathPaint = pathPaint; in PathPaintHistoryEvent()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyCanvas.java329 return pathPaintEvents.get(i).pathPaint; in getDrawnPathPaint()
593 private final Paint pathPaint; field in ShadowLegacyCanvas.PathPaintHistoryEvent
595 PathPaintHistoryEvent(Path drawnPath, Paint pathPaint) { in PathPaintHistoryEvent() argument
597 this.pathPaint = pathPaint; in PathPaintHistoryEvent()
/external/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js18 const pathPaint = new CanvasKit.Paint();
19 pathPaint.setColor([0,0,1,0.25]);
24 _path_paint: pathPaint,
/external/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js18 const pathPaint = new CanvasKit.Paint();
19 pathPaint.setColor([0,0,1,0.25]);
24 _path_paint: pathPaint,