Flutter Engine
The Flutter Engine
|
#include "src/core/SkFontDescriptor.h"
#include "include/core/SkData.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTFitsIn.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkStreamPriv.h"
#include <cstddef>
#include <cstdint>
Go to the source code of this file.
Enumerations | |
enum | { kInvalid = 0x00 , kFontFamilyName = 0x01 , kFullName = 0x04 , kPostscriptName = 0x06 , kWeight = 0x10 , kWidth = 0x11 , kSlant = 0x12 , kItalic = 0x13 , kPaletteIndex = 0xF8 , kPaletteEntryOverrides = 0xF9 , kFontVariation = 0xFA , kFactoryId = 0xFC , kFontIndex = 0xFD , kSentinel = 0xFF } |
Functions | |
static bool | read_string (SkStream *stream, SkString *string) |
static bool | write_string (SkWStream *stream, const SkString &string, uint32_t id) |
static bool | write_uint (SkWStream *stream, size_t n, uint32_t id) |
static bool | write_scalar (SkWStream *stream, SkScalar n, uint32_t id) |
static size_t | read_id (SkStream *stream) |
Variables | |
static constexpr SkScalar | usWidths [9] |
static constexpr SkScalar | width_for_usWidth [0x10] |
anonymous enum |
Enumerator | |
---|---|
kInvalid | |
kFontFamilyName | |
kFullName | |
kPostscriptName | |
kWeight | |
kWidth | |
kSlant | |
kItalic | |
kPaletteIndex | |
kPaletteEntryOverrides | |
kFontVariation | |
kFactoryId | |
kFontIndex | |
kSentinel |
Definition at line 20 of file SkFontDescriptor.cpp.
|
static |
Definition at line 75 of file SkFontDescriptor.cpp.
Definition at line 45 of file SkFontDescriptor.cpp.
Definition at line 70 of file SkFontDescriptor.cpp.
Definition at line 58 of file SkFontDescriptor.cpp.
|
static |
Definition at line 65 of file SkFontDescriptor.cpp.
|
staticconstexpr |
Definition at line 81 of file SkFontDescriptor.cpp.
|
staticconstexpr |
Definition at line 84 of file SkFontDescriptor.cpp.