<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Eric,<br>
      <br>
      <br>
      On 2022-1-5 9:51 pm, Eric Feillant wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:33312aea-eb6b-0d37-ad75-f8520f27065f@live-media.fr">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <font face="Lucida Sans Unicode">Cairo code start like this :</font><br>
      <br>
      <font face="Lucida Sans Unicode">// START CAIRO HEAD<br>
      </font><br>
      <font face="Lucida Sans Unicode">cairo_surface_t *surface;<br>
                cairo_t *cr;<br>
        <br>
                surface =
        cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 600, 400);<br>
                cr = cairo_create(surface);<br>
                cairo_set_source_rgb(cr, 0.7, 0.3, 0.2);<br>
                cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);<br>
                cairo_paint(cr);<br>
        <br>
                cairo_select_font_face(cr, "Sans",
        CAIRO_FONT_SLANT_NORMAL,CAIRO_FONT_WEIGHT_NORMAL);<br>
                cairo_set_font_size(cr, 20.0);<br>
                cairo_set_source_rgb(cr, 1.0, 1.0, 0.1);</font><br>
      <br>
      <font face="Lucida Sans Unicode">// END CAIRO HEAD</font><br>
    </blockquote>
    <br>
    Does the code run in a loop for all players? Or does the Cairo head
    run for each of the players? If it runs for all players, then, it's
    possible that this code is overwriting the older drawing, maybe...<br>
    <br>
    <font face="Lucida Sans Unicode">        cairo_set_source_rgb(cr,
      0.7, 0.3, 0.2);<br>
              cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);<br>
              cairo_paint(cr);<br>
      <br>
      Best regards,<br>
      Mohit.<br>
      <br>
    </font>
  </body>
</html>