OLD | NEW |
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 interface Canvas { |
5 interface PaintingContext { | 5 // Height and width are used for culling optimizations and do not necessarily |
| 6 // imply that the Canvas is backed by a buffer with any specific bounds. |
6 readonly attribute double height; | 7 readonly attribute double height; |
7 readonly attribute double width; | 8 readonly attribute double width; |
8 | 9 |
9 void drawCircle(double x, double y, double radius, Paint paint); | 10 void drawCircle(double x, double y, double radius, Paint paint); |
10 void commit(); | |
11 }; | 11 }; |
OLD | NEW |