aboutsummaryrefslogtreecommitdiffstats
path: root/include/core/SkSize.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkSize.h')
-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 9df9508..8371c9b 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;