<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Hilaire,</p>
<p>In a recent bunch of updates I removed support for translucent
backgrounds in the regular (whole pixel) Vector Engine for
performance. But it is still available in the slower subpixel
code. I've just added a new Canvas creation method to make this
more convenient to use.</p>
<p>In your example, if you initially paint the form with any opaque
color, it works as expected:</p>
<p> | icon canvas iconExtent |<br>
iconExtent := 50 @ 50.<br>
icon := Form extent: iconExtent depth: 32.<br>
icon fillColor: Color white.<br>
" icon fillColor: Color orange."<br>
canvas := VectorCanvas onForm: icon.<br>
canvas fillColor: `Color white alpha: 0.5` do: [<br>
canvas moveTo: 0@0;<br>
lineTo: iconExtent x @0;<br>
lineTo: 0 @ iconExtent y;<br>
lineTo: 0@0].<br>
icon</p>
<p>Using the new method, you get a correct translucent icon:</p>
<p> | icon canvas iconExtent |<br>
iconExtent := 50 @ 50.<br>
icon := Form extent: iconExtent depth: 32.<br>
canvas := VectorCanvas onFormWithTranslucency: icon.<br>
canvas fillColor: `Color orange alpha: 0.5` do: [<br>
canvas moveTo: 0@0;<br>
lineTo: iconExtent x @0;<br>
lineTo: 0 @ iconExtent y;<br>
lineTo: 0@0].<br>
icon</p>
<p>I think this solves the issue.</p>
<p>Cheers,</p>
<div class="moz-cite-prefix">On 2026-09-05 5:21 PM, Hilaire
Fernandes via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:370790cc-5364-4e69-a1c4-970c3d8c3e5b@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>I observe this issue since last update. The area is not painted
as expected and there is an unsolicited black border.</p>
<p><font size="4"> | icon canvas iconExtent |<br>
iconExtent := 50 @ 50.<br>
icon := Form extent: iconExtent depth: 32.<br>
canvas := VectorCanvas onForm: icon.<br>
canvas fillColor: `Color white alpha: 0.5` do: [<br>
canvas moveTo: 0@0;<br>
lineTo: iconExtent x @0;<br>
lineTo: 0 @ iconExtent y;<br>
lineTo: 0@0].<br>
icon</font></p>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo"
moz-do-not-send="true">http://mamot.fr/@drgeo</a></pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis.st">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</body>
</html>