void PathSpiral(Painter& sw) { sw.Path("M153 334 C153 334 151 334 151 334 C151 339 153 344 156 344 C164 344 171 339 171 334 " "C171 322 164 314 156 314 C142 314 131 322 131 334 C131 350 142 364 156 364 " "C175 364 191 350 191 334 C191 311 175 294 156 294 C131 294 111 311 111 334 " "C111 361 131 384 156 384 C186 384 211 361 211 334 C211 300 186 274 156 274 ") .Stroke(2, Red()); }
void Stroke(Painter& sw) { const char *txt = "GRM"; Font fnt = Arial(100).Bold(); Size tsz = GetTextSize(txt, fnt); sw.Scale(3, 3); sw.Text(100, 100, txt, fnt) .Stroke(10, 100, 100, Blue(), 100 + tsz.cx, 100, LtRed()) .Stroke(0.25, White()); sw.Path("M 100 100 L 200 100 L 210 90 L 220 40 L 230 90 L 240 100 L 400 100") .Stroke(24, Blue()); }