Home | History | Annotate | Download | only in samplecode

Lines Matching refs:rastBuilder

472 static void r0(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
476 rastBuilder->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
481 rastBuilder->addLayer(p);
486 rastBuilder->addLayer(p);
489 static void r1(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
491 rastBuilder->addLayer(p);
497 rastBuilder->addLayer(p);
500 static void r2(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
504 rastBuilder->addLayer(p);
509 rastBuilder->addLayer(p);
512 static void r3(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
516 rastBuilder->addLayer(p);
521 rastBuilder->addLayer(p);
524 static void r4(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
527 rastBuilder->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
531 rastBuilder->addLayer(p, SK_Scalar1*3/2, SK_Scalar1*3/2);
534 rastBuilder->addLayer(p);
539 static void r5(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
541 rastBuilder->addLayer(p);
545 rastBuilder->addLayer(p);
548 rastBuilder, SkPaint& p)
550 rastBuilder->addLayer(p);
557 rastBuilder->addLayer(p);
568 static void r7(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
574 rastBuilder->addLayer(p);
577 static void r8(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
579 rastBuilder->addLayer(p);
586 rastBuilder->addLayer(p);
592 rastBuilder->addLayer(p);
595 static void r9(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p)
597 rastBuilder->addLayer(p);
604 rastBuilder->addLayer(p);
610 rastBuilder->addLayer(p);
622 SkLayerRasterizer::Builder rastBuilder;
625 proc(&rastBuilder, p);
626 paint->setRasterizer(rastBuilder.detachRasterizer())->unref();