OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkTextBlob.h" | 8 #include "SkTextBlobPriv.h" |
9 | 9 |
10 #include "SkReadBuffer.h" | 10 #include "SkReadBuffer.h" |
11 #include "SkTypeface.h" | 11 #include "SkTypeface.h" |
12 #include "SkWriteBuffer.h" | 12 #include "SkWriteBuffer.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 // TODO(fmalita): replace with SkFont. | 16 // TODO(fmalita): replace with SkFont. |
17 class RunFont : SkNoncopyable { | 17 class RunFont : SkNoncopyable { |
18 public: | 18 public: |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 | 635 |
636 fStorageUsed = 0; | 636 fStorageUsed = 0; |
637 fStorageSize = 0; | 637 fStorageSize = 0; |
638 fRunCount = 0; | 638 fRunCount = 0; |
639 fLastRun = 0; | 639 fLastRun = 0; |
640 fBounds.setEmpty(); | 640 fBounds.setEmpty(); |
641 | 641 |
642 return blob; | 642 return blob; |
643 } | 643 } |
644 | 644 |
OLD | NEW |