Skip to content

Simplify BitmapRender method#70

Open
johanvts wants to merge 1 commit intomxgmn:mainfrom
johanvts:main
Open

Simplify BitmapRender method#70
johanvts wants to merge 1 commit intomxgmn:mainfrom
johanvts:main

Conversation

@johanvts
Copy link
Copy Markdown

int TOTALWIDTH = WIDTH
int DX = (TOTALWIDTH - WIDTH) / 2;
Now DX and DY = 0?
=> int SX = DX + x * pixelsize + dx; == int SX = x * pixelsize + dx;
etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant