1// Copyright 2013 The Flutter Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5part of engine; 6 7class SkPicture implements ui.Picture { 8 final js.JsObject skPicture; 9 10 SkPicture(this.skPicture, this.cullRect); 11 12 @override 13 int get approximateBytesUsed => 0; 14 15 @override 16 final ui.Rect cullRect; 17 18 @override 19 void dispose() { 20 // TODO: implement dispose 21 } 22 23 @override 24 // TODO: implement recordingCanvas 25 RecordingCanvas get recordingCanvas => null; 26 27 @override 28 Future<ui.Image> toImage(int width, int height) { 29 // TODO: implement toImage 30 return null; 31 } 32} 33