Transparent Images

Login to reply to this topic.
Mon, 2006-02-20 09:54
Joined: 2005-03-21
Forum posts: 45
Hi All,

This question has been posted many times but still iam not able to get clear answer.

Can i use PNG image to draw a transparent image without the white background and is there any way to do this without using Mask image. If i have to use mask image is there any way to generate mask image dynamically.

Thanks,
Prabhu.

Tue, 2006-02-21 05:59
Joined: 2005-07-06
Forum posts: 53
Re: Transparent Images
   gc.SetFaded(ETrue);
   gc.SetFadingParameters(30,150);
   gc.UseBrushPattern(iBackgroundImage);
   gc.SetBrushStyle(CGraphicsContext::EPatternedBrush);
   gc.SetDrawMode(CGraphicsContext::EDrawModeOR);
       
       ..... draw ur image

   gc.DiscardBrushPattern();
   gc.SetFaded(EFalse);


try different combinations of
drawmode with and with out brushpattern
  • Login to reply to this topic.