diff options
author | 2014-02-05 03:01:48 +0000 | |
---|---|---|
committer | 2014-02-05 03:01:48 +0000 | |
commit | 1dab403e447f4f663690e018651338304fe6e86a (patch) | |
tree | e44b5cf9a2ebc02f95ecac50f74f178141e23773 /gm/convexpolyclip.cpp | |
parent | 076f078a5ef3506190fb6c97b7b91827d91cb7c1 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13316 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/convexpolyclip.cpp')
-rw-r--r-- | gm/convexpolyclip.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gm/convexpolyclip.cpp b/gm/convexpolyclip.cpp index d29e5398b0..0822f4c219 100644 --- a/gm/convexpolyclip.cpp +++ b/gm/convexpolyclip.cpp @@ -125,7 +125,7 @@ protected: rotM.setRotate(23.f, rect.centerX(), rect.centerY()); rotRect.transform(rotM); fClips.addToTail()->setPath(rotRect); - + fBmp = make_bmp(100, 100); } @@ -198,7 +198,7 @@ private: }; Clip () : fClipType(kNone_ClipType) {} - + void setOnCanvas(SkCanvas* canvas, SkRegion::Op op, bool aa) const { switch (fClipType) { case kPath_ClipType: @@ -212,7 +212,7 @@ private: break; } } - + void asClosedPath(SkPath* path) const { switch (fClipType) { case kPath_ClipType: @@ -228,26 +228,26 @@ private: break; } } - + void setPath(const SkPath& path) { fClipType = kPath_ClipType; fPath = path; } - + void setRect(const SkRect& rect) { fClipType = kRect_ClipType; fRect = rect; fPath.reset(); } - + ClipType getType() const { return fClipType; } - + private: ClipType fClipType; SkPath fPath; SkRect fRect; }; - + SkTLList<Clip> fClips; SkBitmap fBmp; |