commit | ddc813b0def5a79d0eb5011240fecce6147ce9ef | [log] [tgz] |
---|---|---|
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Jun 08 12:58:19 2013 +0000 |
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Jun 08 12:58:19 2013 +0000 |
tree | 8f506b0cc7e12a9539b7f4f0b8aa84f8e5f03342 | |
parent | 6319367bdcbf5e5050632ab97973f5035d0dd8fa [diff] [blame] |
move kAlignCount out of Align enum, so it can't accidentally be passed as a parameter git-svn-id: http://skia.googlecode.com/svn/trunk@9479 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index 13be355..caa2030 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h
@@ -628,8 +628,9 @@ kLeft_Align, kCenter_Align, kRight_Align, - - kAlignCount + }; + enum { + kAlignCount = 3 }; /** Return the paint's Align value for drawing text.