Go to the source code of this file.
|
| REG_FIDDLE (gamma_mask_filter, 256, 256, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
gamma_mask_filter |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file gamma_mask_filter.cpp.
4 {
6 const char text[] =
"Skia";
8
11 paint.setAntiAlias(
true);
12
14
17
20}
21}
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
font
Font Metadata and Metrics.