[..] La fonction [shq] drawTankshq

Code
int drawtank_shq_xpl(){ scltracefa(§, ƒ, ); scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0)); shq::beginDrawing(); // <Initializes the 🦅 local "connection" shq::newFigure("drawtank_shq"); // <Creates a new 🦅 figure; double rot=0, length=1; double cx=length, cy=length; shq::drawTank(cx, cy, rot, length, "black[vert]"); cx=-length; cy= length; rot = 90; shq::drawTank(cx, cy, rot, length, "black[carotte]"); cx=-length; cy=-length; rot = 180; shq::drawTank(cx, cy, rot, length, "black[bleu]"); cx= length; cy=-length; rot = 270; shq::drawTank(cx, cy, rot, length, "black[chaire]"); shq::axisAuto(); shq::axisEqual("drawtank_shq"); shq::saveImage("./srt/drawtank_shq.svg"); shq::endDrawing(); // <Closes the 🦅 "connection" scltracefe(§, ƒ, ); return 0; } /* ƒ décorée par 🔬 le 03-04-2025 21:03:26 */
Sortie
[>..\xpl\src\sclgraf.shq.xpl.cpp.drawtank_shq_xpl] scl-25.04 (gwin64) : 03-04-2025 21:03:26 [<..\xpl\src\sclgraf.shq.xpl.cpp.drawtank_shq_xpl]