-
Notifications
You must be signed in to change notification settings - Fork 12
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
Improve toImage* #250
Comments
Also, we may want to look into initialWidth/initialHeight handling for this, as it could solve many of our problems. |
Adding toImageNode as the initial "improved" version. Will improve documentation & testing, and will deprecate other methods so that toImageNode (or whatever its final name will be) is the one true way to create an image node from a node. |
The following are now deprecated:
Please use Tagging for dev meeting to:
|
@jonathanolson Can you say a little about what motivated this issue? |
Sounds great, should we schedule a code review and trial port before we go "all in"? I don't know what risks are involved, if any (preceding comment sounds like low risk though). |
My sims that are affected by this change:
Comon code affected:
|
Overall, mainly:
I'm happy for there to be a code review. Up to others. |
Thanks for clarifying. +1 for simplifying. Happy to address my sims. Someone else will need to address common code; I don't have time. |
I don't think I have used any of the deprecated functions and don't have the knowledge to review for potential risks. |
My sims that are affected:
Common code that I developed:
|
4/5/18 dev meeting notes: |
@jonathanolson Assign to me after you've documented the mapping between deprecated methods and usages of |
First of all, if any parameters (besides callbacks) are provided to the deprecated methods (i.e. the x/y/width/height parameters), then those should be converted into using the
I'll be available to assist in any conversion. |
@jonathanolson I addressed my sims in the above commits. All involved replacing |
Scanned the commits, they look good. |
Thanks @jonathanolson. Assigned to you to complete replacement of deprecated methods. |
I realized (when looking at porting RasterizedTextNode) that use of I'll plan to be adding that enhancement to |
Adopting |
…rt the localBounds change mentioned in #250
Added that as a feature (default true) above. I'll continue with porting to use that. |
@jbphet, I was looking into porting RasterizedTextNode for this, however it looks like it is actually using the scaled-up bounds (the label that gets rasterized) for the result. For this instance, it would be good to collaborate to determine what's going on. |
Discussed briefly with @jbphet, and I think he'll be looking into working on RasterizedTextNode. |
@jonathanolson - I looked at |
Adding myself as an assignee to refactor usages of .toImage() M&S. |
I didn't do anything this week on this in favor of other high priorities. |
Same this week. Will probably get things fit in over the next week. |
M&S is no longer using .toImage(). Instead .rasterized() is being used. |
After the a11y-tree work I'll plan to have more done on this. |
I'll respond to @jbphet's comment above. |
Unassigning from dev-meeting until @jonathanolson is ready. |
Should ideally not apply root transform or visibility (like 0.2's internal handling), and we should have an option to apply a certain resolution scale.
The text was updated successfully, but these errors were encountered: