Package: gsk

Function gsk:stroke-miter-limit

Lambda List

gsk:stroke-miter-limit (stroke)

Syntax

(gsk:stroke-miter-limit stroke) => limit
(setf (gsk:stroke-miter-limit stroke) limit)

Arguments

stroke -- a gsk:stroke instance
limit -- a number coerced to a float with the miter limit

Details

The gsk:stroke-miter-limit function returns the miter limit of a gsk:stroke instance. The (setf gsk:stroke-miter-limit) function sets the limit for the distance from the corner where sharp turns of joins get cut off.

The miter limit is in units of line width and must be non-negative. For joins of type :miter that exceed the miter limit, the join gets rendered as if it was of the :bevel type.

Since 4.14
 

See also

#2024-11-11