VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234[5]678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 23:32:29 09/23/02 Mon
Author: Brian Lowe
Subject: Re: Drop shadow
In reply to: Todd Cary 's message, "Re: Drop shadow" on 20:24:55 09/22/02 Sun

Well, you're beyond my expertise there, although I found this via Earl Glynn's site:

<a rel=nofollow target=_blank href="http://www.cogs.susx.ac.uk/users/davidy/teachvision/vision2.html">http://www.cogs.susx.ac.uk/users/davidy/teachvision/vision2.html</a>

>I saw an example using another image library where
>Convolution is used, and I do not have enough
>background in image manipulation to know exactly what
>that is.
>
>Todd
>
>>What kind of drop shadow do you want? The easiest is
>>to put TImageScrollBox into top left of a TPanel that
>>is slightly bigger.
>>
>>Next easiest would be to put a gradient control to the
>>right and bottom of the TImageScrollBox.
>>
>>Next would be to put 2 TImages to the right and bottom
>>that contain a shadowed bitmap. Set it to transparent
>>so whatever is underneath shows through the faded
>>portion of the shadow.
>>
>>Finally, you could create a TImageScrollBox descendent
>>that has an oversized canvas and draw the 3D shadow
>>yourself. If you want to see code for drawing on a
>>TBitmap in memory, download the source for THotButton
>>at
>>
>><a rel=nofollow target=_blank href="http://www.belleson.com/sourcecode/hotbutton.html">http://www.belleson.com/sourcecode/hotbutton.html</a>
>>
>>The code in procedure THotButton.MakeHotButton(..)
>>does a very basic draw of white pixels at top and
>>left, gray pixels at bottom and right.
>>
>>Good luck,
>>
>>Brian Lowe
>>Belleson Corp
>>
>>>I would like to create a drop shadow around an image
>-
>>>give the image a 3D look. How can this be done?
>>>
>>>Many thanks.....
>>>
>>>Todd

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.