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

Hilaire Fernandes hfern at free.fr
Sun Aug 23 02:35:28 PDT 2026


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260823/6c3e9da3/attachment.htm>


More information about the Cuis-dev mailing list