add sample for arcTo
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/808793002
diff --git a/samplecode/SampleCode.h b/samplecode/SampleCode.h
index 26a8207..93127eb 100644
--- a/samplecode/SampleCode.h
+++ b/samplecode/SampleCode.h
@@ -17,6 +17,11 @@
#include "SkOSMenu.h"
class GrContext;
+#define DEF_SAMPLE(code) \
+ static SkView* SK_MACRO_APPEND_LINE(F_)() { code } \
+ static SkViewRegister SK_MACRO_APPEND_LINE(R_)(SK_MACRO_APPEND_LINE(F_));
+
+
class SampleCode {
public:
static bool KeyQ(const SkEvent&, SkKey* outKey);