aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-15 00:57:50 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-15 00:57:50 +0000
commitf59799139bacd300bf5251a1ca4e6b2ad3196457 (patch)
tree4b4b5149b2539423a86c325d76eda044050cbfa2 /include/core
parent4f9cdcc810bd4af92a2383d29214fa9691dccef3 (diff)
rename round, ceil, etc. to avoid some platform macros
git-svn-id: http://skia.googlecode.com/svn/trunk@577 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkSize.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/core/SkSize.h b/include/core/SkSize.h
index 9df9508f7d..8371c9b21b 100644
--- a/include/core/SkSize.h
+++ b/include/core/SkSize.h
@@ -83,19 +83,19 @@ struct SkSize : public SkTSize<SkScalar> {
return *this;
}
- SkISize round() const {
+ SkISize toRound() const {
SkISize s;
s.set(SkScalarRound(fWidth), SkScalarRound(fHeight));
return s;
}
-
- SkISize ceil() const {
+
+ SkISize toCeil() const {
SkISize s;
s.set(SkScalarCeil(fWidth), SkScalarCeil(fHeight));
return s;
}
- SkISize floor() const {
+ SkISize toFloor() const {
SkISize s;
s.set(SkScalarFloor(fWidth), SkScalarFloor(fHeight));
return s;