Index: experimental/webtry/result.cpp |
diff --git a/experimental/webtry/result.cpp b/experimental/webtry/result.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d06ef9c3da5a06a9b1245bb419d4bf3dd99085a4 |
--- /dev/null |
+++ b/experimental/webtry/result.cpp |
@@ -0,0 +1,28 @@ |
+#include "SkCanvas.h" |
+#include "SkData.h" |
+#include "SkForceLinking.h" |
+#include "SkGraphics.h" |
+#include "SkImageEncoder.h" |
+#include "SkImageInfo.h" |
+#include "SkStream.h" |
+#include "SkSurface.h" |
+ |
+ |
+void draw(SkCanvas* canvas) { |
+#line 1 |
+SkPaint p; |
+#line 2 |
+p.setColor(SK_ColorRED); |
+#line 3 |
+p.setAntiAlias(true); |
+#line 4 |
+p.setStyle(SkPaint::kStroke_Style); |
+#line 5 |
+p.setStrokeWidth(10); |
+#line 6 |
+ |
+#line 7 |
+canvas->drawLine(20, 20, 100, 100, p); |
+#line 8 |
+ |
+} |