Flutter Engine
The Flutter Engine
third_party
skia
src
pdf
SkPDFMakeCIDGlyphWidthsArray.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 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
#ifndef SkPDFMakeCIDGlyphWidthsArray_DEFINED
8
#define SkPDFMakeCIDGlyphWidthsArray_DEFINED
9
10
#include <cstdint>
11
#include <memory>
12
13
class
SkPDFArray
;
14
class
SkPDFGlyphUse
;
15
class
SkTypeface
;
16
17
/* PDF 32000-1:2008, page 270: "The array's elements have a variable
18
format that can specify individual widths for consecutive CIDs or
19
one width for a range of CIDs". */
20
std::unique_ptr<SkPDFArray>
SkPDFMakeCIDGlyphWidthsArray
(
const
SkTypeface
& typeface,
21
const
SkPDFGlyphUse
& subset,
22
int32_t* defaultAdvance);
23
24
#endif
// SkPDFMakeCIDGlyphWidthsArray_DEFINED
SkPDFMakeCIDGlyphWidthsArray
std::unique_ptr< SkPDFArray > SkPDFMakeCIDGlyphWidthsArray(const SkTypeface &typeface, const SkPDFGlyphUse &subset, int32_t *defaultAdvance)
Definition:
SkPDFMakeCIDGlyphWidthsArray.cpp:62
SkPDFArray
Definition:
SkDocument_PDF_None.cpp:12
SkPDFGlyphUse
Definition:
SkPDFGlyphUse.h:9
SkTypeface
Definition:
SkTypeface.h:52
Generated on Sun Jun 23 2024 21:56:30 for Flutter Engine by
1.9.4