Project

General

Profile

Bug #469

Bob Scale not working correctly for rotated image. (also see #436)

Added by David Baldwin over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Target version:
Start date:
09/06/2020
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

When scaling a rotated image, the scaling is done on the normal x and y axis, not on the rotated axis as you'd expect, which then skews the image.


Files

renderer.js (27.7 KB) renderer.js David Baldwin, 10/11/2020 10:33 AM
#1

Updated by Brian Flanagan over 3 years ago

  • Priority changed from Normal to High
  • Estimated time set to 1:00 h
#2

Updated by Laurant Weill over 3 years ago

  • Subject changed from Bob Scale not working correctly for rotated image. to Bob Scale not working correctly for rotated image. (also see #436)
#3

Updated by David Baldwin over 3 years ago

I've managed to fix this in the renderer by utilising the skew elements of setTransform to carry out the rotation instead of rotate. It seems to work with the examples I've tried it on by there are still issues with the Skew calculations which were there before. I've attached the modified renderer.js file. The only lines I've changed are 501-508.

#4

Updated by Francois Lionet over 3 years ago

  • Status changed from New to Resolved
  • Target version set to Beta 1

Was fixed a week ago...

#5

Updated by David Baldwin over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF