<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Mohit,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Thank you for your response.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Yes, the code run in a loop for all
      players. I've tried without :</div>
    <div class="moz-cite-prefix"><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);</font></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">But without success, only player 2 is
      present in the image ... really i don't understand</div>
    <div class="moz-cite-prefix">because the two player are displayed on
      screen with the printf function ....</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Mistake .....</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Eric<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Yes, Le 05/01/2022 à 16:45, Mohit
      Sindhwani a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:9f49a2ed-451b-2d7e-701b-40c5850589b5@onghu.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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"> <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> </blockquote>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title>signature</title>
      <p style="text-align: center;"> <a href="https://Live-Media.fr"
          target="_blank"><img
            src="https://live-media.fr/logos/logo-244x85-streaming.png"
            alt="Live Media - Solutions de Streaming" title="Live Media
            - Solutions de Streaming" longdesc="https://Live-Media.fr"></a></p>
      <div style="text-align: center;"><span style="color: #7e0219;">Découvrez
          nos solutions de Streaming <b><a
              href="https://live-media.fr/lm2s.html">LM2S</a></b>
          destinées aux organisations sportives<br>
          ainsi que nos solutions de streaming embarquées pour <b><a
              href="https://live-media.fr/axis.html">caméras AXIS</a></b>
          <br>
          <img src="https://live-media.fr/logos/axis_logo_200.jpg"
            alt="Live Media - Solutions de Streaming"> <br>
          <a class="moz-txt-link-abbreviated" href="mailto:Contact@Live-Media.fr">Contact@Live-Media.fr</a><br>
          LIVE MEDIA - <a class="moz-txt-link-freetext" href="http://Live-Media.fr">http://Live-Media.fr</a><br>
          Solutions de Streaming <br>
          0636072198</span></div>
      <br>
      <div style="text-align: left;"><br>
      </div>
    </div>
  </body>
</html>