Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_backend_agg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void RendererAgg::restore_region(BufferRegion &region)

// Restore the part of the saved region with offsets
void
RendererAgg::restore_region(BufferRegion &region, int x, int y, int xx1, int yy1, int xx2, int yy2)
RendererAgg::restore_region(BufferRegion &region, int xx1, int yy1, int xx2, int yy2, int x, int y )
{
if (region.get_data() == NULL) {
throw "Cannot restore_region from NULL data";
Expand Down
2 changes: 1 addition & 1 deletion src/_backend_agg.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class RendererAgg

BufferRegion *copy_from_bbox(agg::rect_d in_rect);
void restore_region(BufferRegion &reg);
void restore_region(BufferRegion &region, int x, int y, int xx1, int yy1, int xx2, int yy2);
void restore_region(BufferRegion &region, int xx1, int yy1, int xx2, int yy2, int x, int y);

unsigned int width, height;
double dpi;
Expand Down