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

Side by Side Diff: charted/lib/svg/shapes.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « charted/lib/svg/axis.dart ('k') | charted/lib/svg/shapes/arc.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //
2 // Copyright 2014 Google Inc. All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 //
8
9 library charted.svg.shapes;
10
11 import "dart:html" show Element;
12 import "dart:math" as math;
13
14 import "package:charted/core/utils.dart";
15 import "package:charted/core/interpolators.dart";
16 import "package:charted/selection/selection.dart";
17
18 part 'shapes/arc.dart';
19 part 'shapes/line.dart';
20 part 'shapes/area.dart';
21 part 'shapes/rect.dart';
22
23 /// Common interface provided by all shape implementations.
24 abstract class SvgShape {
25 /// Generate the path based on the passed data [d], element index [i]
26 /// and the element [e]. This method follows the same signature as the
27 /// other callbacks used by selection API - [ChartedCallback<String>]
28 String path(d, int i, Element e);
29 }
OLDNEW
« no previous file with comments | « charted/lib/svg/axis.dart ('k') | charted/lib/svg/shapes/arc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698