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
 ImageEnPainter Ellipse Brush
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Aug 03 2012 :  10:49:43  Show Profile  Reply
Hello,
I have used ImageenPainter, and the brush as ellipse.

34.72 KB,

I however always look the ellipse at white rectangle., sees picture,
How can I alter to see only the Ellips with it is, without white rectangle?
many greetings

Klaus
www.klausdoege.de

w2m

USA
1990 Posts

Posted - Aug 03 2012 :  13:08:15  Show Profile  Reply
You can set the brush operation to "AND" and set "Antialias The Brush" to true and get a better ellipse, but iegdiplus does a much better job with brushes.

My EBook has a chapter about this and includes a simplegdiplus demo that shows how to do it.

William Miller
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Aug 03 2012 :  14:52:03  Show Profile  Reply
Unfortunately, all examples don't run under Delphi 7?
Mistakes: [Mistakes] IEWin7FileDialogs.pas(28,: undefined marker: ' IFileDialogEvents'


Klaus
www.klausdoege.de
Go to Top of Page

w2m

USA
1990 Posts

Posted - Aug 03 2012 :  16:58:31  Show Profile  Reply
Replace the IEWin7FileDialogs with a TOpenPictureDialog or an ImageEnOpenFileDialog. remove the IEWin7FileDialogs from uses.

All the demos were developed with Delphi 2010.

William Miller
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: