Skip to content

Change types for width/height to match definitions in BufferRegion #29894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions src/_backend_agg.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ class RendererAgg

virtual ~RendererAgg();

unsigned int get_width()
int get_width()
{
return width;
}

unsigned int get_height()
int get_height()
{
return height;
}
Expand Down Expand Up @@ -206,7 +206,7 @@ class RendererAgg
void restore_region(BufferRegion &reg);
void restore_region(BufferRegion &region, int xx1, int yy1, int xx2, int yy2, int x, int y);

unsigned int width, height;
int width, height;
double dpi;
size_t NUMBYTES; // the number of bytes in buffer

Expand Down
Loading