Skip to content

Commit 1b1dae6

Browse files
authored
Update cpen-class.md
Updated per feedback from @TylerMSFT
1 parent e0f8379 commit 1b1dae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/mfc/reference/cpen-class.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The second version of the `CPen` constructor specifies a combination of type, st
125125
*`nWidth`*\
126126
Specifies the width of the pen.
127127

128-
- For the first version of the constructor, if this value is 0, the width in device units is always 1 pixel, regardless of the mapping mode.
128+
- For the first version of the constructor, if this value is 0, the width in device units is always 1 pixel, except that the width will not be affected by scale-transform operations that are in effect for the Graphics object that the pen is used for, resulting in the width to be always 1 pixel.
129129

130130
- For the second version of the constructor, if *`nPenStyle`* is `PS_GEOMETRIC`, the width is given in logical units. If *`nPenStyle`* is `PS_COSMETIC`, the width must be set to 1.
131131

0 commit comments

Comments
 (0)