6 const char text[] =
"Skia";
11 paint.setAntiAlias(
true);
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
sk_sp< SkTypeface > matchFamilyStyle(const char familyName[], const SkFontStyle &) const
static SkMaskFilter * CreateGamma(SkScalar gamma)
sk_sp< SkFontMgr > fontMgr
REG_FIDDLE(gamma_mask_filter, 256, 256, false, 0)
font
Font Metadata and Metrics.