Prev Previous Post   Next Post Next

Geometric wide lines

Posted: 01-16-2007, 08:11 PM

have a problem developing printer driver with geometric wide line
support.
After I set GCAPS_GEOMETRICWIDE flag in flGraphicsCaps field of DEVINF

structure, the GDI starts calling DrvStrokePath function of my drive
for
wide lines as expected. But when I enumerate paths from PATHOBJ, I se
that
they constitute outlines of wide lines and not original wide lin
curves
which I need. Can anyone tell me if I can get original wide line curve
and
not their GDI realization?
Essentiually, it means that if a graphic printing application uses cod
such
as this to draw a wide line:
hpen = ExtCreatePen (PS_GEOMETRIC | PS_SOLID | PS_ENDCAP_ROUND |
PS_JOIN_BEVEL, 20, &penBrush, 0, NULL);
SelectObject (hdc, hpen);
MoveToEx(hdc,100,50,NULL);
LineTo(hdc,100,300);

how I can get original line coordinates (100,50), (100,300)? I foun
that I
can get line width, cap and join from LINEATTRS structure but not the
original coordinates

--
artysh
-----------------------------------------------------------------------
artysht's Profile: http://forums.techarena.in/member.php?userid=2093
View this thread: http://forums.techarena.in/showthread.php?t=66130

http://forums.techarena.i

Reply With Quote

Responses to "Geometric wide lines"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
After password, only grey geometric forms wpcoe Windows Vista Install & Setup 11 08-07-2006 04:38 AM
command prompt from 50 lines to 25 lines rtdos Windows XP Games 1 09-13-2003 07:53 PM
command prompt from 50 lines to 25 lines rtdos Windows XP Video 0 09-13-2003 07:28 PM
command prompt from 50 lines to 25 lines rtdos Windows XP Device Drivers 0 09-13-2003 07:28 PM
command prompt from 50 lines to 25 lines rtdos Customize Windows XP 0 09-13-2003 07:28 PM