OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ShapeResultBloberizer_h | 5 #ifndef ShapeResultBloberizer_h |
6 #define ShapeResultBloberizer_h | 6 #define ShapeResultBloberizer_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "platform/fonts/Glyph.h" | 9 #include "platform/fonts/Glyph.h" |
10 #include "platform/fonts/SimpleFontData.h" | 10 #include "platform/fonts/SimpleFontData.h" |
11 #include "platform/geometry/FloatPoint.h" | 11 #include "platform/geometry/FloatPoint.h" |
| 12 #include "platform/wtf/Allocator.h" |
| 13 #include "platform/wtf/Vector.h" |
12 #include "third_party/skia/include/core/SkTextBlob.h" | 14 #include "third_party/skia/include/core/SkTextBlob.h" |
13 #include "wtf/Allocator.h" | |
14 #include "wtf/Vector.h" | |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class Font; | 18 class Font; |
19 | 19 |
20 class PLATFORM_EXPORT ShapeResultBloberizer { | 20 class PLATFORM_EXPORT ShapeResultBloberizer { |
21 WTF_MAKE_NONCOPYABLE(ShapeResultBloberizer); | 21 WTF_MAKE_NONCOPYABLE(ShapeResultBloberizer); |
22 STACK_ALLOCATED(); | 22 STACK_ALLOCATED(); |
23 | 23 |
24 public: | 24 public: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 Vector<float, 1024> m_pendingOffsets; | 100 Vector<float, 1024> m_pendingOffsets; |
101 float m_pendingVerticalBaselineXOffset = 0; | 101 float m_pendingVerticalBaselineXOffset = 0; |
102 | 102 |
103 // Constructed blobs. | 103 // Constructed blobs. |
104 BlobBuffer m_blobs; | 104 BlobBuffer m_blobs; |
105 }; | 105 }; |
106 | 106 |
107 } // namespace blink | 107 } // namespace blink |
108 | 108 |
109 #endif // ShapeResultBloberizer_h | 109 #endif // ShapeResultBloberizer_h |
OLD | NEW |