General discussion

Locked

inverse dash line with Win32 API

By lastorck ·
do anyone know how can i draw DASH line with inverse mode with Win32 API?

i tried to do it like so:

SetROP2(hdc, R2_NOT);
HPEN pen = CreatePen(PS_DASH, 1, RGB(...));
SelectObject(hdc, pen);
LineTo(...);

//VC++5.0 , NT(WS)4.0(RU,SP4)

but it looks like solid!
if there isn't a direct way in API to do it, maybe anyone have ready-made code (function's source) for that kind of line

sorry lame english
thanx a lot

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

inverse dash line with Win32 API

by James_Randy In reply to inverse dash line with Wi ...

No, sorry, but I can't help you.

Collapse -

inverse dash line with Win32 API

by lastorck In reply to inverse dash line with Wi ...

The question was auto-closed by TechRepublic

Collapse -

inverse dash line with Win32 API

by Conrad In reply to inverse dash line with Wi ...

"The truth will set you free, but first it will **** you off."

-- Saab Lofton

Collapse -

inverse dash line with Win32 API

by lastorck In reply to inverse dash line with Wi ...

The question was auto-closed by TechRepublic

Collapse -

inverse dash line with Win32 API

by lastorck In reply to inverse dash line with Wi ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums