| OLD | NEW |
| 1 SKY SDK | 1 SKY SDK |
| 2 ======== | 2 ======== |
| 3 | 3 |
| 4 Sky and Sky's SDK are designed as layered frameworks, where each layer | 4 Sky and Sky's SDK are designed as layered frameworks, where each layer |
| 5 depends on the ones below it but could be replaced wholesale. | 5 depends on the ones below it but could be replaced wholesale. |
| 6 | 6 |
| 7 The bottom-most layer is the Sky Platform, which is exposed to Dart | 7 The bottom-most layer is the Sky Platform, which is exposed to Dart |
| 8 code as various ```dart:``` packages, including ```dart:sky```. | 8 code as [various ```dart:``` packages](https://api.dartlang.org/), |
| 9 including ```dart:sky```. |
| 9 | 10 |
| 10 The [base/](base/) directory contains libraries that extend these core | 11 The [base/](base/) directory contains libraries that extend these core |
| 11 APIs to provide base classes for tree structures | 12 APIs to provide base classes for tree structures |
| 12 ([base/node.dart](base/node.dart)), hit testing | 13 ([base/node.dart](base/node.dart)), hit testing |
| 13 ([base/hit_test.dart](base/hit_test.dart)), debugging | 14 ([base/hit_test.dart](base/hit_test.dart)), debugging |
| 14 ([base/debug.dart](base/debug.dart)), and task scheduling | 15 ([base/debug.dart](base/debug.dart)), and task scheduling |
| 15 ([base/scheduler.dart](base/scheduler.dart)). | 16 ([base/scheduler.dart](base/scheduler.dart)). |
| 16 | 17 |
| 17 Above this are the files in the [painting/](painting/) directory, | 18 Above this are the files in the [painting/](painting/) directory, |
| 18 which provide APIs related to drawing graphics, and in the | 19 which provide APIs related to drawing graphics, and in the |
| (...skipping 13 matching lines...) Expand all Loading... |
| 32 Text input widgets are layered on this mechanism and can be found in | 33 Text input widgets are layered on this mechanism and can be found in |
| 33 the [editing/](editing/) directory. | 34 the [editing/](editing/) directory. |
| 34 | 35 |
| 35 Alongside the above is the [mojo/](mojo/) directory, which contains | 36 Alongside the above is the [mojo/](mojo/) directory, which contains |
| 36 anything that uses the Mojo IPC mechanism, typically as part of | 37 anything that uses the Mojo IPC mechanism, typically as part of |
| 37 wrapping host operating system features. Some of those Host APIs are | 38 wrapping host operating system features. Some of those Host APIs are |
| 38 implemented in the host system's preferred language. | 39 implemented in the host system's preferred language. |
| 39 | 40 |
| 40 Here is a diagram summarising all this: | 41 Here is a diagram summarising all this: |
| 41 | 42 |
| 42 ``` | 43 +-----------------------------+ ------ |
| 43 +-----------------------------+ ------ | 44 | YOUR APP | |
| 44 | YOUR APP | | 45 | +--------------------+--+ |
| 45 | +--------------------+--+ | 46 | | editing/ | | |
| 46 | | [editing/](editing/) | | | 47 | +--+-------------------++ | |
| 47 | +--+-------------------++ | | 48 | | widgets/ (theme/) | | |
| 48 | | [widgets/](widgets/) ([theme/](theme/)) | | | 49 | ++---------------------++ | Dart |
| 49 | ++---------------------++ | Dart | 50 | | rendering/ | | |
| 50 | | [rendering/](rendering/) | | | 51 +-+---------+------------+ | |
| 51 +-+---------+------------+ | | 52 | painting/ | animation/ | | |
| 52 | [painting/](painting/) | [animation/](animation/) | | | 53 +---------------+--------+ | |
| 53 +---------------+--------+ | | 54 | base/ | mojo/ | |
| 54 | [base/](base/) | [mojo/](mojo/) | | 55 +------------+--+-+----+------+ ------- |
| 55 +------------+--+-+----+------+ ------- | 56 | dart:sky | | | Host | |
| 56 | dart:sky | | | Host | | 57 +--------+---+ | | APIs | C++ |
| 57 +--------+---+ | | APIs | C++ | 58 | Skia | Dart | +------+ ObjC |
| 58 | Skia | [Dart](https://api.dartlang.org/) | +------+ ObjC | 59 +--------+--------+ | Java |
| 59 +--------+--------+ | Java | 60 | Mojo | |
| 60 | Mojo | | 61 +-----------------------------+ ------- |
| 61 +-----------------------------+ ------- | 62 | Host Operating System | C/C++ |
| 62 | Host Operating System | C/C++ | 63 +-----------------------------+ ------- |
| 63 +-----------------------------+ ------- | |
| 64 ``` | |
| 65 | 64 |
| 66 TODO(ianh): document dart:sky and the Host APIs somewhere | 65 TODO(ianh): document dart:sky and the Host APIs somewhere |
| OLD | NEW |