Skip to content
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

FillSpread example is required #2124

Open
hermet opened this issue Apr 1, 2024 · 0 comments
Open

FillSpread example is required #2124

hermet opened this issue Apr 1, 2024 · 0 comments
Labels
example Sample Code
Milestone

Comments

@hermet
Copy link
Member

hermet commented Apr 1, 2024

For a showcase, FillSpread example has been missed. We need add in thorvg/examples/FillRules

/**
 * @brief Enumeration specifying how to fill the area outside the gradient bounds.
 */
enum class FillSpread
{
    Pad = 0, ///< The remaining area is filled with the closest stop color.
    Reflect, ///< The gradient pattern is reflected outside the gradient area until the expected region is filled.
    Repeat   ///< The gradient pattern is repeated continuously beyond the gradient area until the expected region is filled.
};
@hermet hermet added the example Sample Code label Apr 1, 2024
@hermet hermet added this to the 0.14 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Sample Code
Projects
Status: No status
Development

No branches or pull requests

1 participant