refers to the user space and CTM in effect at the time of the stroking operation, not the user space and CTM in effect at the time of the call to [cairo.context.Context.setLineWidth]. The simplest usage makes both of these spaces identical. That is, if there is no change to the CTM between a call to [cairo.context.Context.setLineWidth] and the stroking operation, then one can just pass user-space values to [cairo.context.Context.setLineWidth] and ignore this note.
As with the other stroke parameters, the current line width is examined by [cairo.context.Context.stroke], and [cairo.context.Context.strokeExtents], but does not have any effect during path construction.
The default line width value is 2.0.
Parameters
width | a line width |