Skip to content

Commit

Permalink
Restore reference on x/y dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
attah committed Aug 16, 2024
1 parent ae64b42 commit 84b195a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pdf2printable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
void copy_raster_buffer(Bytestream& bmpBts, uint32_t* data, const PrintParameters& params);

void fixup_scale(double& xScale, double& yScale, double& xOffset, double& yOffset, bool& rotate,
double wIn, double hIn, const PrintParameters& params);
double& wIn, double& hIn, const PrintParameters& params);

inline cairo_status_t bytestream_writer(void* bts, const unsigned char* data, unsigned int length)
{
Expand Down Expand Up @@ -294,7 +294,7 @@ void copy_raster_buffer(Bytestream& bmpBts, uint32_t* data, const PrintParameter


void fixup_scale(double& xScale, double& yScale, double& xOffset, double& yOffset, bool& rotate,
double wIn, double hIn, const PrintParameters& params)
double& wIn, double& hIn, const PrintParameters& params)
{
// If the page is landscape, contunue as if it is not, but remember to rotate
if(wIn > hIn)
Expand Down

0 comments on commit 84b195a

Please sign in to comment.