-
Notifications
You must be signed in to change notification settings - Fork 546
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
Rotate + draw scaled bitmap clips bad in 1.68 #719
Comments
Does it help to do this, after rotating the canvas but before drawing the bmp?:
|
thanks, but no dice - tried before and after the rotation (sry for the late reply!) |
I'm terribly sorry!! - twas me! 😳 had a |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When using rotate on canvas the draw bitmap - only when/with scaling - clips to un-rotated bound. This is new in 1.68 vs 1.60. I use this to handle images with EncodedOrigin.
Code
Expected Behavior
Same as 1.60 - the bitmap is rotate and drawn.
Actual Behavior
The bitmap is clipped at height 20px as it is the width of the new canvas - as in it clips as it would/should BEFORE the rotate/translate.
So the clipping happens as if it did not rotate - there the image lay down and the height is the width.
Basic Information
Original file - use this:
Sample of rotated - clipped at the bottom:
The text was updated successfully, but these errors were encountered: