inverse dash line with Win32 API - TechRepublic
General discussion
October 6, 2000 at 04:51 AM
lastorck

inverse dash line with Win32 API

by lastorck . Updated 24 years, 7 months ago

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 discussion is locked

All Comments