aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkFloat.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-19 14:22:03 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-19 14:22:03 +0000
commit1915fd09f3b60eb907f5ab155e8379b589e2bae1 (patch)
tree24dbb06f840516cafff4d7c7d0266bd46d959ab1 /src/core/SkFloat.h
parent4fa237f2fb66e7f3be003add06e719e1ca1fe643 (diff)
remove unused SkFixed and SkFract functions
BUG= R=caryclark@google.com Review URL: https://codereview.chromium.org/113873008 git-svn-id: http://skia.googlecode.com/svn/trunk@12767 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkFloat.h')
-rw-r--r--src/core/SkFloat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkFloat.h b/src/core/SkFloat.h
index 74cd19e542..0d4f9b41a7 100644
--- a/src/core/SkFloat.h
+++ b/src/core/SkFloat.h
@@ -20,12 +20,10 @@ public:
// void setShift(int value, int shift) { fPacked = SetShift(value, shift); }
void setInt(int value) { fPacked = SetShift(value, 0); }
void setFixed(SkFixed value) { fPacked = SetShift(value, -16); }
- void setFract(SkFract value) { fPacked = SetShift(value, -30); }
// int getShift(int shift) const { return GetShift(fPacked, shift); }
int getInt() const { return GetShift(fPacked, 0); }
SkFixed getFixed() const { return GetShift(fPacked, -16); }
- SkFract getFract() const { return GetShift(fPacked, -30); }
void abs() { fPacked = Abs(fPacked); }
void negate() { fPacked = Neg(fPacked); }