8#ifndef SkStrikeSpec_DEFINED
9#define SkStrikeSpec_DEFINED
36class StrikeForGPUCacheInterface;
68 static std::tuple<SkStrikeSpec, SkScalar>
MakePath(
123 inline static constexpr int kTypicalGlyphCount = 20;
139 inline static constexpr int kTypicalGlyphCount = 20;
153 inline static constexpr int kTypicalGlyphCount = 20;
168 inline static constexpr int kTypicalGlyphCount = 64;
SkDescriptor * getDesc() const
~SkBulkGlyphMetricsAndDrawables()
const SkGlyph * glyph(SkGlyphID glyphID)
const SkDescriptor & descriptor() const
const SkGlyph * glyph(SkPackedGlyphID packedID)
~SkBulkGlyphMetricsAndImages()
~SkBulkGlyphMetricsAndPaths()
void findIntercepts(const SkScalar bounds[2], SkScalar scale, SkScalar xPos, const SkGlyph *glyph, SkScalar *array, int *count)
const SkGlyph * glyph(SkGlyphID glyphID)
const SkGlyph * glyph(SkGlyphID glyphID)
sk_sp< sktext::StrikeForGPU > findOrCreateScopedStrike(sktext::StrikeForGPUCacheInterface *cache) const
static SkStrikeSpec MakeTransformMask(const SkFont &font, const SkPaint &paint, const SkSurfaceProps &surfaceProps, SkScalerContextFlags scalerContextFlags, const SkMatrix &deviceMatrix)
SkStrikeSpec & operator=(const SkStrikeSpec &)=delete
static SkStrikeSpec MakeMask(const SkFont &font, const SkPaint &paint, const SkSurfaceProps &surfaceProps, SkScalerContextFlags scalerContextFlags, const SkMatrix &deviceMatrix)
static SkStrikeSpec MakeWithNoDevice(const SkFont &font, const SkPaint *paint=nullptr)
const SkTypeface & typeface() const
SkStrikeSpec(SkStrikeSpec &&)
static bool ShouldDrawAsPath(const SkPaint &paint, const SkFont &font, const SkMatrix &matrix)
std::unique_ptr< SkScalerContext > createScalerContext() const
SkStrikeSpec & operator=(SkStrikeSpec &&)=delete
sk_sp< SkStrike > findOrCreateStrike() const
static std::tuple< SkStrikeSpec, SkScalar > MakeCanonicalized(const SkFont &font, const SkPaint *paint=nullptr)
static SkStrikeSpec MakePDFVector(const SkTypeface &typeface, int *size)
static std::tuple< SkStrikeSpec, SkScalar > MakePath(const SkFont &font, const SkPaint &paint, const SkSurfaceProps &surfaceProps, SkScalerContextFlags scalerContextFlags)
SkStrikeSpec(const SkStrikeSpec &)
const SkDescriptor & descriptor() const
std::unique_ptr< SkScalerContext > createScalerContext(const SkScalerContextEffects &, const SkDescriptor *) const