Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Transparent Photon background: (2 Items)
   
Transparent Photon background  
Is there any way to have Photon's background either not be drawn, or drawn as "transparent"?

I'm trying to render some graphics on layer 0, and have some Photon objects overlay them, with Photon on layer 1.  The 
problem is, Photon draws a background which totally obscures what's rendered on layer 0.

Thanks!
RE: Transparent Photon background  
I have not done this approach lately, but try these suggestions.  You could set the fill colour to Pg_TRANSPARENT, 
unless you are using a PtOSContainer.  If you are using a PtOSContainer, set the fill colour to something not common, 
then set the chroma on the layer to that value, and no draw.

-----Original Message-----
From: Jimmy Townsend [mailto:community-noreply@qnx.com] 
Sent: July-18-12 3:22 PM
To: photon-graphics
Subject: Transparent Photon background

Is there any way to have Photon's background either not be drawn, or drawn as "transparent"?

I'm trying to render some graphics on layer 0, and have some Photon objects overlay them, with Photon on layer 1.  The 
problem is, Photon draws a background which totally obscures what's rendered on layer 0.

Thanks!



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post94334
To cancel your subscription to this discussion, please e-mail photon-graphics-unsubscribe@community.qnx.com