Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 8a71f1d0bbe9827f6eeae21aee322e59c8e65808..ad8890dcb063d9fdfd361bf42b6157db7235503d 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -28,6 +28,7 @@ class SkImage; |
class SkMetaData; |
class SkPicture; |
class SkRRect; |
+struct SkRSXform; |
class SkSurface; |
class SkSurface_Base; |
class SkTextBlob; |
@@ -1024,6 +1025,12 @@ public: |
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint); |
/** |
+ * colors, cullRect and paint are all optional. |
+ */ |
+ void drawAtlas(const SkImage* atlas, const SkRSXform[], const SkRect tex[], const SkColor[], |
bsalomon
2015/06/15 15:44:15
What does SkRSXform apply to? A standard rectangle
reed1
2015/06/15 18:52:33
added to dox:
xform maps [0, 0, tex.width, tex.he
|
+ int count, const SkRect* cullRect, const SkPaint* paint); |
+ |
+ /** |
* Draw the contents of this drawable into the canvas. If the canvas is async |
* (e.g. it is recording into a picture) then the drawable will be referenced instead, |
* to have its draw() method called when the picture is finalized. |