• Home
  • Raw
  • Download

Lines Matching refs:ccanvas

185 static SkCanvas* AsCanvas(sk_canvas_t* ccanvas) {  in AsCanvas()  argument
186 return reinterpret_cast<SkCanvas*>(ccanvas); in AsCanvas()
323 void sk_canvas_save(sk_canvas_t* ccanvas) { in sk_canvas_save() argument
324 AsCanvas(ccanvas)->save(); in sk_canvas_save()
327 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
328 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
331 void sk_canvas_restore(sk_canvas_t* ccanvas) { in sk_canvas_restore() argument
332 AsCanvas(ccanvas)->restore(); in sk_canvas_restore()
335 void sk_canvas_translate(sk_canvas_t* ccanvas, float dx, float dy) { in sk_canvas_translate() argument
336 AsCanvas(ccanvas)->translate(dx, dy); in sk_canvas_translate()
339 void sk_canvas_scale(sk_canvas_t* ccanvas, float sx, float sy) { in sk_canvas_scale() argument
340 AsCanvas(ccanvas)->scale(sx, sy); in sk_canvas_scale()
343 void sk_canvas_rotate_degress(sk_canvas_t* ccanvas, float degrees) { in sk_canvas_rotate_degress() argument
344 AsCanvas(ccanvas)->rotate(degrees); in sk_canvas_rotate_degress()
347 void sk_canvas_rotate_radians(sk_canvas_t* ccanvas, float radians) { in sk_canvas_rotate_radians() argument
348 AsCanvas(ccanvas)->rotate(SkRadiansToDegrees(radians)); in sk_canvas_rotate_radians()
351 void sk_canvas_skew(sk_canvas_t* ccanvas, float sx, float sy) { in sk_canvas_skew() argument
352 AsCanvas(ccanvas)->skew(sx, sy); in sk_canvas_skew()
355 void sk_canvas_concat(sk_canvas_t* ccanvas, const sk_matrix_t* cmatrix) { in sk_canvas_concat() argument
359 AsCanvas(ccanvas)->concat(matrix); in sk_canvas_concat()
362 void sk_canvas_clip_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect) { in sk_canvas_clip_rect() argument
363 AsCanvas(ccanvas)->clipRect(AsRect(*crect)); in sk_canvas_clip_rect()
366 void sk_canvas_clip_path(sk_canvas_t* ccanvas, const sk_path_t* cpath) { in sk_canvas_clip_path() argument
367 AsCanvas(ccanvas)->clipPath(AsPath(*cpath)); in sk_canvas_clip_path()
370 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { in sk_canvas_draw_paint() argument
371 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint()
374 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
375 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
378 void sk_canvas_draw_circle(sk_canvas_t* ccanvas, float cx, float cy, float rad, in sk_canvas_draw_circle() argument
380 AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); in sk_canvas_draw_circle()
383 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
384 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()
387 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
388 AsCanvas(ccanvas)->drawPath(AsPath(*cpath), AsPaint(*cpaint)); in sk_canvas_draw_path()
391 void sk_canvas_draw_image(sk_canvas_t* ccanvas, const sk_image_t* cimage, float x, float y, in sk_canvas_draw_image() argument
393 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, AsPaint(cpaint)); in sk_canvas_draw_image()
396 void sk_canvas_draw_image_rect(sk_canvas_t* ccanvas, const sk_image_t* cimage, in sk_canvas_draw_image_rect() argument
399 SkCanvas* canvas = AsCanvas(ccanvas); in sk_canvas_draw_image_rect()
411 void sk_canvas_draw_picture(sk_canvas_t* ccanvas, const sk_picture_t* cpicture, in sk_canvas_draw_picture() argument
419 AsCanvas(ccanvas)->drawPicture(AsPicture(cpicture), matrixPtr, AsPaint(cpaint)); in sk_canvas_draw_picture()