-
Notifications
You must be signed in to change notification settings - Fork 11
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
Path is now transformable. #9
base: master
Are you sure you want to change the base?
Conversation
now can transform paths, subpaths and directions
Sorry for the calculating mistakes. |
I've created another gem |
@mrmeszaros pretty much, yeah - haven't updated the lib in ages, don't have any plans to do in the future. |
@awebneck I have no experience in doing releases to |
Hi @awebneck ,
I've made paths, sub paths and directions able to be transformed now.
For example
More examples can be found in
spec/transformable_spec.rb
.Some directions are considered "not fully transformable". e.g.
HorizontalTo
directions are not directly rotatable. An error will be raised if they are being rotated or skewed.So two methods ,
to_transformable_commands!
andfully_transformable?
are added to paths and sub_paths, to help them get transformed.However, this is transparent to users. Users only need to call
transform
,scale
or other methods. Savage turns paths fully transformable before applying transforms.Could you take a review at this?