Prepares the cairo context cr to draw a line according to the
item style and canvas scale. The line width is scaled only if
the scale-line-width property is set to True. This function calls
GOffice.StyledObject.set_cairo_line().
If the item drawing used goc_group_cairo_transform(),
scale-line-width should be False to avoid scaling twice, or
GOffice.StyledObject.set_cairo_line() should be called directly instead.
Sets whether the line width needs to be scaled according to the current
canvas resolution and the item transformation. It will be ignored if the
line width is 0. Default GOffice.value is True.