<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 2022-1-6 12:10 am, Eric Feillant
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5b823164-40bf-52cc-4e48-19d00485bf18@live-media.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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>
</blockquote>
<br>
Are you able to post the images? I think the group doesn't allow
pictures but you can try or upload some place and link it.<br>
<br>
<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>
In short, this code sets the colour to rgb(0.7, 0.3, 0.3) and then
seems to paint the whole surface in that colour. So, if you did:<br>
- paint the whole surface in a colour<br>
- draw the text for player 1<br>
- paint the whole surface in a colour [again]<br>
- draw the text for player 2<br>
<br>
But if you have removed it and you're still not seeing both texts,
something else is going on.<br>
<br>
Best Regards,<br>
Mohit.<br>
2022-1-6 | 12:16 am.<br>
<br>
<br>
<br>
</div>
</body>
</html>