Chromium Code Reviews| Index: include/core/SkTextBlob.h |
| diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h |
| index 334cfb98c4595d2d51844e55c82880b89de9a34e..96ab2f738262fdd6042668d422e3892b9828a469 100644 |
| --- a/include/core/SkTextBlob.h |
| +++ b/include/core/SkTextBlob.h |
| @@ -23,7 +23,7 @@ class SkWriteBuffer; |
| class SK_API SkTextBlob : public SkRefCnt { |
| public: |
| /** |
| - * Returns the blob bounding box. |
| + * Returns a conservative blob bounding box. |
| */ |
| const SkRect& bounds() const { return fBounds; } |
| @@ -188,6 +188,9 @@ private: |
| int count, SkPoint offset); |
| void updateDeferredBounds(); |
| + static SkRect conservativeRunBounds(const SkTextBlob::RunRecord&); |
|
reed1
2015/01/28 15:02:22
nit: static functions are Capitalized()
f(malita)
2015/01/28 15:14:37
Done.
|
| + static SkRect tightRunBounds(const SkTextBlob::RunRecord&); |
| + |
| SkAutoTMalloc<uint8_t> fStorage; |
| size_t fStorageSize; |
| size_t fStorageUsed; |