Searched refs:AsPaint (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/c/ |
D | sk_paint.cpp | 50 SkDELETE(AsPaint(cpaint)); in sk_paint_delete() 54 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias() 58 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias() 62 return AsPaint(*cpaint).getColor(); in sk_paint_get_color() 66 AsPaint(cpaint)->setColor(c); in sk_paint_set_color() 70 AsPaint(cpaint)->setShader(AsShader(cshader)); in sk_paint_set_shader() 74 AsPaint(cpaint)->setMaskFilter(AsMaskFilter(cfilter)); in sk_paint_set_maskfilter() 78 return AsPaint(*cpaint).getStyle() != SkPaint::kFill_Style; in sk_paint_is_stroke() 82 AsPaint(cpaint)->setStyle(doStroke ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in sk_paint_set_stroke() 86 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width() [all …]
|
D | sk_types_priv.h | 17 static inline const SkPaint& AsPaint(const sk_paint_t& cpaint) { in AsPaint() function 21 static inline const SkPaint* AsPaint(const sk_paint_t* cpaint) { in AsPaint() function 25 static inline SkPaint* AsPaint(sk_paint_t* cpaint) { in AsPaint() function
|
D | sk_surface.cpp | 311 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer() 354 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint() 358 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect() 362 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval() 366 AsCanvas(ccanvas)->drawPath(AsPath(*cpath), AsPaint(*cpaint)); in sk_canvas_draw_path() 371 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, AsPaint(cpaint)); in sk_canvas_draw_image() 377 … AsCanvas(ccanvas)->drawImageRect(AsImage(cimage), AsRect(csrcR), AsRect(*cdstR), AsPaint(cpaint)); in sk_canvas_draw_image_rect() 388 AsCanvas(ccanvas)->drawPicture(AsPicture(cpicture), matrixPtr, AsPaint(cpaint)); in sk_canvas_draw_picture()
|