0
Curveto with <path>
How to draw curve with C in d of path?
4 Respuestas
0
C x1 y1 cx cy x2 y2
+ 1
Roel Thanks. Though not so clear and I still have to goggle a little bit.
At last, I used
d="M 50 70 C 70 90, 90 90, 110 70"
for a smile in a svg canvas of 160x160px.
Begin with move to start coordinate, C, then two controls points, then end point.
+ 1
try to have the x1 and y1 the same as the M 50 70
M 50 70 C 50 70 75 90 100 70
would be a nice smile
btw the cx = where the most deep point is, so 50 70 100(!) 90 100 70 would be a triangle, since the cx is the same as the x2
+ 1
https://code.sololearn.com/WpS4104kM7K2/?ref=app
this are some practises for svg