blob: 7cf1aec3b131fc33908bf17e18f5890364f190b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef SkTypeface_cairo_DEFINED
#define SkTypeface_cairo_DEFINED
#include "include/core/SkTypeface.h"
#include "include/core/SkSurfaceProps.h"
struct FT_FaceRec_;
typedef FT_FaceRec_* FT_Face;
SK_API extern void SkInitCairoFT(bool fontHintingEnabled);
SK_API extern SkTypeface* SkCreateTypefaceFromCairoFTFont(
FT_Face face = nullptr, void* faceContext = nullptr,
SkPixelGeometry pixelGeometry = kUnknown_SkPixelGeometry,
uint8_t lcdFilter = 0);
#endif
|