Chromium Code Reviews| Index: sky/sdk/lib/README.md |
| diff --git a/sky/sdk/lib/README.md b/sky/sdk/lib/README.md |
| index 3bfbfbf49fafadb24c6d1b777e22e145b552fe36..30406045934ce1fe3bfe6441fbdaa0ce35b97b21 100644 |
| --- a/sky/sdk/lib/README.md |
| +++ b/sky/sdk/lib/README.md |
| @@ -63,3 +63,16 @@ Here is a diagram summarising all this: |
| +-----------------------------+ ------- |
| TODO(ianh): document dart:sky and the Host APIs somewhere |
| + |
| +Sky Engine API |
| +-------------- |
| + |
| +The Sky engine API provides effecient, immutable wrappers |
| +for common Skia C++ types, notably Color, Point, and Rect. |
| +Because these wrappers are immutable, they are suitable |
| +for storage in final member variables of widget classes. |
| +More complex Skia wrappers such as Paint and RRect are |
| +mutable, to more closely match the Skia APIs. We recommend |
| +constructing wrappers for complex Skia classes dynamically |
| +during the painting phase based on the underlying state of |
| +the widget. |
|
abarth-chromium
2015/06/25 18:04:12
This text is good, but I'm not sure this is the ri
Hixie
2015/06/25 18:22:36
Yeah we weren't sure where to put it. We considere
abarth-chromium
2015/06/25 18:34:01
Yeah, we're clearly going to need docs for all the
|