Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 // TODO(jacobr): should we remove this class completely or | |
| 8 // add additional helper methods like | |
|
vsm
2011/11/04 21:26:35
If we remove this, do you have an alternative sche
Jacob
2011/11/04 22:26:13
You should still be able to directly access the un
| |
| 9 // Color getPixel(int index) | |
| 10 // or | |
| 11 // void setPixel(int r, int g, int b, int a, int index); | |
| 7 interface CanvasPixelArray extends List<int> { | 12 interface CanvasPixelArray extends List<int> { |
| 8 | |
| 9 int get length(); | |
| 10 | |
| 11 int item(int index); | |
| 12 } | 13 } |
| OLD | NEW |