Lines Matching refs:cpaint

310 void sk_canvas_save_layer(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) {  in sk_canvas_save_layer()  argument
311 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
353 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { in sk_canvas_draw_paint() argument
354 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint()
357 void sk_canvas_draw_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_rect() argument
358 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
361 void sk_canvas_draw_oval(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_oval() argument
362 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()
365 void sk_canvas_draw_path(sk_canvas_t* ccanvas, const sk_path_t* cpath, const sk_paint_t* cpaint) { in sk_canvas_draw_path() argument
366 AsCanvas(ccanvas)->drawPath(AsPath(*cpath), AsPaint(*cpaint)); in sk_canvas_draw_path()
370 const sk_paint_t* cpaint) { in sk_canvas_draw_image() argument
371 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, AsPaint(cpaint)); in sk_canvas_draw_image()
376 const sk_paint_t* cpaint) { in sk_canvas_draw_image_rect() argument
377 … AsCanvas(ccanvas)->drawImageRect(AsImage(cimage), AsRect(csrcR), AsRect(*cdstR), AsPaint(cpaint)); in sk_canvas_draw_image_rect()
381 const sk_matrix_t* cmatrix, const sk_paint_t* cpaint) { in sk_canvas_draw_picture() argument
388 AsCanvas(ccanvas)->drawPicture(AsPicture(cpicture), matrixPtr, AsPaint(cpaint)); in sk_canvas_draw_picture()
601 sk_paint_t* cpaint = sk_paint_new(); in sk_test_capi() local
602 sk_paint_set_antialias(cpaint, true); in sk_test_capi()
603 sk_paint_set_color(cpaint, 0xFFFF0000); in sk_test_capi()
606 sk_canvas_draw_oval(ccanvas, &cr, cpaint); in sk_test_capi()
612 sk_paint_set_color(cpaint, 0xFF00FF00); in sk_test_capi()
613 sk_canvas_draw_rect(ccanvas, &cr, cpaint); in sk_test_capi()
621 sk_canvas_draw_path(ccanvas, cpath, cpaint); in sk_test_capi()
629 sk_paint_delete(cpaint); in sk_test_capi()