Page 1 of 1

Gaussian DropShadow

Posted: Mon Sep 04, 2006 11:29 am
by stOrM!
Well I hope I'm right here to ask a special question because of a feature I've seen in XNView.

As I could see the thumbnails are drawn with a really nice gaussian dropshadow.

While I'm writing a small Application currently, so I would like to know how I could implement this nice feature.

Do you use a special component to draw the thumbs with dropshadow or is it a procedure which draws the shadow?

btw.
I'm writing my Application using Delphi7 Enterprise Enviroment...

kindest regards
s!

Re: Gaussian DropShadow

Posted: Fri Oct 06, 2006 9:12 am
by xnview
stOrM! wrote:Well I hope I'm right here to ask a special question because of a feature I've seen in XNView.

As I could see the thumbnails are drawn with a really nice gaussian dropshadow.

While I'm writing a small Application currently, so I would like to know how I could implement this nice feature.

Do you use a special component to draw the thumbs with dropshadow or is it a procedure which draws the shadow?

btw.
I'm writing my Application using Delphi7 Enterprise Enviroment...

kindest regards
s!
Ok, i'll add gflDropShadow

Posted: Thu Feb 08, 2007 9:55 am
by kurka666
Hi

Does anyone have an example of how to use gflDropShadow? Prefer Delphi, but other languages ok. I have tried, but get "access violation". Is it allowed to have dst-bitmap set to NIL, like for gflRotate?

Henrik