[..] La fonction [shq] drawVehicleshq

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