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

Side by Side Diff: src/core/SkScalerContext.h

Issue 939123002: Make fID and MixedID calculations private (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Support android build Created 5 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #ifndef SkScalerContext_DEFINED 8 #ifndef SkScalerContext_DEFINED
9 #define SkScalerContext_DEFINED 9 #define SkScalerContext_DEFINED
10 10
11 #include "SkMask.h" 11 #include "SkMask.h"
12 #include "SkMaskGamma.h" 12 #include "SkMaskGamma.h"
13 #include "SkMatrix.h" 13 #include "SkMatrix.h"
14 #include "SkPaint.h" 14 #include "SkPaint.h"
15 #include "SkTypeface.h" 15 #include "SkTypeface.h"
16 16
17 struct SkGlyph; 17 class SkGlyph;
18 class SkDescriptor; 18 class SkDescriptor;
19 class SkMaskFilter; 19 class SkMaskFilter;
20 class SkPathEffect; 20 class SkPathEffect;
21 class SkRasterizer; 21 class SkRasterizer;
22 22
23 /* 23 /*
24 * To allow this to be forward-declared, it must be its own typename, rather 24 * To allow this to be forward-declared, it must be its own typename, rather
25 * than a nested struct inside SkScalerContext (where it started). 25 * than a nested struct inside SkScalerContext (where it started).
26 */ 26 */
27 struct SkScalerContextRec { 27 struct SkScalerContextRec {
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 return static_cast<SkPaint::Hinting>(hint); 359 return static_cast<SkPaint::Hinting>(hint);
360 } 360 }
361 361
362 void SkScalerContextRec::setHinting(SkPaint::Hinting hinting) { 362 void SkScalerContextRec::setHinting(SkPaint::Hinting hinting) {
363 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | 363 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) |
364 (hinting << SkScalerContext::kHinting_Shift); 364 (hinting << SkScalerContext::kHinting_Shift);
365 } 365 }
366 366
367 367
368 #endif 368 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698