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

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

Issue 1951463002: Add SK_API to SkFontLCDConfig. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | no next file » | 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 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 #ifndef SkFontLCDConfig_DEFINED 8 #ifndef SkFontLCDConfig_DEFINED
9 #define SkFontLCDConfig_DEFINED 9 #define SkFontLCDConfig_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 class SkFontLCDConfig { 13 class SK_API SkFontLCDConfig {
14 public: 14 public:
15 /** LCDs either have their color elements arranged horizontally or 15 /** LCDs either have their color elements arranged horizontally or
16 vertically. When rendering subpixel glyphs we need to know which way 16 vertically. When rendering subpixel glyphs we need to know which way
17 round they are. 17 round they are.
18 18
19 Note, if you change this after startup, you'll need to flush the glyph 19 Note, if you change this after startup, you'll need to flush the glyph
20 cache because it'll have the wrong type of masks cached. 20 cache because it'll have the wrong type of masks cached.
21 21
22 @deprecated use SkPixelGeometry instead. 22 @deprecated use SkPixelGeometry instead.
23 */ 23 */
(...skipping 25 matching lines...) Expand all
49 kNONE_LCDOrder = 2 49 kNONE_LCDOrder = 2
50 }; 50 };
51 51
52 /** @deprecated set on Device creation. */ 52 /** @deprecated set on Device creation. */
53 static void SetSubpixelOrder(LCDOrder order); 53 static void SetSubpixelOrder(LCDOrder order);
54 /** @deprecated get from Device. */ 54 /** @deprecated get from Device. */
55 static LCDOrder GetSubpixelOrder(); 55 static LCDOrder GetSubpixelOrder();
56 }; 56 };
57 57
58 #endif 58 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698