21 for (
int index = 0; index < 921; ++index) {
22 for (
int segs = 0; segs < 40; ++segs) {
36 paint.setAntiAlias(
true);
37 paint.setARGB(255,255,153,0);
39 paint.setStrokeWidth(1);
52 if ((fPlusMinus ^= 1)) {
59 canvas->
drawRect(divSim, divSimPaint);
65 bool animate(
double )
override {
return true; }
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorWHITE
#define SkScalarSin(radians)
#define SkScalarCos(radians)
void resize(SkScalar w, SkScalar h) override
bool onChar(SkUnichar uni) override
void draw(SkCanvas *canvas) override
bool animate(double) override
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
void setColor(SkColor color)
@ kStroke_Style
set to stroke geometry
SkPath & lineTo(SkScalar x, SkScalar y)
uint32_t nextRangeU(uint32_t min, uint32_t max)
void outset(float dx, float dy)
void setWH(float width, float height)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
void setLTRB(float left, float top, float right, float bottom)