Lines Matching refs:paint

39         SkPaint paint;  in make_bitmap()  local
40 paint.setAntiAlias(true); in make_bitmap()
41 sk_tool_utils::set_portable_typeface(&paint); in make_bitmap()
42 paint.setColor(0xFF884422); in make_bitmap()
43 paint.setTextSize(SkIntToScalar(96)); in make_bitmap()
45 canvas.drawText(str, strlen(str), SkIntToScalar(15), SkIntToScalar(55), paint); in make_bitmap()
58 void drawClippedBitmap(SkCanvas* canvas, int x, int y, const SkPaint& paint) { in drawClippedBitmap() argument
62 canvas->drawBitmap(fBitmap, 0, 0, &paint); in drawClippedBitmap()
72 SkPaint paint; in onDraw() local
74 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
77 drawClippedBitmap(canvas, 0, 0, paint); in onDraw()
78 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
81 drawClippedBitmap(canvas, 100, 0, paint); in onDraw()
82 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
85 drawClippedBitmap(canvas, 200, 0, paint); in onDraw()
86 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
89 drawClippedBitmap(canvas, 300, 0, paint); in onDraw()
90 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
93 drawClippedBitmap(canvas, 400, 0, paint); in onDraw()
95 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
98 drawClippedBitmap(canvas, 0, 100, paint); in onDraw()
99 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
102 drawClippedBitmap(canvas, 100, 100, paint); in onDraw()
103 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
106 drawClippedBitmap(canvas, 200, 100, paint); in onDraw()
107 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
110 drawClippedBitmap(canvas, 300, 100, paint); in onDraw()
111 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
114 drawClippedBitmap(canvas, 400, 100, paint); in onDraw()
117 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
121 drawClippedBitmap(canvas, 0, 200, paint); in onDraw()
122 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
126 drawClippedBitmap(canvas, 100, 200, paint); in onDraw()
127 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
131 drawClippedBitmap(canvas, 200, 200, paint); in onDraw()
132 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
136 drawClippedBitmap(canvas, 300, 200, paint); in onDraw()
137 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
141 drawClippedBitmap(canvas, 400, 200, paint); in onDraw()
143 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
147 drawClippedBitmap(canvas, 0, 300, paint); in onDraw()
148 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
152 drawClippedBitmap(canvas, 100, 300, paint); in onDraw()
153 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
157 drawClippedBitmap(canvas, 200, 300, paint); in onDraw()
158 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
162 drawClippedBitmap(canvas, 300, 300, paint); in onDraw()
163 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
167 drawClippedBitmap(canvas, 400, 300, paint); in onDraw()
171 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
175 drawClippedBitmap(canvas, 0, 400, paint); in onDraw()
177 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
181 drawClippedBitmap(canvas, 100, 400, paint); in onDraw()
183 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
187 drawClippedBitmap(canvas, 200, 400, paint); in onDraw()
189 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
193 drawClippedBitmap(canvas, 300, 400, paint); in onDraw()
198 paint.setImageFilter(SkDisplacementMapEffect::Create( in onDraw()
202 drawClippedBitmap(canvas, 400, 400, paint); in onDraw()