Home | History | Annotate | Download | only in samplecode

Lines Matching refs:rastBuilder

80 static void r0(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
84 rastBuilder->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
89 rastBuilder->addLayer(p);
94 rastBuilder->addLayer(p);
97 static void r1(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
98 rastBuilder->addLayer(p);
104 rastBuilder->addLayer(p);
107 static void r2(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
110 rastBuilder->addLayer(p);
115 rastBuilder->addLayer(p);
118 static void r3(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
121 rastBuilder->addLayer(p);
126 rastBuilder->addLayer(p);
129 static void r4(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
131 rastBuilder->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
135 rastBuilder->addLayer(p, SK_Scalar1*3/2, SK_Scalar1*3/2);
138 rastBuilder->addLayer(p);
141 static void r5(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
142 rastBuilder->addLayer(p);
146 rastBuilder->addLayer(p);
149 static void r6(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
150 rastBuilder->addLayer(p);
157 rastBuilder->addLayer(p);
183 static void r7(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
188 rastBuilder->addLayer(p);
191 static void r8(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
192 rastBuilder->addLayer(p);
199 rastBuilder->addLayer(p);
205 rastBuilder->addLayer(p);
208 static void r9(SkLayerRasterizer::Builder* rastBuilder, SkPaint& p) {
209 rastBuilder->addLayer(p);
216 rastBuilder->addLayer(p);
222 rastBuilder->addLayer(p);
245 SkLayerRasterizer::Builder rastBuilder;
248 proc(&rastBuilder, p);
249 paint->setRasterizer(rastBuilder.detachRasterizer())->unref();