DrvStrokePath (Compact 7)
This function strokes a path when called by GDI.
BOOL DrvStrokePath( SURFOBJ* pso, PATHOBJ* ppo, CLIPOBJ* pco, XFORMOBJ* pxo, BRUSHOBJ* pbo, POINTL* pptlBrushOrg, LINEATTRS* plineattrs, MIX mix );
[in] Surface on which to draw.
[in] Pointer to a PATHOBJ structure. GDI PATHOBJ_XXX functions enumerate the lines, Bezier curves, and other data that constitutes the path. This indicates what is to be drawn.
[in] Pointer to a CLIPOBJ structure. GDI CLIPOBJ_XXX functions are provided to enumerate the clip region as a set of rectangles. Optionally, all the lines in the path may be enumerated preclipped by CLIPOBJ. This means that drivers can have all their line clipping calculations done for them.
[in] Pointer to a XFORMOBJ structure. This is needed only when a geometric wide line is to be drawn. It specifies the transform that maps world coordinates to device coordinates. This is needed because the path is provided in device coordinates but a geometric wide line is actually widened in world coordinates.
Query the XFORMOBJ structure to find the transform.
[in] Brush to use when drawing the path.
[in] Pointer to the brush origin used to align the brush pattern on the device.
[in] Pointer to a LINEATTRS structure. The elStyleState member of this structure must be updated as part of this function if the line is styled. The ptlLastPel member must be updated if a single pixel width cosmetic line is being drawn.
[in] MIX structure that defines the foreground and background raster operations to use for the brush.