Index: src/c/sk_surface.cpp |
diff --git a/src/c/sk_surface.cpp b/src/c/sk_surface.cpp |
index 1cd4f3d87e37c84de4753cfb722c53f314c0baff..c75ab23d55728f67ee0b348ba70bac82a3d24c65 100644 |
--- a/src/c/sk_surface.cpp |
+++ b/src/c/sk_surface.cpp |
@@ -308,6 +308,18 @@ void sk_canvas_scale(sk_canvas_t* ccanvas, float sx, float sy) { |
AsCanvas(ccanvas)->scale(sx, sy); |
} |
+void sk_canvas_rotate_degress(sk_canvas_t* ccanvas, float degrees) { |
+ AsCanvas(ccanvas)->rotate(degrees); |
+} |
+ |
+void sk_canvas_rotate_radians(sk_canvas_t* ccanvas, float radians) { |
+ AsCanvas(ccanvas)->rotate(SkRadiansToDegrees(radians)); |
+} |
+ |
+void sk_canvas_skew(sk_canvas_t* ccanvas, float sx, float sy) { |
+ AsCanvas(ccanvas)->skew(sx, sy); |
+} |
+ |
void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { |
AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); |
} |