Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfpf_skiapathfont.h
Go to the documentation of this file.
1// Copyright 2016 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXGE_ANDROID_CFPF_SKIAPATHFONT_H_
8#define CORE_FXGE_ANDROID_CFPF_SKIAPATHFONT_H_
9
10#include <stdint.h>
11
12#include "core/fxcrt/bytestring.h"
13
15 public:
16 CFPF_SkiaPathFont(const ByteString& path,
17 const ByteString& family,
18 uint32_t dwStyle,
19 int32_t iFaceIndex,
20 uint32_t dwCharsets,
21 int32_t iGlyphNum);
23
24 const char* path() const { return m_bsPath.c_str(); }
25 const char* family() const { return m_bsFamily.c_str(); }
26 uint32_t style() const { return m_dwStyle; }
27 int32_t face_index() const { return m_iFaceIndex; }
28 uint32_t charsets() const { return m_dwCharsets; }
29 int32_t glyph_num() const { return m_iGlyphNum; }
30
31 private:
32 const ByteString m_bsPath;
33 const ByteString m_bsFamily;
34 const uint32_t m_dwStyle;
35 const int32_t m_iFaceIndex;
36 const uint32_t m_dwCharsets;
37 const int32_t m_iGlyphNum;
38};
39
40#endif // CORE_FXGE_ANDROID_CFPF_SKIAPATHFONT_H_
FX_Charset GetCharset() const
bool IsValid() const
ByteString GetFamilyName()
CFPF_SkiaFont(CFPF_SkiaFontMgr *pFontMgr, const CFPF_SkiaPathFont *pFont, FX_Charset uCharset)
uint32_t GetFontData(uint32_t dwTable, pdfium::span< uint8_t > pBuffer)
const char * family() const
uint32_t style() const
int32_t glyph_num() const
const char * path() const
CFPF_SkiaPathFont(const ByteString &path, const ByteString &family, uint32_t dwStyle, int32_t iFaceIndex, uint32_t dwCharsets, int32_t iGlyphNum)
int32_t face_index() const
uint32_t charsets() const
FX_Charset
Definition fx_codepage.h:70