[..] La fonction [shq] drawboxshq

Code
 int drawbox_shq_xpl(){
   scltracefa(§, ƒ, );
   scltracefc("scl-%s (%s) : %s\n\n", sclver(), sclsec(), temps_char(0));

   shq::beginDrawing();           // <Initializes the 🦅 "connection"
   shq::newFigure("drawbox_shq"); // <Creates a new 🦅 figure

   int tirn=40, tiri;

   double x_lb, x_ub, y_lb, y_ub, cd;

   scltracefc("rande=%d\n", ns);

   shq::newGroup("Bagad Ruz","[darkRed]red");
   shq::newGroup("Bagad Gwer","green[darkGreen]");
   shq::newGroup("Bagad Glaz","[darkBlue]blue");

   for(tiri=0;tiri<tirn;tiri++){


     x_lb=(double)rand(); x_ub=(double)rand();
     if(x_ub<x_lb){ cd=x_ub; x_ub=x_lb; x_lb=cd; }

     y_lb=(double)rand(); y_ub=(double)rand();
     if(y_ub<y_lb){ cd=y_ub; y_ub=y_lb; y_lb=cd; }

     if(tiri%3==0){
       shq::drawBox(x_lb, x_ub, y_lb, y_ub,
           shq::Params("group","Bagad Ruz"));
     }
     else if(tiri%3==1){
       shq::drawBox(x_lb, x_ub, y_lb, y_ub,
           shq::Params("group","Bagad Gwer"));
     }
     else {
       shq::drawBox(x_lb, x_ub, y_lb, y_ub,
           shq::Params("group","Bagad Glaz"));
     }

   }

   shq::axisAuto("drawbox_shq");
   shq::axisEqual("drawbox_shq");
   shq::axisLabels("[m]", "[m]", "drawbox_shq");
   shq::saveImage("./srt/drawbox_shq.svg");

   shq::endDrawing(); // <Closes the 🦅 "connection"


   scltracefe(§, ƒ, );
   return 0;
 }
 /* ƒ décorée par 🔬 le 01-04-2024 16:25:38 */
Sortie
        [>..\xpl\src\sclgraf.shq.xpl.cpp.drawbox_shq_xpl]
          scl-24.04 (gwin64) : 01-04-2024 16:25:38

          rande=32767
        [<..\xpl\src\sclgraf.shq.xpl.cpp.drawbox_shq_xpl]