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

Side by Side Diff: sky/engine/core/painting/Point.dart

Issue 1158843002: Sky: Add a Point class. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.dummy; 5 part of dart.sky;
6 6
7 /** Does nothing. */ 7 class Point {
8 class Dummy {} 8 double x;
9 double y;
abarth-chromium 2015/05/27 02:17:36 final?
Matt Perry 2015/05/27 17:55:43 I was envisioning adding methods like offset(x,y)
9 10
11 Point(this.x, this.y);
abarth-chromium 2015/05/27 02:17:36 const ?
12 }
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698