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

Luciano Notarfrancesco luchiano at gmail.com
Mon Aug 24 01:43:31 PDT 2026


Hilaire, I don't understand the question, but I'm interested because I use
this a lot. What can be optimized here?

On Sun, Aug 23, 2026 at 4:35 PM Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> 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
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260824/0afd2c5f/attachment.htm>


More information about the Cuis-dev mailing list