Re: drop shadow




On Jul 26, 2008, at 1:27 AM, Abhijit Menon-Sen wrote:

Hi.

At 2008-05-07 22:06:01 +0200, lars raeder dk wrote:

this is probably the dummest question one can ask but
I was not figure out to find the option to enable
shadows on shapes. [...]

Ah, but the About picture is a fake:) There is no such option at the
moment, but a lot of people would applaud whoever were to implement it.

I need drop shadows too, and although I'm not really familiar with Dia
or GTK, I would like to at least try to implement them, if anyone has
advice about how best to proceed.

Take a look at how highlighting is done, you may be able to adapt the method to drop shadows, i.e. have a round of drawing drop shadows for those objects that have them before the round of drawing the objects themselves. However, some exporters may have a different idea of how drop shadows are best represented. Since highlighting isn't exported, the highlight algorithm doesn't have that problem.


Could it be done with a Python plugin, perhaps?

I'll leave that for Hans to answer.

-Lars



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]