• Home
  • Raw
  • Download

Lines Matching refs:paint

18 static void compose_pe(SkPaint* paint) {  in compose_pe()  argument
19 SkPathEffect* pe = paint->getPathEffect(); in compose_pe()
28 paint->setPathEffect(compose)->unref(); in compose_pe()
31 static void hair_pe(SkPaint* paint) { in hair_pe() argument
32 paint->setStrokeWidth(0); in hair_pe()
35 static void hair2_pe(SkPaint* paint) { in hair2_pe() argument
36 paint->setStrokeWidth(0); in hair2_pe()
37 compose_pe(paint); in hair2_pe()
40 static void stroke_pe(SkPaint* paint) { in stroke_pe() argument
41 paint->setStrokeWidth(12); in stroke_pe()
42 compose_pe(paint); in stroke_pe()
45 static void dash_pe(SkPaint* paint) { in dash_pe() argument
47 paint->setStrokeWidth(12); in dash_pe()
48 paint->setPathEffect(new SkDashPathEffect(inter, SK_ARRAY_COUNT(inter), in dash_pe()
50 compose_pe(paint); in dash_pe()
63 static void one_d_pe(SkPaint* paint) { in one_d_pe() argument
72 paint->setPathEffect(new SkPath1DPathEffect(path, SkIntToScalar(21), 0, in one_d_pe()
74 compose_pe(paint); in one_d_pe()
80 static void fill_pe(SkPaint* paint) { in fill_pe() argument
81 paint->setStyle(SkPaint::kFill_Style); in fill_pe()
82 paint->setPathEffect(NULL); in fill_pe()
85 static void discrete_pe(SkPaint* paint) { in discrete_pe() argument
86 paint->setPathEffect(new SkDiscretePathEffect(10, 4))->unref(); in discrete_pe()
99 static void tile_pe(SkPaint* paint) { in tile_pe() argument
100 paint->setPathEffect(MakeTileEffect())->unref(); in tile_pe()
117 SkPaint paint; in onDraw() local
118 paint.setAntiAlias(true); in onDraw()
119 paint.setStyle(SkPaint::kStroke_Style); in onDraw()
131 gPE[i](&paint); in onDraw()
132 canvas->drawPath(path, paint); in onDraw()
145 gPE2[i](&paint); in onDraw()
146 canvas->drawPath(path, paint); in onDraw()