/third_party/skia/gm/ |
D | skbug1719.cpp | 45 SkPath drawPath; variable 46 drawPath.moveTo(823.f, 653.f); 47 drawPath.lineTo(1043.f, 653.f); 48 drawPath.lineTo(1043.f, 733.f); 49 drawPath.lineTo(823.f, 733.f); 50 drawPath.lineTo(823.f, 653.f); 51 drawPath.close(); 52 drawPath.moveTo(832.f, 654.f); 53 drawPath.lineTo(1034.f, 654.f); 54 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); [all …]
|
D | concavepaths.cpp | 18 canvas->drawPath(SkPath::Polygon({{20,20}, {80,20}, {30,30}, {20,80}}, false), paint); in test_concave() 25 canvas->drawPath(SkPath::Polygon({{20,20}, {20,80}, {30,30}, {80,20}}, false), paint); in test_reverse_concave() 33 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {80,20}, {20,80}}, false), paint); in test_bowtie() 41 canvas->drawPath(SkPath::Polygon({{20,20}, {50,40}, {80,20}, {80,80}, {50,60}, {20,80}}, in test_fake_bowtie() 51 canvas->drawPath(SkPath::Polygon({{20,20}, {50,50}, {68,20}, {68,80}, {50,50}, {20,80}}, in test_intruding_vertex() 64 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false, in test_inversion_repeat_vertex() 73 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {70,50}, {80,20}, {20,80}, {0,50}}, false, in test_fish() 86 canvas->drawPath(path, paint); in test_fast_forward() 97 canvas->drawPath(path, paint); in test_hole() 105 canvas->drawPath(SkPath::Polygon({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star() [all …]
|
D | strokes.cpp | 140 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw() 142 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw() 149 canvas->drawPath(fDashedfPath, dashPaint); in onDraw() 151 canvas->drawPath(fRefPath[i * 2], fillPaint); in onDraw() 155 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw() 157 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw() 160 canvas->drawPath(fRefPath[1 + i * 2], fillPaint); in onDraw() 162 canvas->drawPath(fCubicPath, strokePaint); in onDraw() 164 canvas->drawPath(fQuadPath, strokePaint); in onDraw() 166 canvas->drawPath(fLinePath, strokePaint); in onDraw() [all …]
|
D | pathfill.cpp | 332 canvas->drawPath(fPath[i], paint); in onDraw() 339 canvas->drawPath(fInfoPath, paint); in onDraw() 344 canvas->drawPath(fAccessibilityPath, paint); in onDraw() 348 canvas->drawPath(fVisualizerPath, paint); in onDraw() 385 canvas->drawPath(path, paint); in show() 435 canvas->drawPath(path, p); 440 canvas->drawPath(path, p); 457 canvas->drawPath(path, p); 468 canvas->drawPath(path, p); 478 canvas->drawPath(path, p); [all …]
|
D | patharcto.cpp | 39 canvas->drawPath(path.detach(), paint); 56 canvas->drawPath(path, paint); 57 canvas->drawPath(path2, paint); 97 canvas->drawPath(path0, paint); 98 canvas->drawPath(path1, paint); 104 canvas->drawPath(path, paint); 111 canvas->drawPath(path, paint); 118 canvas->drawPath(path, paint); 125 canvas->drawPath(path, paint);
|
D | aaa.cpp | 56 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 69 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 80 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 89 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 109 canvas->drawPath(path, p); in DEF_SIMPLE_GM() 117 canvas->drawPath(path, p); in DEF_SIMPLE_GM() 125 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.4999f, 100}) in DEF_SIMPLE_GM() 130 canvas->drawPath(SkPathBuilder().addRect({20, 20, 100.1f, 100}) in DEF_SIMPLE_GM() 144 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
|
D | collapsepaths.cpp | 25 canvas->drawPath(path.detach(), paint); in test_collapse1() 37 canvas->drawPath(path.detach(), paint); in test_collapse2() 49 canvas->drawPath(path.detach(), paint); in test_collapse3() 61 canvas->drawPath(path.detach(), paint); in test_collapse4() 74 canvas->drawPath(path.detach(), paint); in test_collapse5() 87 canvas->drawPath(path.detach(), paint); in test_collapse6() 100 canvas->drawPath(path.detach(), paint); in test_collapse7() 113 canvas->drawPath(path.detach(), paint); in test_collapse8() 129 canvas->drawPath(path.detach(), paint); in test_collapse9() 141 canvas->drawPath(path.detach(), paint); in test_collapse10()
|
D | pathopsinverse.cpp | 86 canvas->drawPath(one, fOnePaint); in onDraw() 87 canvas->drawPath(one, fOutlinePaint); in onDraw() 88 canvas->drawPath(two, fTwoPaint); in onDraw() 89 canvas->drawPath(two, fOutlinePaint); in onDraw() 98 canvas->drawPath(result, fOpPaint[op]); in onDraw() 99 canvas->drawPath(result, fOutlinePaint); in onDraw() 153 canvas->drawPath(path[0], paint); 154 canvas->drawPath(path[1], paint); 158 canvas->drawPath(resultPath, paint);
|
D | overstroke.cpp | 114 canvas->drawPath(ribs, p); in draw_ribs() 127 canvas->drawPath(path, p); in draw_small_quad() 134 canvas->drawPath(path, p); in draw_large_quad() 148 canvas->drawPath(fillpath, fillp); in draw_quad_fillpath() 164 canvas->drawPath(path, p); in draw_small_cubic() 171 canvas->drawPath(path, p); in draw_large_cubic() 185 canvas->drawPath(fillpath, fillp); in draw_cubic_fillpath() 202 canvas->drawPath(path, p); in draw_small_oval() 209 canvas->drawPath(path, p); in draw_large_oval() 223 canvas->drawPath(fillpath, fillp); in draw_oval_fillpath()
|
D | strokefill.cpp | 257 canvas->drawPath(path, p); in path_bold() 266 canvas->drawPath(path, p); in path_bold() 295 canvas->drawPath(path, paint); 301 canvas->drawPath(path2, paint); 305 canvas->drawPath(path2, paint); 312 canvas->drawPath(path2, paint); 321 canvas->drawPath(path3, paint); 330 canvas->drawPath(path4, paint); 339 canvas->drawPath(path4, paint); 348 canvas->drawPath(path4, paint); [all …]
|
D | thinconcavepaths.cpp | 26 canvas->drawPath(path, paint); in draw_thin_stroked_rect() 37 canvas->drawPath(path, paint); in draw_thin_right_angle() 49 canvas->drawPath(path, paint); in draw_golf_club() 65 canvas->drawPath(path, paint); in draw_barbell() 79 canvas->drawPath(path, paint); in draw_thin_rect_and_triangle() 92 canvas->drawPath(path, paint); in draw_hipster_pants() 107 canvas->drawPath(path, paint); in draw_skinny_snake() 118 canvas->drawPath(path, paint); in draw_pointy_golf_club() 131 canvas->drawPath(path, paint); in draw_small_i()
|
D | arcto.cpp | 83 canvas->drawPath(svgArc.detach(), paint); 88 canvas->drawPath(svgArc.detach(), paint); 109 canvas->drawPath(path, paint); 117 canvas->drawPath(path.detach(), paint); 121 canvas->drawPath(path.detach(), paint); 168 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 212 canvas->drawPath(p.detach(), paint); 230 canvas->drawPath(path, p);
|
D | dashcubics.cpp | 37 canvas->drawPath(path, paint); in flower() 42 canvas->drawPath(path, paint); in flower() 47 canvas->drawPath(path, paint); in flower() 155 canvas->drawPath(path, normalPaint); in onDraw() 156 canvas->drawPath(path, invertedPaint); in onDraw() 157 canvas->drawPath(path, hairlinePaint); in onDraw()
|
D | daa.cpp | 41 canvas->drawPath(path, paint); 56 canvas->drawPath(path, paint); 62 canvas->drawPath(path, paint); 81 canvas->drawPath(path, paint); 100 canvas->drawPath(path, paint); 118 canvas->drawPath(path, paint);
|
D | plus.cpp | 40 canvas->drawPath(upperLeft, p); 41 canvas->drawPath(bottomRight, p); 47 canvas->drawPath(upperLeft, p); 48 canvas->drawPath(bottomRight, p);
|
D | cubicpaths.cpp | 46 canvas->drawPath(path, paint); in onDraw() 90 canvas->drawPath(path, framePaint); in drawOne() 93 canvas->drawPath(path, fillPaint); in drawOne() 126 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() function in CubicPathGM 139 canvas->drawPath(path, paint); in drawPath() 213 this->drawPath(path.fPath, canvas, color, rect, in onDraw() 245 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() function in CubicClosePathGM 258 canvas->drawPath(path, paint); in drawPath() 333 this->drawPath(path.fPath, canvas, color, rect, in onDraw() 371 canvas->drawPath(path, p); [all …]
|
/third_party/skia/tests/ |
D | DrawPathTest.cpp | 113 surface->getCanvas()->drawPath(path, paint); in test_crbug131181() 126 canvas.drawPath(SkPath().moveTo(2762, 20).quadTo(11, 21702, 10, 21706), paint); in test_crbug_140803() 164 canvas.drawPath(path, paint); in test_crbug_1239558() 197 canvas->drawPath(path, paint); in test_inversepathwithclip() 199 canvas->drawPath(path, paint); in test_inversepathwithclip() 212 canvas->drawPath(path, paint); in test_inversepathwithclip() 214 canvas->drawPath(path, paint); in test_inversepathwithclip() 231 surface->getCanvas()->drawPath(path, paint); in test_bug533() 273 surface->getCanvas()->drawPath(path, paint); in test_bigcubic() 303 canvas->drawPath(p2, paint); in test_halfway() [all …]
|
D | GpuDrawPathTest.cpp | 30 canvas->drawPath(SkPath(), paint); in test_drawPathEmpty() 42 canvas->drawPath(SkPath(), paint); in test_drawPathEmpty() 54 canvas->drawPath(p1, paint); in fill_and_stroke() 55 canvas->drawPath(p2, paint); in fill_and_stroke() 58 canvas->drawPath(p1, paint); in fill_and_stroke() 59 canvas->drawPath(p2, paint); in fill_and_stroke() 112 surface->getCanvas()->drawPath(path, paint); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 130 surface->getCanvas()->drawPath(path, paint); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
/third_party/skia/samplecode/ |
D | SampleClock.cpp | 56 canvas->drawPath(path, paintStroke); in onDrawContent() 84 canvas->drawPath(path, paintStroke); in onDrawContent() 106 canvas->drawPath(path, paintStroke); in onDrawContent() 127 canvas->drawPath(path, paintStroke); in onDrawContent() 149 canvas->drawPath(path, paintStroke); in onDrawContent() 165 canvas->drawPath(path, paintFill); in onDrawContent() 175 canvas->drawPath(path, paintStroke); in onDrawContent() 185 canvas->drawPath(path, paintFill); in onDrawContent() 201 canvas->drawPath(path, paintStroke); in onDrawContent()
|
D | SampleComplexClip.cpp | 70 canvas->drawPath(path, pathPaint); in onDrawContent() 72 canvas->drawPath(clipA, paint); in onDrawContent() 74 canvas->drawPath(clipB, paint); in onDrawContent() 104 canvas->drawPath(path, pathPaint); in onDrawContent() 109 canvas->drawPath(path, paint); in onDrawContent() 113 canvas->drawPath(clipA, paint); in onDrawContent() 115 canvas->drawPath(clipB, paint); in onDrawContent()
|
/third_party/skia/docs/examples/ |
D | pathops.cpp | 62 canvas->drawPath(one, fOnePaint); in draw() 63 canvas->drawPath(one, fOutlinePaint); in draw() 64 canvas->drawPath(two, fTwoPaint); in draw() 65 canvas->drawPath(two, fOutlinePaint); in draw() 74 canvas->drawPath(result, fOpPaint[op]); in draw() 75 canvas->drawPath(result, fOutlinePaint); in draw()
|
D | SKIA_LOGO.cpp | 49 canvas->drawPath(s, p); in draw() 64 canvas->drawPath(k, p); in draw() 77 canvas->drawPath(a, p); in draw() 85 canvas->drawPath(triangle, p); in draw() 97 canvas->drawPath(path, p); in draw()
|
D | fivearcs.cpp | 18 canvas->drawPath(arcPath, arcPaint); in draw() 28 canvas->drawPath(arcPath, arcPaint); in draw() 35 canvas->drawPath(arcPath, arcPaint); in draw() 42 canvas->drawPath(arcPath, arcPaint); in draw()
|
D | SKIA_LOGO_svg.cpp | 38 canvas->drawPath(s, p); in draw() 43 canvas->drawPath(k, p); in draw() 48 canvas->drawPath(a, p); in draw() 52 canvas->drawPath(triangle, p); in draw()
|
/third_party/skia/modules/canvaskit/tests/ |
D | path.spec.js | 50 canvas.drawPath(path, paint); 56 canvas.drawPath(rrectPath, paint); 267 canvas.drawPath(path, paint); 269 canvas.drawPath(path, paint); 291 canvas.drawPath(path, paint); 312 canvas.drawPath(path, paint); 350 canvas.drawPath(path, paint); 382 canvas.drawPath(path, paint); 448 canvas.drawPath(path, paint); 486 canvas.drawPath(path, paint); [all …]
|