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

Text Print using CDC::TextOut by ORing

0 views
Skip to first unread message

Kim, Seungtai

unread,
Feb 19, 2003, 12:56:42 AM2/19/03
to

I want to print the text having the background and text color to DC by
OR operation for transparent text print.

I tried them
- by CDC::SetBkMode with TRANSPARENT; but the Text's background is
disappeared(or ignored).
- by CDC::SetROP2 with R2_MERGEPEN; the this member is not operated
for the TextOut. MSDN(4, 1999) descrides that the member function has
no effect on vector device. It has effect on raster device only.

Do you have any idea or comments for this?

Thanks in advices.


S Kim


Rocky Downs [MSFT]

unread,
Feb 20, 2003, 2:30:47 PM2/20/03
to
>From: "Kim, Seungtai" <stkim@Heartmore. Com>
>Subject: Text Print using CDC::TextOut by ORing
>Date: Wed, 19 Feb 2003 14:56:42 +0900

The API BitBlt has OR, XOR, AND, and several other operations available.
--
Rocky Downs, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.

0 new messages