> > In an alternate reality, Pivot could end up being a 20mb download with 90% > of that being Decorator implementations. >
Well, sure. My only point was that if Pivot does supply an implementation, it might as well supply one that works in more cases. I would argue that Pivot *need not* provide any, but does provide a single > version which can be used as a starting point or reference for those who > wish to create their own implementations (of a grayscale decorator, or any > decorator for that matter). > I'm wondering if there is (or could be) some kind of repository for user contributions of little decorators, transitions, and other components that others could draw on. It would be particularly useful for decorators, which require some non-trivial graphics expertise. The same 'issue' might apply to other decorators. > That had occurred to me, but without trying them out, I'd never know, and at the moment I only have use for the GrayscaleDecorator :-). Back in WPF-land I remember struggling a lot to make a pixel shader work properly with transparency, until I learned the little undocumented tidbit that WPF uses "premultiplied alpha". I may at some point try to figure out how to do that one in Pivot. (It was kind of the opposite of GrayscaleDecorator -- it took as input a grey scale image and a color, and output an image where each pixel was the given color at a brightness that matched the input. If someone's already written such a thing, I'd love to see it.) Anyway, I submitted my mod to GrayscaleDecorator as https://issues.apache.org/jira/browse/PIVOT-723
