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
 BrushTool not painting on Mask Layer

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
yogiyang Posted - Jun 09 2018 : 10:12:49
Hello,

I seems that there is a bug in the newly implemented BrushTool.

If we convert any layer to Mask and then convert the same layer back to normal and try to paint on it. The paint tool seems to loose its bearing and paint randomly at various places.

Even if we keep the Mask Layer as it and select it and try to paint it does not work.

Please help me solve this problem as soon as possible.

I have modified the BrushTool demo to demonstrate the problem.

Please check attached project.

To test it.

Compile and run the project. Open a 24bit image. Try to paint on it. Things work as expected!

Now click on the button Add Mask Layer. Now try to paint on the image. It will paint randomly.


TIA


attach/yogiyang/201869101240_BrushTool.zip
22.25 KB


Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 10 2018 : 19:23:07
Hi Yogi

I think this is a bug in 7.5.0. I cannot reproduce in the 8.0.0 beta, which has had a lot of changes to the brush code. Please wait for that release (in a couple of weeks).

Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jun 10 2018 : 01:12:51
@Bill,
Thank for the tip but I cannot compile code after adding: ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;

I am using IE 7.5.0.

TIA


Yogi Yang
w2m Posted - Jun 09 2018 : 10:53:40
Try setting ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;

if TransparencyMode1.State = tssOff then
  ImageEnView1.BrushTool.TransparencyMode := ietmReplace
else
  ImageEnView1.BrushTool.TransparencyMode := ietmCompositing;

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development