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
 IECanvas Brush BackColor and BackTransparency
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Oct 07 2015 :  10:50:25  Show Profile  Reply
What does TIECanvas.Brush.BackColor and TIECanvas.Brush.BackTransparency do? How do these values affect TIECanvas drawing?

I can not find any explanation or any info about this.

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

xequte

39066 Posts

Posted - Oct 08 2015 :  15:59:11  Show Profile  Reply
Hi Bill

Both BackColor and BackTransparency are used to set the backColor property of the GDI+ HatchBrush:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms535446%28v=vs.85%29.aspx

BackColor is the color, and BackTransparency is the alpha value.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 08 2015 :  16:16:14  Show Profile  Reply
It would have been a lot easier to understand if BackColor was called HatchColor and if BackTransparency was called HatchTransparency. I'd recommend you change his sometime. Hatch is easier to understand because "Hatch" is easier than "Back" which actually has no meaning.

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

xequte

39066 Posts

Posted - Oct 08 2015 :  20:10:32  Show Profile  Reply
Hi Bill

Perhaps, but I think we are stuck with it now

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