Deactivate right padding.
This commit is contained in:
parent
b015d91331
commit
f2234dea1f
|
@ -559,7 +559,7 @@ Image* rotate(Image const& src, double angle)
|
|||
int const left_padding = padding_table[y];
|
||||
int const left_border = 0;
|
||||
int const right_padding = 0;
|
||||
int const right_border = padding_table[height - 1 - y];
|
||||
int const right_border = 0;
|
||||
int const core_pixels = width - left_padding - left_border - right_border - right_padding;
|
||||
|
||||
// Left padding
|
||||
|
@ -585,7 +585,7 @@ Image* rotate(Image const& src, double angle)
|
|||
if (src_rotated_point.x < 0 || src_rotated_point.y < 0
|
||||
|| src_rotated_point.x >= src_qwidth || src_rotated_point.y >= src_qheight)
|
||||
{
|
||||
LOG << "Out-of-bounds point!" << endl;
|
||||
// LOG << "Out-of-bounds point!" << endl;
|
||||
// cout << " x: " << x << endl;
|
||||
// cout << " src_rotated_point: " << src_rotated_point << endl;
|
||||
// cout << " qdx: " << qdx << endl;
|
||||
|
|
Loading…
Reference in a new issue