ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnProc.AddInnerShadow

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege Posted - Nov 24 2011 : 16:28:24
Hello,
if I use AddInnerShadow with the attitudes see picture below.
Is the left low and the corner right above then, represented not correctly.
Why is that so?


86.72 KB

Klaus
2   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Nov 26 2011 : 04:07:03
Hello Fabrizio,
now it works fine.
tks


Klaus
fab Posted - Nov 25 2011 : 02:09:01
Hello,
this is a bug in AddInnerShadow when OffsetX or OffsetY are not 0. I just fixed it, thank you!

The fix:

- open ImageEnProc.pas
- locate _IEAddInnerShadow function
- replace this...
tmpalpha.MoveRegion(0, 0, bitmap.Width - 1, bitmap.Height - 1, offsetx, offsety, 0);
...with...
tmpalpha.MoveRegion(0, 0, tmpalpha.Width - 1, tmpalpha.Height - 1, offsetx, offsety, 0);