Re: Transparency and line painting
"Luc Le Blanc" a écrit dans le message de news: 188...@palm-dev-forum... > Regis St-Gelais wrote: > >> WinDrawOperation maybe ?? > > I tried winOverlay, and it makes no difference. I would have to be > able to draw in transparent color over map features other than the > white or black background. I fear to have to write my own > WinPaintLine checking every pixel underneath... > > It's been some time since I looked at these functions but I think that you need to use the WinDraw familly of functions (WinDrawLine, ... ) and not the WinPaint familly when you set the Draw mode using WinSetDrawMode. Let me know if you still can't figure it out and I will digg in my code. I know that I used WinSetDrawMode with winOverlay some where in it. -- Regis St-Gelais www.laubrass.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Transparency and line painting
Regis St-Gelais wrote: > WinDrawOperation maybe ?? I tried winOverlay, and it makes no difference. I would have to be able to draw in transparent color over map features other than the white or black background. I fear to have to write my own WinPaintLine checking every pixel underneath... Luc Le Blanc > Luc Le Blanc a écrit dans le message de news: > 188...@palm-dev-forum... >> I display map features over a user-selected white or black >> background. I sometimes have to do some filling that can happen >> to overlap already drawn features (by filling triangles with >> WinPaintLine.) Is there a way to avoid painting over already >> drawn features by only allowing this painting over the >> background color? >> I read about transparency, but it seems to apply only to bitmaps, >> and it's not clear how to use it. Alas, my PalmOS Bible is of no >> help for this one. >> >> >> Luc Le Blanc >> http://www.speleo.qc.ca/Auriga -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Transparency and line painting
"Luc Le Blanc" a écrit dans le message de news: 188...@palm-dev-forum... >I display map features over a user-selected white or black > background. I sometimes have to do some filling that can happen > to overlap already drawn features (by filling triangles with > WinPaintLine.) Is there a way to avoid painting over already drawn > features by only allowing this painting over the background color? > I read about transparency, but it seems to apply only to bitmaps, > and it's not clear how to use it. Alas, my PalmOS Bible is of no > help for this one. > > > Luc Le Blanc > http://www.speleo.qc.ca/Auriga > WinDrawOperation maybe ?? -- Regis St-Gelais www.laubrass.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Transparency and line painting
I display map features over a user-selected white or black background. I sometimes have to do some filling that can happen to overlap already drawn features (by filling triangles with WinPaintLine.) Is there a way to avoid painting over already drawn features by only allowing this painting over the background color? I read about transparency, but it seems to apply only to bitmaps, and it's not clear how to use it. Alas, my PalmOS Bible is of no help for this one. Luc Le Blanc http://www.speleo.qc.ca/Auriga -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
