Sets dashed line pattern in a way similar to set_dash of cairo.
This method supports only integer values for segment lengths. The values have to be passed inside the data pointer of the list (using the guint_to_pointer conversion)
Pass null to use solid line.
dash_pattern |
list of integer values representing lengths of dashes/spaces (see cairo documentation of set_dash) |