Project

General

Profile

Actions

Bug #469

closed

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

Added by David Baldwin over 4 years ago. Updated about 4 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
Actions #1

Updated by Brian Flanagan over 4 years ago

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

Updated by Laurant Weill over 4 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)
Actions #3

Updated by David Baldwin about 4 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.

Actions #4

Updated by Francois Lionet about 4 years ago

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

Was fixed a week ago...

Actions #5

Updated by David Baldwin about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF