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