Lines Matching refs:drawPaint
45 static void install_detector_color_filter(SkPaint* drawPaint) { in install_detector_color_filter() argument
46 drawPaint->setColorFilter(make_detector_color_filter()); in install_detector_color_filter()
50 static void install_detector_image_filter(SkPaint* drawPaint) { in install_detector_image_filter() argument
51 drawPaint->setImageFilter(SkImageFilters::ColorFilter( in install_detector_image_filter()
52 make_detector_color_filter(), drawPaint->refImageFilter())); in install_detector_image_filter()
70 SkPaint drawPaint; in draw_save_layer_draw_rect_restore_sequence() local
71 drawPaint.setColor(shapeColor); in draw_save_layer_draw_rect_restore_sequence()
72 installDetector(&drawPaint); in draw_save_layer_draw_rect_restore_sequence()
73 canvas->drawRect(targetRect, drawPaint); in draw_save_layer_draw_rect_restore_sequence()
97 SkPaint drawPaint; in draw_save_layer_draw_bitmap_restore_sequence() local
98 installDetector(&drawPaint); in draw_save_layer_draw_bitmap_restore_sequence()
99 canvas->drawImage(bitmap.asImage(), 0, 0, SkSamplingOptions(), &drawPaint); in draw_save_layer_draw_bitmap_restore_sequence()
125 SkPaint drawPaint; in draw_svg_opacity_and_filter_layer_sequence() local
126 drawPaint.setImageFilter(SkImageFilters::Picture(shape)); in draw_svg_opacity_and_filter_layer_sequence()
127 installDetector(&drawPaint); in draw_svg_opacity_and_filter_layer_sequence()
128 canvas->saveLayer(&targetRect, &drawPaint); in draw_svg_opacity_and_filter_layer_sequence()