[Cuis-dev] Is optimizing needed when drawing a Form?

Juan Vuletich juan at cuis.st
Mon Aug 24 08:11:13 PDT 2026


Hi Hilaire,

clipping to damage areas is done 'automatically' by the framework, no 
need to do it yourself. Is this what you are referring to?

HTH,

On 2026-08-23 6:35 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> Do I need to optimize that kind method ? Or is it done by the Canvas? 
> It seems so when reading the code.
>
> drawOn: canvas
>     viewport := owner viewport.
>
>     " clipped to visible area "
>     canvas image: self form at: viewport origin sourceRect: viewport.
>
>     " no clipping handling "
>     canvas image: self form at: 0 at 0
>
> Thanks
>
> Hilaire
>
> -- 
> http://mamot.fr/@drgeo
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260824/8ee9e68b/attachment.htm>


More information about the Cuis-dev mailing list