diff options
author | 2012-08-23 18:09:54 +0000 | |
---|---|---|
committer | 2012-08-23 18:09:54 +0000 | |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /include/core/SkPicture.h | |
parent | 2abed834789bb64c7da740df4c47efc142b7311a (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r-- | include/core/SkPicture.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index dae7ed7829..8a633dc910 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -43,12 +43,12 @@ public: */ explicit SkPicture(SkStream*); virtual ~SkPicture(); - + /** * Swap the contents of the two pictures. Guaranteed to succeed. */ void swap(SkPicture& other); - + enum RecordingFlags { /* This flag specifies that when clipPath() is called, the path will be faithfully recorded, but the recording canvas' current clip will @@ -92,7 +92,7 @@ public: @param surface the canvas receiving the drawing commands. */ void draw(SkCanvas* surface); - + /** Return the width of the picture's recording canvas. This value reflects what was passed to setSize(), and does not necessarily reflect the bounds of what has been recorded into the picture. @@ -111,10 +111,10 @@ public: /** Signals that the caller is prematurely done replaying the drawing commands. This can be called from a canvas virtual while the picture - is drawing. Has no effect if the picture is not drawing. + is drawing. Has no effect if the picture is not drawing. */ void abortPlayback(); - + private: int fWidth, fHeight; SkPictureRecord* fRecord; @@ -136,11 +136,11 @@ public: ~SkAutoPictureRecord() { fPicture->endRecording(); } - + /** Return the canvas to draw into for recording into the picture. */ SkCanvas* getRecordingCanvas() const { return fCanvas; } - + private: SkPicture* fPicture; SkCanvas* fCanvas; |