OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
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 | |
10 | |
11 #ifndef GrTextContext_DEFINED | 8 #ifndef GrTextContext_DEFINED |
12 #define GrTextContext_DEFINED | 9 #define GrTextContext_DEFINED |
13 | 10 |
14 #include "GrContext.h" | 11 #include "GrContext.h" |
15 #include "GrGlyph.h" | 12 #include "GrGlyph.h" |
16 #include "GrPaint.h" | 13 #include "GrPaint.h" |
17 | 14 |
18 class GrContext; | 15 class GrContext; |
19 class GrTextStrike; | 16 class GrTextStrike; |
20 class GrFontScaler; | 17 class GrFontScaler; |
(...skipping 25 matching lines...) Expand all Loading... |
46 kDefaultRequestedGlyphs = 64, | 43 kDefaultRequestedGlyphs = 64, |
47 kMinRequestedVerts = kMinRequestedGlyphs * 4, | 44 kMinRequestedVerts = kMinRequestedGlyphs * 4, |
48 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, | 45 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, |
49 }; | 46 }; |
50 | 47 |
51 SkPoint* fVertices; | 48 SkPoint* fVertices; |
52 int32_t fMaxVertices; | 49 int32_t fMaxVertices; |
53 GrTexture* fCurrTexture; | 50 GrTexture* fCurrTexture; |
54 int fCurrVertex; | 51 int fCurrVertex; |
55 | 52 |
56 GrIRect fClipRect; | 53 SkIRect fClipRect; |
57 GrContext::AutoMatrix fAutoMatrix; | 54 GrContext::AutoMatrix fAutoMatrix; |
58 }; | 55 }; |
59 | 56 |
60 #endif | 57 #endif |
OLD | NEW |