-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add Ellipse interior/outline image support #211
Conversation
Closing this while I add texture coordinate matrix utility to AbstractShape. |
I've updated this pull request to include the refactored |
This looks good. One note: there's a method naming convention for computing transforms: computeTexCoordTransform For the general utility method in AbstractShape, how about computeRepeatingTexCoordTransform? |
I missed the convention, sorry. What about decoupling "repeating" from the texture transform? Would a "screen constant" or "stipple" mention be better? Potential Options:
What do you think? |
To me, those names indicate how the method works. The best names indicate what the subject is trying to accomplish. |
Ok, I've updated the name and pushed 👍 |
* Add texture capabilities * Add Ellipse texture fill to Shapes Dash and Fill tutorial * Refactor disparate texture coordinate matrix computation to AbstractShape
Description of the Change
This change implements interior/outline image support. Implementation borrows heavily from Path/Polygon.
Why Should This Be In Core?
Unifies interior/outline API with Path/Polygon and provides additional capability for the Ellipse shape.
Applicable Issues
Closes #210
Compliments #18