Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: experimental/SkV8Example/Path.h

Issue 161223002: Add conicTo(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | experimental/SkV8Example/Path.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 * 7 *
8 */ 8 */
9 9
10 #ifndef SkV8Example_Path_DEFINED 10 #ifndef SkV8Example_Path_DEFINED
(...skipping 22 matching lines...) Expand all
33 // Path JS methods. 33 // Path JS methods.
34 static void ClosePath(const v8::FunctionCallbackInfo<v8::Value>& args); 34 static void ClosePath(const v8::FunctionCallbackInfo<v8::Value>& args);
35 static void MoveTo(const v8::FunctionCallbackInfo<v8::Value>& args); 35 static void MoveTo(const v8::FunctionCallbackInfo<v8::Value>& args);
36 static void LineTo(const v8::FunctionCallbackInfo<v8::Value>& args); 36 static void LineTo(const v8::FunctionCallbackInfo<v8::Value>& args);
37 static void QuadraticCurveTo( 37 static void QuadraticCurveTo(
38 const v8::FunctionCallbackInfo<v8::Value>& args); 38 const v8::FunctionCallbackInfo<v8::Value>& args);
39 static void BezierCurveTo(const v8::FunctionCallbackInfo<v8::Value>& args); 39 static void BezierCurveTo(const v8::FunctionCallbackInfo<v8::Value>& args);
40 static void Arc(const v8::FunctionCallbackInfo<v8::Value>& args); 40 static void Arc(const v8::FunctionCallbackInfo<v8::Value>& args);
41 static void Rect(const v8::FunctionCallbackInfo<v8::Value>& args); 41 static void Rect(const v8::FunctionCallbackInfo<v8::Value>& args);
42 static void Oval(const v8::FunctionCallbackInfo<v8::Value>& args); 42 static void Oval(const v8::FunctionCallbackInfo<v8::Value>& args);
43 static void ConicTo(const v8::FunctionCallbackInfo<v8::Value>& args);
43 private: 44 private:
44 SkPath fSkPath; 45 SkPath fSkPath;
45 46
46 static Path* Unwrap(const v8::FunctionCallbackInfo<v8::Value>& args); 47 static Path* Unwrap(const v8::FunctionCallbackInfo<v8::Value>& args);
47 48
48 static Global* gGlobal; 49 static Global* gGlobal;
49 }; 50 };
50 51
51 #endif 52 #endif
OLDNEW
« no previous file with comments | « no previous file | experimental/SkV8Example/Path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698