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
 RenderToCanvasWithAlpha
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

juwo

1 Posts

Posted - Oct 13 2011 :  03:19:21  Show Profile  Reply
Hi,
I use ImageEn.IEBitmap.RenderToCanvasWithAlpha(ACanvas, p.x, p.y, w, h,0, 0, IEBitmap.Width, IEBitmap.height,intens, rfnone, ielNormal);
procedure. On screen it works perfectly with alpha channel. But on printer all alpha area is printed in black. Any suggestions are welcome.

Regards
juwo

fab

1310 Posts

Posted - Oct 13 2011 :  04:59:35  Show Profile  Reply
Hi,
try to fill the background in someway, for example drawing a white rectangle:
ACanvas.Brush.Style := bsSolid;
ACanvas.Brush.Color := clWhite;
ACanvas.FillRect(Rect(p.x, p.y, p.x+w, p.y+h));
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: