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

Unified Diff: sky/engine/core/painting/Path.idl

Issue 1152383002: A proof of concept for annular sector layout. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add the Path C++ and IDL files which I forgot before Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/painting/CanvasPath.cpp ('k') | sky/examples/raw/sector-layout.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Path.idl
diff --git a/sky/engine/core/painting/Path.idl b/sky/engine/core/painting/Path.idl
new file mode 100644
index 0000000000000000000000000000000000000000..d3a06ce30a586c1e95932f611509cb93ae62086a
--- /dev/null
+++ b/sky/engine/core/painting/Path.idl
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ Constructor(),
+ ImplementedAs=CanvasPath,
+] interface Path {
+ void moveTo(float x, float y);
+ void lineTo(float x, float y);
+ void arcTo(Rect rect, float startAngle, float sweepAngle, boolean forceMoveTo);
+ void close();
+};
« no previous file with comments | « sky/engine/core/painting/CanvasPath.cpp ('k') | sky/examples/raw/sector-layout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698