Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to draw a transparent line ?

1 view
Skip to first unread message

Jack

unread,
Jul 21, 2003, 11:46:21 PM7/21/03
to
Hi,all:
Here I need to draw a line which cannot cover the background information.
And I cannot do this by createpen(), is there other methods to do it ?
Thanks a lot.

Jack.


Tim Roberts

unread,
Jul 24, 2003, 1:43:01 AM7/24/03
to
"Jack" <jg...@toptrend.com.cn> wrote:
>
> Here I need to draw a line which cannot cover the background information.
> And I cannot do this by createpen(), is there other methods to do it ?

There must be something I'm missing here. Isn't "doing nothing at all"
exactly the same as "drawing a transparent line"?

If you want a line you can draw and then undraw without impacting the
background, just use a solid pen, but use SetROP2(dc, R2_XORPEN);.
--
- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

0 new messages