mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-25 17:20:24 +01:00
Clarify the documentation for cairo_set_dash
Note that dash length units are evaluated in the user space at the time of the stroke operation, (not the user space at the time of cairo_set_dash).
This commit is contained in:
parent
68b41cfd06
commit
59885c6a12
1 changed files with 7 additions and 3 deletions
10
src/cairo.c
10
src/cairo.c
|
|
@ -897,9 +897,13 @@ cairo_set_line_join (cairo_t *cr, cairo_line_join_t line_join)
|
|||
*
|
||||
* Sets the dash pattern to be used by cairo_stroke(). A dash pattern
|
||||
* is specified by @dashes, an array of positive values. Each value
|
||||
* provides the user-space length of alternate "on" and "off" portions
|
||||
* of the stroke. The @offset specifies an offset into the pattern at
|
||||
* which the stroke begins.
|
||||
* provides the length of alternate "on" and "off" portions of the
|
||||
* stroke. The @offset specifies an offset into the pattern at which
|
||||
* the stroke begins.
|
||||
*
|
||||
* Note: The length values are in user-space units as evaluated at the
|
||||
* time of stroking. This is not necessarily the same as the user
|
||||
* space at the time of cairo_set_dash().
|
||||
*
|
||||
* If @num_dashes is 0 dashing is disabled.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue