[squeak-dev] What is the task of NullEncoder?

Tobias Pape Das.Linux at gmx.de
Sun Oct 1 10:57:03 UTC 2017


> On 01.10.2017, at 11:38, Marcel Weiher <marcel.weiher at gmail.com> wrote:
> 
> 
> 
>> On Sep 29, 2017, at 19:09 , Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
>> 
>> The canvas other than PostscriptCanvas don't use the target, they are sinks.
> 
> That’s only technically true, and really an oversight.  All canvases write their output somewhere, be it a bitmap, native display surface or other ‘DisplayMedium'.  A canvas is a filter for converting morphs to this target ‘DisplayMedium’.
> 
> And having filter-canvases would be really cool :-)

You mean like ColorMappingCanvas, AlphaBlendingCanvas, and ShadowDrawingCanvas?
(Which, by your account, should not have an own myCanvas but rather reuse target…)?

Best regards
	-Tobias

> 
> Marcel
> 
> 



More information about the Squeak-dev mailing list