-
-
Notifications
You must be signed in to change notification settings - Fork 134
common: share stroke dasher #3581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
common: share stroke dasher #3581
Conversation
MOve stroke dasher to the common code space to create an abillity to use it on the cross API renderers (wg and gl) stroke dasher is a path-to-path operation, same as path trim, so can be placed to the common space
|
Additionally, perhaps we can also replace the software ver. with this as well. |
thats a good point and good question. |
As I can see dashers for gl and sw is mostly similar. The difference is in output format. |
@SergeyLebedkin Please consider this interface:
|
whats do you mean consider? this dasher uses all settings for dashing |
@SergeyLebedkin I suggest defining a common internal interface ( |
Move stroke dasher to the common code space to create an abillity to use it on the cross API renderers (wg and gl).
Stroke dasher is a path-to-path operation, same as path trim, so can be placed to the common space