Gaussian DropShadow

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

stOrM!
Posts: 1
Joined: Mon Sep 04, 2006 11:16 am

Gaussian DropShadow

Post 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!
User avatar
xnview
Author of XnView
Posts: 44461
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Gaussian DropShadow

Post 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
Pierre.
kurka666
Posts: 47
Joined: Thu Mar 10, 2005 11:41 am

Post 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