142 void setForceAutoHinting(
bool forceAutoHinting);
148 void setEmbeddedBitmaps(
bool embeddedBitmaps);
154 void setSubpixel(
bool subpixel);
163 void setLinearMetrics(
bool linearMetrics);
169 void setEmbolden(
bool embolden);
176 void setBaselineSnap(
bool baselineSnap);
185 void setEdging(Edging edging);
210 return fTypeface.get();
324 return this->textToGlyphs(
text, byteLength, encoding,
nullptr, 0);
338 return this->measureText(
text, byteLength, encoding,
bounds,
nullptr);
449 const SkPaint* =
nullptr)
const;
470 void (*glyphPathProc)(
const SkPath* pathOrNull,
const SkMatrix& mx,
void* ctx),
505 kForceAutoHinting_PrivFlag = 1 << 0,
506 kEmbeddedBitmaps_PrivFlag = 1 << 1,
507 kSubpixel_PrivFlag = 1 << 2,
508 kLinearMetrics_PrivFlag = 1 << 3,
509 kEmbolden_PrivFlag = 1 << 4,
510 kBaselineSnap_PrivFlag = 1 << 5,
513 static constexpr unsigned kAllFlags = kForceAutoHinting_PrivFlag
514 | kEmbeddedBitmaps_PrivFlag
516 | kLinearMetrics_PrivFlag
518 | kBaselineSnap_PrivFlag;
531 bool hasSomeAntiAliasing()
const;
static constexpr bool SkToBool(const T &x)
static void dump(const float m[20], SkYUVColorSpace cs, bool rgb2yuv)
bool isBaselineSnap() const
void getBounds(const SkGlyphID glyphs[], int count, SkRect bounds[], const SkPaint *paint) const
bool operator!=(const SkFont &font) const
SkTypeface * getTypeface() const
void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const
SkScalar measureText(const void *text, size_t byteLength, SkTextEncoding encoding, SkRect *bounds=nullptr) const
void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], std::nullptr_t) const
SkFontHinting getHinting() const
bool isForceAutoHinting() const
bool isLinearMetrics() const
bool isEmbeddedBitmaps() const
int countText(const void *text, size_t byteLength, SkTextEncoding encoding) const
SkScalar getScaleX() const
SkScalar getSkewX() const
sk_sp< SkTypeface > refTypeface() const
SkScalar getSpacing() const
std::true_type sk_is_trivially_relocatable
void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[]) const
Optional< SkRect > bounds
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
bool operator==(C p1, const scoped_nsprotocol< C > &p2)
font
Font Metadata and Metrics.