Home
last modified time | relevance | path

Searched refs:strokePaint (Results 1 – 18 of 18) sorted by relevance

/external/skia/gm/
Dstrokes.cpp116 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local
118 strokePaint = fillPaint; in onDraw()
119 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
122 strokePaint.setAlpha(255); in onDraw()
123 strokePaint.setStrokeWidth(i ? 8.f : 10.f); in onDraw()
124 strokePaint.setStrokeCap(i ? SkPaint::kSquare_Cap : SkPaint::kRound_Cap); in onDraw()
127 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
129 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
130 dashPaint = strokePaint; in onDraw()
139 strokePaint.setStrokeWidth(20); in onDraw()
[all …]
Dreveal.cpp361 SkPaint strokePaint; in onDraw() local
362 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
363 strokePaint.setStrokeWidth(0.0f); in onDraw()
437 strokePaint.setColor(SK_ColorBLUE); in onDraw()
442 canvas->drawRect(cover, strokePaint); in onDraw()
449 canvas->drawRRect(rrect, strokePaint); in onDraw()
459 canvas->drawDRRect(outer, inner, strokePaint); in onDraw()
472 canvas->drawPath(path, strokePaint); in onDraw()
479 strokePaint.setColor(SK_ColorRED); in onDraw()
480 canvas->drawPath(drawObj->asPath(0.0f), strokePaint); in onDraw()
[all …]
Demptypath.cpp186 SkPaint strokePaint; in onDraw() local
187 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
188 strokePaint.setStrokeWidth(21); in onDraw()
189 strokePaint.setStrokeCap(SkPaint::kSquare_Cap); in onDraw()
193 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
200 canvas->drawPath(path, strokePaint); in onDraw()
Doffsetimagefilter.cpp84 SkPaint strokePaint; in DrawClippedImage() local
85 strokePaint.setStyle(SkPaint::kStroke_Style); in DrawClippedImage()
86 strokePaint.setStrokeWidth(2); in DrawClippedImage()
87 strokePaint.setColor(SK_ColorRED); in DrawClippedImage()
88 canvas->drawRect(clipRect, strokePaint); in DrawClippedImage()
Dimagefilterscropexpand.cpp183 SkPaint strokePaint; in draw() local
184 strokePaint.setColor(0xFFFF0000); in draw()
185 strokePaint.setStyle(SkPaint::kStroke_Style); in draw()
186 canvas->drawRect(rect, strokePaint); in draw()
Dshadertext2.cpp95 SkPaint strokePaint(fillPaint);
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(kPointSize * 0.1f);
129 SkPaint& paint = s ? strokePaint : fillPaint;
/external/skia/experimental/svg/model/
DSkSVGShape.cpp22 if (const SkPaint* strokePaint = ctx.strokePaint()) { in onRender() local
23 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
DSkSVGRenderContext.h81 const SkPaint* strokePaint() const;
DSkSVGRenderContext.cpp295 const bool hasStroke = SkToBool(this->strokePaint()); in applyOpacity()
352 const SkPaint* SkSVGRenderContext::strokePaint() const { in strokePaint() function in SkSVGRenderContext
/external/skia/tests/
DGpuDrawPathTest.cpp95 SkPaint strokePaint; variable
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(10.f);
101 GrStyle(strokePaint)
DGrShapeTest.cpp1945 SkPaint strokePaint; in DEF_TEST() local
1946 strokePaint.setStrokeWidth(3.f); in DEF_TEST()
1947 strokePaint.setStyle(SkPaint::kStroke_Style); in DEF_TEST()
1948 TestCase strokePathCase(reporter, rrgeo.path(), strokePaint); in DEF_TEST()
1949 if (rrgeo.isNonPath(strokePaint)) { in DEF_TEST()
1953 TestCase strokeRRectCase(reporter, rrect, strokePaint); in DEF_TEST()
DImageFilterTest.cpp1491 SkPaint strokePaint; in DEF_TEST() local
1492 strokePaint.setStyle(SkPaint::kStroke_Style); in DEF_TEST()
1493 strokePaint.setColor(SK_ColorRED); in DEF_TEST()
DPathTest.cpp2501 SkPaint strokePaint; in test_isNestedFillRects() local
2502 strokePaint.setStyle(SkPaint::kStroke_Style); in test_isNestedFillRects()
2503 strokePaint.setStrokeWidth(2); in test_isNestedFillRects()
2504 strokePaint.getFillPath(src, &dst); in test_isNestedFillRects()
/external/skia/samplecode/
DSampleAndroidShadows.cpp457 SkPaint strokePaint; in drawShadowedPath() local
459 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
460 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
462 canvas->drawPath(path, strokePaint); in drawShadowedPath()
DSampleAAGeometry.cpp847 SkPaint strokePaint; in AAGeometryView() local
848 strokePaint.setAntiAlias(true); in AAGeometryView()
849 strokePaint.setStyle(SkPaint::kStroke_Style); in AAGeometryView()
850 fPointPaint = strokePaint; in AAGeometryView()
852 fSkeletonPaint = strokePaint; in AAGeometryView()
856 fActivePaint = strokePaint; in AAGeometryView()
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...