Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Side by Side Diff: include/core/SkPaint.h

Issue 141863005: Add standalone drawText for GrTextContext. (Closed) Base URL: https://skia.googlesource.com/skia.git@issue2018-factory
Patch Set: One more Mac compile error. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/gpu/GrBitmapTextContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 2
3 /* 3 /*
4 * Copyright 2006 The Android Open Source Project 4 * Copyright 2006 The Android Open Source Project
5 * 5 *
6 * Use of this source code is governed by a BSD-style license that can be 6 * Use of this source code is governed by a BSD-style license that can be
7 * found in the LICENSE file. 7 * found in the LICENSE file.
8 */ 8 */
9 9
10 10
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache); 1064 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache);
1065 static const SkScalar kMag2Max = kMaxSize * kMaxSize; 1065 static const SkScalar kMag2Max = kMaxSize * kMaxSize;
1066 return kMag2Max; 1066 return kMag2Max;
1067 } 1067 }
1068 1068
1069 friend class SkAutoGlyphCache; 1069 friend class SkAutoGlyphCache;
1070 friend class SkCanvas; 1070 friend class SkCanvas;
1071 friend class SkDraw; 1071 friend class SkDraw;
1072 friend class SkGraphics; // So Term() can be called. 1072 friend class SkGraphics; // So Term() can be called.
1073 friend class SkPDFDevice; 1073 friend class SkPDFDevice;
1074 friend class GrBitmapTextContext;
1074 friend class GrDistanceFieldTextContext; 1075 friend class GrDistanceFieldTextContext;
1075 friend class SkTextToPathIter; 1076 friend class SkTextToPathIter;
1076 friend class SkCanonicalizePaint; 1077 friend class SkCanonicalizePaint;
1077 1078
1078 #ifdef SK_BUILD_FOR_ANDROID 1079 #ifdef SK_BUILD_FOR_ANDROID
1079 SkPaintOptionsAndroid fPaintOptionsAndroid; 1080 SkPaintOptionsAndroid fPaintOptionsAndroid;
1080 1081
1081 // In order for the == operator to work properly this must be the last field 1082 // In order for the == operator to work properly this must be the last field
1082 // in the struct so that we can do a memcmp to this field's offset. 1083 // in the struct so that we can do a memcmp to this field's offset.
1083 uint32_t fGenerationID; 1084 uint32_t fGenerationID;
1084 #endif 1085 #endif
1085 }; 1086 };
1086 1087
1087 #endif 1088 #endif
OLDNEW
« no previous file with comments | « no previous file | include/gpu/GrBitmapTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698