OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "SkRect.h" | 8 #include "SkRect.h" |
10 | 9 |
11 void SkIRect::join(int32_t left, int32_t top, int32_t right, int32_t bottom) { | 10 void SkIRect::join(int32_t left, int32_t top, int32_t right, int32_t bottom) { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 SkString strL, strT, strR, strB; | 167 SkString strL, strT, strR, strB; |
169 SkAppendScalarDec(&strL, fLeft); | 168 SkAppendScalarDec(&strL, fLeft); |
170 SkAppendScalarDec(&strT, fTop); | 169 SkAppendScalarDec(&strT, fTop); |
171 SkAppendScalarDec(&strR, fRight); | 170 SkAppendScalarDec(&strR, fRight); |
172 SkAppendScalarDec(&strB, fBottom); | 171 SkAppendScalarDec(&strB, fBottom); |
173 line.printf("SkRect::MakeLTRB(%s, %s, %s, %s);", | 172 line.printf("SkRect::MakeLTRB(%s, %s, %s, %s);", |
174 strL.c_str(), strT.c_str(), strR.c_str(), strB.c_str()); | 173 strL.c_str(), strT.c_str(), strR.c_str(), strB.c_str()); |
175 } | 174 } |
176 SkDebugf("%s\n", line.c_str()); | 175 SkDebugf("%s\n", line.c_str()); |
177 } | 176 } |
OLD | NEW |