From: Jae-Joon L. <lee...@gm...> - 2008-12-05 00:22:04
|
John, I just committed changes to SVN that reflect most of your comments. I didn't add the optional transformation support yet though. On Tue, Dec 2, 2008 at 7:45 AM, John Hunter <jd...@gm...> wrote: > On Mon, Dec 1, 2008 at 6:00 PM, Jae-Joon Lee <lee...@gm...> wrote: > >> As implementing an optional transformation should be trivial, I'll >> just go ahead an work on it. But it seems not clear to me how to >> approach this without any specific use case given. > > In another thread yesterday, someone was asking about a general way to > create a shadow effect. It occurred to me that we could probably use > the offsetbox for this. One could create an offset box for a given > artist that draws the artist offset from the original by 5 points or 5 > pixels, in a gray color that creates the appearance of a shadow. > Would this be a reasonable use case to test the offset transformation > in either points or pixels? > > JDH > I kind of prefer to use transforms.offset_copy() for simple offsets. But it may better to use some kind of container (e.g., offsetbox) if you have multiple artists. I'll think about it. Regards, -JJ |