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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Chessboard background
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Oct 05 2022 :  14:44:38  Show Profile  Reply
In the Demo: \Demos\ImageEditing\FillTool\, at design-time, the BackgroundStyle = iebsChessboard (and the chessboard is visible at design-time).

1. But when I run the program (without loading an image), the chessboard is no more visible. Why? How can I show the chessboard set at design-time at run-time too?

2. Then I load an image and flood-fill an area with alpha-transparency. Why is the chessboard background not shining through the transparent area? How can I achieve this?

xequte

38608 Posts

Posted - Oct 05 2022 :  16:06:25  Show Profile  Reply
Hi

1. By default ImageEn initializes with a blank image the size of the control. You should call ImageEnView1.Blank();

2. Is ImageEnView1.EnableAlphaChannel enabled? Does the ImageEnView1.IEBitmap have an alphachannel?


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: