4 May 16:05
Re: Rasterized artists have wrong transform
On Wed, Apr 29, 2009 at 4:17 PM, Eric Firing <efiring@...> wrote: > Jae-Joon Lee wrote: >> >> On Sun, Apr 26, 2009 at 11:31 PM, Eric Bruning <eric.bruning@...> >> wrote: >>> >>> I like that this solution doesn't litter every call to draw with >>> rasterize checks. But it means that the rasterization support had >>> better be robust, since Artist authors might not know they're >>> interacting with the rasterization code. It has the downside of being >>> implicit rather than explicit. >> >> Eric, >> I think we'd better stick to your decorator solution. >> >> Anyhow, I thought you had a svn commit permission but it seems not. Do >> you (and other dwevelopers) mind if I commit this patch to the trunk? > > It would be especially good for John and Mike to have a look. > > As a matter of style, I suggest a name change. "@hook_before_after_draw" is > too generic, and brings to mind discussions a long time ago about possibly > adding a general hook mechanism; even before rasterization, and before > decorators were available, there were thoughts that we might need this. > (Now I don't remember what the motivation was, but I think it had to do > with coordinating different elements of a plot.) In any case, the decorator > is actually very specific to rasterization, so maybe call it > "@with_rasterization" or "@allow_rasterization". > > I am very anxious to see rasterization support in place; let's just be sure(Continue reading)
RSS Feed