Flutter Engine
The Flutter Engine
SkFontTypes.h
Go to the documentation of this file.
1/*
2 * Copyright 2018 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkFontTypes_DEFINED
9#define SkFontTypes_DEFINED
10
11enum class SkTextEncoding {
12 kUTF8, //!< uses bytes to represent UTF-8 or ASCII
13 kUTF16, //!< uses two byte words to represent most of Unicode
14 kUTF32, //!< uses four byte words to represent all of Unicode
15 kGlyphID, //!< uses two byte words to represent glyph indices
16};
17
18enum class SkFontHinting {
19 kNone, //!< glyph outlines unchanged
20 kSlight, //!< minimal modification to improve constrast
21 kNormal, //!< glyph outlines modified to improve constrast
22 kFull, //!< modifies glyph outlines for maximum constrast
23};
24
25#endif
SkFontHinting
Definition: SkFontTypes.h:18
@ kSlight
minimal modification to improve constrast
SkTextEncoding
Definition: SkFontTypes.h:11
@ kUTF8
uses bytes to represent UTF-8 or ASCII
@ kUTF16
uses two byte words to represent most of Unicode
@ kUTF32
uses four byte words to represent all of Unicode
@ kGlyphID
uses two byte words to represent glyph indices
@ kNormal
Default priority level.
Definition: embedder.h:262