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
support stroke dash offset function #1591
Comments
Great, I'm looking forward to the result. :-) |
The feature is supported also in the svg loader. @issue: thorvg#1591
The feature is supported also in the svg loader. @issue: thorvg#1591
The feature is supported also in the svg loader. @issue: thorvg#1591
The feature is supported also in the svg loader. @issue: thorvg#1591
@hermet so calling stroke(0, 255, 0) is ambiguous. |
how about -> strokeDash(dashPattern, patternCnt, offset) ? |
ok, you already pushed a patch. Reverting alpha value might be better to go for now. |
The feature is supported also in the svg loader. @issue: thorvg#1591
The feature is supported also in the svg loader. @issue: thorvg#1591
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0 + Infrastructure Repository folder structure was make it more intuitive and coherent. "thorvg/src/lib" -> "thorvg/src/common" (providing essential common functionalities used internally among the renderer and sub-modules) "thorvg/src/lib" -> "thorvg/src/renderer" (for vector drawing features) + SVG related Fix stroke regression thorvg/thorvg#1670 Support stroke dash offset function thorvg/thorvg#1591 (comment) Support Focal property in Radial Gradient thorvg/thorvg#1558
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0 + Infrastructure Repository folder structure was make it more intuitive and coherent. "thorvg/src/lib" -> "thorvg/src/common" (providing essential common functionalities used internally among the renderer and sub-modules) "thorvg/src/lib" -> "thorvg/src/renderer" (for vector drawing features) + SVG related Fix stroke regression thorvg/thorvg#1670 Support stroke dash offset function thorvg/thorvg#1591 (comment) Support Focal property in Radial Gradient thorvg/thorvg#1558
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0 + Infrastructure Repository folder structure was make it more intuitive and coherent. "thorvg/src/lib" -> "thorvg/src/common" (providing essential common functionalities used internally among the renderer and sub-modules) "thorvg/src/lib" -> "thorvg/src/renderer" (for vector drawing features) + SVG related Fix stroke regression thorvg/thorvg#1670 Support stroke dash offset function thorvg/thorvg#1591 (comment) Support Focal property in Radial Gradient thorvg/thorvg#1558
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0 + Infrastructure Repository folder structure was make it more intuitive and coherent. "thorvg/src/lib" -> "thorvg/src/common" (providing essential common functionalities used internally among the renderer and sub-modules) "thorvg/src/lib" -> "thorvg/src/renderer" (for vector drawing features) + SVG related Fix stroke regression thorvg/thorvg#1670 Support stroke dash offset function thorvg/thorvg#1591 (comment) Support Focal property in Radial Gradient thorvg/thorvg#1558
The "stroke dash offset" feature is commonly used.
The "stroke()" API might need to have an additional parameter to apply the offset in the drawing from the backend.
Result stroke(const float* dashPattern, uint32_t cnt) noexcept;
-> Result stroke(const float* dashPattern, uint32_t cnt, float offset = 0.0f) noexcept;
The text was updated successfully, but these errors were encountered: