38 const char text[] =
"Hamburgefons";
69 inline static constexpr int kWidth = 200;
70 inline static constexpr int kHeight = 200;
77DEF_GM(
return new TextBlobGeometryChange;)
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kUnknown_SkPixelGeometry
void drawRect(const SkRect &rect, const SkPaint &paint)
void clear(SkColor color)
void drawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint)
@ kSubpixelAntiAlias
glyph positioned in pixel using transparency
void setColor(SkColor color)
GM(SkColor backgroundColor=SK_ColorWHITE)
SkString getName() const override
SkISize getISize() override
void onDraw(SkCanvas *canvas) override
sk_sp< SkBlender > blender SkRect rect
font
Font Metadata and Metrics.
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr SkISize Make(int32_t w, int32_t h)
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)