Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CDC::WidenPath 

Redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the device context.


BOOL WidenPath( );

Nonzero if the function is successful; otherwise 0.

This function is successful only if the current pen is a geometric pen created by the second version of CreatePen member function, or if the pen is created with the first version of CreatePen and has a width, in device units, of greater than 1. The device context must contain a closed path. Any Bzier curves in the path are converted to sequences of straight lines approximating the widened curves. As such, no Bzier curves remain in the path after WidenPath is called.

Community Additions

ADD
Show:
© 2015 Microsoft