I have a problem developing printer driver with geometric wide lines support.
After I set GCAPS_GEOMETRICWIDE flag in flGraphicsCaps field of DEVINFO
structure, the GDI starts calling DrvStrokePath function of my driver for
wide lines as expected. But when I enumerate paths from PATHOBJ, I see that
they constitute outlines of wide lines and not original wide line curves
which I need. Can anyone tell me if I can get original wide line curves and
not their GDI realization?
Essentiually, it means that if a graphic printing application uses code 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 found that I
can get line width, cap and join from LINEATTRS structure but not the
original coordinates.