Skip to content

Commit

Permalink
the lineWidth-- trick is only needed if antialias=0
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Sep 29, 2024
1 parent 9ded519 commit e8bf421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Prima/Drawable/Path.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1668,9 +1668,9 @@ C<lineEnd>, C<lineJoin>, and C<linePattern> are read from C<%OPTIONS>, or from
the attached canvas when available. Supports the C<miterLimit> option with
values from 0 to 20.
Note: if the intention is to immediately render lines, decrease lineWidth by 1
(they are 1 pixel wider because paths are built around the assumption that pixel size is 0,
which makes them scalable).
Note: if the intention is to immediately render non-antialiased lines, decrease
lineWidth by 1 (they are 1 pixel wider because paths are built around the
assumption that pixel size is 0, which makes them scalable).
=back
Expand Down

0 comments on commit e8bf421

Please sign in to comment.