41 double baseline = fSize.
height() / 2;
61 fTranslate.
set(sin(t / 3000) - t * fSize.
width() * 0.7 / maxt, sin(t / 999) / t);
63 fRotate = sin(t / 734);
@ kUTF8
uses bytes to represent UTF-8 or ASCII
void drawSimpleText(const void *text, size_t byteLength, SkTextEncoding encoding, SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void concat(const SkMatrix &matrix)
SkMatrix & postTranslate(SkScalar dx, SkScalar dy)
SkMatrix & postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & setRotate(SkScalar degrees, SkScalar px, SkScalar py)
Optional< SkRect > bounds
static float PingPong(double time, float period, float phase, float ends, float mid)
font
Font Metadata and Metrics.
SIN Vec< N, float > sqrt(const Vec< N, float > &x)
void set(float x, float y)