From f59799139bacd300bf5251a1ca4e6b2ad3196457 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Tue, 15 Jun 2010 00:57:50 +0000 Subject: rename round, ceil, etc. to avoid some platform macros git-svn-id: http://skia.googlecode.com/svn/trunk@577 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkSize.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/core') 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 { 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; -- cgit v1.2.3