Skip to content

Call C draw_lines directly from _draw_dashed_line#2

Open
radarhere wants to merge 3 commits intoKrishnachaitanyakc:add-dashed-line-supportfrom
radarhere:add-dashed-line-support
Open

Call C draw_lines directly from _draw_dashed_line#2
radarhere wants to merge 3 commits intoKrishnachaitanyakc:add-dashed-line-supportfrom
radarhere:add-dashed-line-support

Conversation

@radarhere
Copy link
Copy Markdown

@radarhere radarhere commented May 2, 2026

Suggestions for python-pillow#9490

I found that doubling the pattern length doesn't have any effect - dash is only accessed with modulo indexes.

current_dash_length = dash[dash_index % len(dash)]

@radarhere radarhere force-pushed the add-dashed-line-support branch from 8c82767 to 83d0d56 Compare May 7, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant